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! ๐น