How Latrine Bot works
Every cycle (default ~60 seconds) the bot runs the same pipeline on your Pump.fun token.
-
Check creator vault — If accumulated creator rewards are below
minClaimSol, the bot waits (IDLE). - Claim fees — Transfers creator rewards to your dev wallet (the wallet that created the token on Pump.fun).
- Resolve tier — Reads market cap from DexScreener and picks the minimum holder balance for this MC tier.
- Snapshot holders — Helius DAS returns all token accounts; dev wallet and program accounts are excluded.
- Filter eligibility — Anti-whale cap, hold-cycle counter, and minimum balance rules are applied.
- Estimate fees — Reserves SOL for ATA creation and transaction fees before buyback.
- Buyback — Spends remaining claimed SOL to buy your token (bonding curve or PumpSwap).
- Airdrop — Distributes 100% of bought tokens proportionally to eligible holders in batched SPL transfers.
Modes
- SIM — Synthetic cycles, no network. Rehearse settings and UI.
- DRY — Real transactions simulated only (
simulateTransaction). - LIVE — Full on-chain claim, buyback, and airdrop.