Anti-Sniper: leave the sniper holding, not you.
Arm the guard on your launch, and the instant any wallet that is not yours or whitelisted buys off your curve, PumpFun Bundler dumps every one of your bundle wallets. The sniper who tried to front-run you is left holding the bag.
Snipers make money by buying your launch a moment before your real community and dumping into the pump. The Anti-Sniper Rug Guard flips that trade on them. It watches your launch curve, and if a wallet you did not authorize buys in, it instantly sells your entire bundle. The sniper bought near the top of a curve that just collapsed, and you are already out.
The core idea
Your launch is supposed to be filled by your own wallets in the opening window. Any other wallet buying off the curve in that window is, by definition, a sniper trying to get in front of you. The guard treats that as the trigger to escape: it sells everything you hold before the sniper can, so the position you exit is worth more than the one they just entered.
The whitelist
The guard only fires on strangers. Two sets of wallets are always safe:
Your bundle wallets
Every wallet in the bundle you launched with is on the whitelist automatically. Their buys are the launch filling as intended, so they never trip the guard.
Your declared allow-list
Any extra addresses you add before launch: a partner, a marketing wallet, a friendly buyer. They are treated exactly like your own wallets and are safe to buy the curve.
Anyone else buying off the curve in the guard window is a sniper, and trips the dump. The zero address and the curve contract itself are always ignored.
How it detects a sniper
Detection is on chain and unambiguous. When the bonding curve sells tokens to a buyer, it emits a standard ERC-20 Transfer event from the curve to that buyer. The guard scans the token's Transfer logs since the launch block for any transfer from the curve to an address that is not on the whitelist. Each one is a third party buy off the curve, that is, a sniper.
Pre-approve, then dump
Speed is everything, so the guard removes the slow step from the hot path. During the safe opening window, before any sniper appears, it pre-approves the curve to sell each of your wallets. When a sniper is detected, the dump is then a single fast sell per wallet with no approval to wait on. The dump sells with the minimum out set to zero: escaping the position matters more than squeezing the last bit of price.
Before and after
The whole point is who is left holding when the music stops.
The guard window
The guard watches for a set window after your launch, then stands down. If the window elapses with no unauthorized buyer, your launch stayed clean and nothing is dumped. If a sniper appears at any point inside the window, the dump fires immediately.
It arms with your launch
Turn the guard on when you launch and it arms automatically the moment your token is live: it pre-approves your wallets, watches the curve, and reports whether the window stayed clean or the bundle was dumped. You get a note either way.
Step by step
-
Toggle it on at launch
Enable the anti-sniper guard on your launch, and optionally add extra addresses to the whitelist alongside your bundle wallets.
-
Launch, and the guard arms
The moment the token is live, the guard notes the launch block, builds the whitelist from your wallets plus your allow-list, and pre-approves every wallet during the safe window.
-
It watches the curve
It scans Transfer events from the curve. Buys by your whitelist are ignored. It keeps watching for the length of the guard window.
-
A stranger buys, everything dumps
The first non-whitelisted buyer trips it. Every wallet that still holds tokens sells at once, min out zero. You get a report of who tripped it and how many sells fired.
Pairs with bundling
The guard is strongest when your bundle already filled the first block, so a sniper cannot be early. Read Bundling to win the opening block, and Robinhood / EVM for the curve the guard watches on a PONS launch.