A high-speed Bonk.fun Sniper Bot powered by Helius Laserstream (gRPC) for real-time Solana transaction streaming and instant token sniping.
Built for ultra-low-latency detection and automated buys/sells on Bonk.fun token launches.
- ⚡ Real-time transaction stream via Helius Laserstream (gRPC)
- 🎯 Auto-detects early Bonk.fun token launches (bundle-based mints)
- 🤖 Fully automated snipe execution
- 🪙 Customizable buy/sell logic & anti-rug filters
- 🔒 Secure private key usage (no key exposure)
- 📊 Transaction metrics & logs
- 🧩 Modular architecture for extending new heuristics
- Rust — Core bot logic & performance
- Helius Laserstream gRPC — Live transaction feeds
- Solana SDK — Transaction signing & simulation
- Yellowstone gRPC (Optional for alternative stream)
- Config.toml — Easy environment configuration
git clone https://github.com/vvizardev/bonkfun-sniper-grpc.git
cd bonkfun-sniper-grpc
Create a .env
file in the root directory:
HELIUS_API_KEY=your_helius_api_key
PRIVATE_KEY=your_private_key_base58
RPC_URL=https://api.mainnet-beta.solana.com
cargo build --release
cargo run --release
- Connects to Helius Laserstream (gRPC)
- Monitors Solana transaction bundles related to Bonk.fun
- Detects launch conditions based on heuristics (liquidity added, bundle triggers, etc.)
- Executes buy/sell transactions instantly.
You can modify config.toml
for parameters:
[snipe]
profit_target = 1.5 # 50% profit target
stop_loss = 0.7 # Stop loss threshold
bundle_detect_threshold = 3 # Wallets in bundle before sniping
[helius]
grpc_url = "grpc.helius.xyz"
- Bundle Pattern Detection: Wallets funding each other & buying same token.
- Liquidity Add Detection: New LP pools in a bundle.
- Blacklist & Honeypot Check (Optional extension).
- Bonk.fun ID detection (for Bonk.fun tokens specifically).
This bot interacts with live financial markets. Use at your own risk. The authors are not responsible for any financial losses. Ensure compliance with local regulations.
- Add multi-chain support (Sonic, Neon)
- UI Dashboard (WebSocket-based)
- Rug detection heuristics
- Multi-wallet load balancing
MIT License