Welcome to the Solana Copy Trading Bot! This bot enables real-time tracking of target wallets (whales) on the Solana blockchain and seamlessly replicates their trades. 🌟
✅ Real-time WebSocket Streaming – Connects to Solana's blockchain using Helius Geyser RPC WebSocket to monitor transactions in real-time.
✅ Ultra-Fast Transaction Filtering – Efficiently filters transactions within ~0.3ms for minimal latency.
✅ Automated Copy Trading – Uses the Pump.fun program ID and Raydium module to mirror target transactions.
- Source Transaction: View on Solscan
- Copied Transaction: View on Solscan
- Target Wallet:
GXAtmWucJEQxuL8PtpP13atoFi78eM6c9Cuw9fK9W4na
- Copy Wallet:
HqbQwVM2fhdYJXqFhBE68zX6mLqCWqEqdgrtf2ePmjRz
Follow these steps to set up and run the bot:
- Rust & Cargo (Version 1.84.0 or later)
- Solana Wallet with access to Helius Geyser RPC API
1️⃣ Clone the Repository:
git clone https://github.com/BitFancy/Copy-Trading-Bot-Rust
2️⃣ Navigate & Build:
cd copy-trading-bot
cargo build
3️⃣ Configure Environment Variables:
Update the ENDPOINT
and WSS_ENDPOINT
in your config:
const ENDPOINT = "https://mainnet.helius-rpc.com/?api-key=xxx";
const WSS_ENDPOINT = "wss://atlas-mainnet.helius-rpc.com/?api-key=xxx";
const TARGET = "YOUR_API_TOKEN";
4️⃣ Run the Bot:
cargo run
If you have any questions, feel free to reach out via:
📩 Telegram: @bitfancy
🎮 Discord: [@bitbanana717]
🌹 You're always welcome! 🌹