anshuman008/zero-block-sniper — reverse-engineered prompt

Reverse engineered prompt

GitHub

Build me a Rust based Solana PumpFun sniper bot and reusable library like this repo describes.

I want it to listen to real time PumpFun activity, especially new token creation, trades, migrations, and bonding curve updates. It should connect through Yellowstone gRPC, and optionally use Jito ShredStream and Helius LaserStream if those URLs are provided. The bot should be able to detect new tokens fast, ignore duplicates, apply simple filters like tracked creator wallets, then build and submit a buy transaction without doing extra RPC account lookups.

Please include a safe dry run mode, environment based config, examples for streaming all events, trades only, new tokens, and a simple sniper example. For live sniping, it should support SOL amount, slippage, rate limiting, blockhash refresh, and Jito tip settings. Submit through Jito across multiple regions when configured.

Make it easy to run with cargo, include a sample env file, and make the logs clear enough that I can see what tokens are found, what would be bought, and what actually got submitted.

Want more depth? Deep Reverse