Welcome to the ** Copy trading Bot **! This bot watches for target wallet (whale) on the Solana blockchain in real-time, copy trading like target trading. 🌟
If you have any question or something, feel free to reach out me anytime via telegram, discord or twitter.
Telegram: @Leo
- Source Transaction: https://solscan.io/tx/2nNc1DsGxGoYWdweZhKQqnngfEjJqDA4zxnHar2S9bsAYP2csbLRgMpUmy68xuG1RaUGV9xb9k7dGdXcjgcmtJUh
- Copied Transaction: https://solscan.io/tx/n2qrk4Xg3gfBBci6CXGKFqcTC8695sgNyzvacPHVaNkiwjWecwvY5WdNKgtgJhoLJfug6QkXQuaZeB5hVazW6ev
- Target Wallet: GXAtmWucJEQxuL8PtpP13atoFi78eM6c9Cuw9fK9W4na
- Copy Wallet: HqbQwVM2fhdYJXqFhBE68zX6mLqCWqEqdgrtf2ePmjRz
- 🛰️ Real-time WebSocket Streaming: Connects to Solana's blockchain through Helius geyser RPC WebSocket and listens for new transactions, specifically Tx that target wallet is singer
- 🔍 Filter Transactions: Filters transactions as soon as possible and fast. maybe it takes about 0.3ms totally
- 📊 ** Make Copy transaction **: Using pumpfun program id and raydium module you can make copy trasaction.
Follow these steps to get your Copy trading Bot up and running!
- Cargo version 1.84.0 installed on your system
- A Solana wallet with access to the Helius Geyser RPC API
-
Clone the Repository:
git clone https://github.com/solagent99/Copy-Trading-Bot-Rust
-
Install Dependencies:
Navigate to the project directory and run the following command:
cd copy-trading-bot cargo build
-
Configure ENV:
Replace the API token in the
ENDPOINT
variable:const ENDPOINT = "https://mainnet.helius-rpc.com"; const WSS_ENDPOINT = "wss://atlas-mainnet.helius-rpc.com"; const TARGET = "YOUR_API_TOKEN";
-
Run the Bot:
Start the bot by running:
cargo run