Files
sol-trade-sdk/examples/bonk_sniper_trading/README.md
T
2026-07-12 14:35:58 +08:00

661 B

Bonk Sniper Trading

中文

Uses solana-streamer-sdk ShredStream events to detect Bonk launch activity and execute one buy/sell flow.

This is a live-transaction template. Replace use_your_shred_stream_url_here, set PRIVATE_KEY, RPC, target filters, amounts, slippage, and fees before running.

cargo run --package bonk_sniper_trading

Shreds may not contain every log-derived field. Only trade when every required account, reserve, token-program, and fee field is present and current; otherwise use a correctness-first RPC fallback. Prewarm the trading client and blockhash cache before subscription in a production bot.