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
- 🛰️ 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