An open API service indexing awesome lists of open source software.

https://github.com/piosol7/solana_copy_trading_bot

🌟Solana Copy Trading Bot: Targeting Whale wallets with great profits 100%, 🎯 copying whale wallet's trading transactions
https://github.com/piosol7/solana_copy_trading_bot

block-speed copy-trading-bot solana tradingstrategies

Last synced: about 1 year ago
JSON representation

🌟Solana Copy Trading Bot: Targeting Whale wallets with great profits 100%, 🎯 copying whale wallet's trading transactions

Awesome Lists containing this project

README

          

# Solana 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.

## 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 signer
- **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.

## Example
- Source Transaction: https://solscan.io/tx/2nNc1DsGxGoYWdweZhKQqnngfEjJqDA4zxnHar2S9bsAYP2csbLRgMpUmy68xuG1RaUGV9xb9k7dGdXcjgcmtJUh
- Copied Transaction: https://solscan.io/tx/n2qrk4Xg3gfBBci6CXGKFqcTC8695sgNyzvacPHVaNkiwjWecwvY5WdNKgtgJhoLJfug6QkXQuaZeB5hVazW6ev
- Target Wallet: GXAtmWucJEQxuL8PtpP13atoFi78eM6c9Cuw9fK9W4na
- Copy Wallet: HqbQwVM2fhdYJXqFhBE68zX6mLqCWqEqdgrtf2ePmjRz

---

## 🚀 **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

## Usage

1. **Clone the Repository**:

```bash
git clone https://github.com/PioSol7/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
```

---

## Author

Discord: takhi_77 in discord

Telegram: [@SolSon](https://t.me/@pio_sol)

You can always feel free to find me here for my help on other projects.