A high-performance copy trading bot for Bonkfun built in Rust, designed to automatically mirror trades from selected wallets or traders.
- 🚀 Real-time trade mirroring from target addresses
- ⚡ Low-latency execution powered by Rust
- 🔒 Secure private key management
- 📊 Configurable trade parameters (slippage, gas fees, etc.)
- 📈 Multi-wallet support
- 🔄 Automated token approval
- 📝 Transaction logging
- Rust 1.70 or higher
- Solana CLI (if interacting with Solana blockchain)
- Node.js (for optional frontend components)
- Clone the repository:
git clone https://github.com/solship/bonkfun-Rust-CopyTrading-Bot.git cd bonkfun-Rust-CopyTrading-Bot - Complete config of .env
Simply rename the .env.example to .env and fill all configs.
PRIVATE_KEY= # your wallet priv_key RPC_HTTP=https://solana-rpc.publicnode.com #your yellowstone rpc api-key RPC_WSS=wss://solana-rpc.publicnode.com #your yellowstone wss api-key YELLOWSTONE_GRPC_HTTP=https://solana-yellowstone-grpc.publicnode.com:443 #your yellowstone grpc api-key SLIPPAGE=10 JITO_BLOCK_ENGINE_URL=https://ny.mainnet.block-engine.jito.wtf JITO_TIP_VALUE=0.0001
- Install cargo package.
cargo build
- Run
cargo run