https://github.com/solagent99/copy-trading-bot-rust
๐ฅSolana Copy trading Bot: New Solana Copy Trading Bot written by rust to improve speed and quality - Whales Targeting Solana Copy Trading Bot, Solana Copy trading Bot, Solana Copy trading Bot, Solana Copy trading Bot, Solana Copy trading Bot, Solana Copy trading Bot, Solana Copy trading Bot, Solana Copy trading Bot, Solana Copy trading Bot
https://github.com/solagent99/copy-trading-bot-rust
bot copytrading rust solana
Last synced: about 1 year ago
JSON representation
๐ฅSolana Copy trading Bot: New Solana Copy Trading Bot written by rust to improve speed and quality - Whales Targeting Solana Copy Trading Bot, Solana Copy trading Bot, Solana Copy trading Bot, Solana Copy trading Bot, Solana Copy trading Bot, Solana Copy trading Bot, Solana Copy trading Bot, Solana Copy trading Bot, Solana Copy trading Bot
- Host: GitHub
- URL: https://github.com/solagent99/copy-trading-bot-rust
- Owner: solagent99
- Created: 2025-02-07T15:59:56.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-02-24T12:07:36.000Z (over 1 year ago)
- Last Synced: 2025-03-28T18:12:53.428Z (about 1 year ago)
- Topics: bot, copytrading, rust, solana
- Language: Rust
- Homepage:
- Size: 18.6 KB
- Stars: 81
- Watchers: 7
- Forks: 77
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ๐ **Copy trading Bot using Rust**
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. ๐
# ๐ฌ Contact Me
If you have any question or something, feel free to reach out me anytime via telegram, discord or twitter.
#### ๐น You're always welcome ๐น
Telegram: [@Leo](https://t.me/shinnyleo0912)
### ๐ฏ Example
- Source Transaction: https://solscan.io/tx/2nNc1DsGxGoYWdweZhKQqnngfEjJqDA4zxnHar2S9bsAYP2csbLRgMpUmy68xuG1RaUGV9xb9k7dGdXcjgcmtJUh
- Copied Transaction: https://solscan.io/tx/n2qrk4Xg3gfBBci6CXGKFqcTC8695sgNyzvacPHVaNkiwjWecwvY5WdNKgtgJhoLJfug6QkXQuaZeB5hVazW6ev
- Target Wallet: GXAtmWucJEQxuL8PtpP13atoFi78eM6c9Cuw9fK9W4na
- Copy Wallet: HqbQwVM2fhdYJXqFhBE68zX6mLqCWqEqdgrtf2ePmjRz
### ๐ฏ **Key Features**
- ๐ฐ๏ธ **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.
---
## ๐ **Getting Started**
Follow these steps to get your **Copy trading Bot** up and running!
### Prerequisites
- Cargo version 1.84.0 installed on your system
- A Solana wallet with access to the Helius Geyser RPC API
### Installation
1. **Clone the Repository**:
```bash
git clone https://github.com/solagent99/Copy-Trading-Bot-Rust
```
2. **Install Dependencies**:
Navigate to the project directory and run the following command:
```bash
cd copy-trading-bot
cargo build
```
3. **Configure ENV**:
Replace the API token in the `ENDPOINT` variable:
```ts
const ENDPOINT = "https://mainnet.helius-rpc.com";
const WSS_ENDPOINT = "wss://atlas-mainnet.helius-rpc.com";
const TARGET = "YOUR_API_TOKEN";
```
4. **Run the Bot**:
Start the bot by running:
```bash
cargo run
```
---