How Latrine Bot works

Every cycle (default ~60 seconds) the bot runs the same pipeline on your Pump.fun token.

  1. Check creator vault — If accumulated creator rewards are below minClaimSol, the bot waits (IDLE).
  2. Claim fees — Transfers creator rewards to your dev wallet (the wallet that created the token on Pump.fun).
  3. Resolve tier — Reads market cap from DexScreener and picks the minimum holder balance for this MC tier.
  4. Snapshot holders — Helius DAS returns all token accounts; dev wallet and program accounts are excluded.
  5. Filter eligibility — Anti-whale cap, hold-cycle counter, and minimum balance rules are applied.
  6. Estimate fees — Reserves SOL for ATA creation and transaction fees before buyback.
  7. Buyback — Spends remaining claimed SOL to buy your token (bonding curve or PumpSwap).
  8. Airdrop — Distributes 100% of bought tokens proportionally to eligible holders in batched SPL transfers.

Modes

Getting started →