https://github.com/fantasy-guru/solanacopytradingbot
A copy trading bot on Solana automatically tracks and mimics the trades of a specific trader's wallet. It monitors the trader's transactions (like buying or selling tokens) and automatically executes the same actions in your wallet in real-time.
https://github.com/fantasy-guru/solanacopytradingbot
bot solana trading wallet
Last synced: over 1 year ago
JSON representation
A copy trading bot on Solana automatically tracks and mimics the trades of a specific trader's wallet. It monitors the trader's transactions (like buying or selling tokens) and automatically executes the same actions in your wallet in real-time.
- Host: GitHub
- URL: https://github.com/fantasy-guru/solanacopytradingbot
- Owner: Fantasy-Guru
- Created: 2025-02-11T13:22:19.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-02-11T13:24:38.000Z (over 1 year ago)
- Last Synced: 2025-03-04T20:40:27.422Z (over 1 year ago)
- Topics: bot, solana, trading, wallet
- Language: TypeScript
- Homepage:
- Size: 64.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Copy trading bot
A copy trading bot on Solana automatically tracks and mimics the trades of a specific trader's wallet. It monitors the trader's transactions (like buying or selling tokens) and automatically executes the same actions in your wallet in real-time. The bot allows you to follow experienced traders without manually managing trades, copying their buys and sells on the Solana blockchain.
Supported on Raydium, Jupiter and Pumpfun
### Bot Features
- Track Token Swaps: Continuously monitors every token swap on the Solana network to identify the best opportunities.
- Trade Across Multiple DEXs: Swap tokens on any supported decentralized exchange according to your preferences.
- Automatic Trades: Let the bot automatically buy and sell based on your customized strategy, so you don’t have to lift a finger.
- Customizable Trading Strategy: Tailor your own trading approach to fit your risk tolerance and goals.
- Multi-Wallet Support: Set up and manage multiple wallets, executing trades on each at the same time.
### Enhanced websocket
```json
{
"jsonrpc": "2.0",
"id": 420,
"method": "transactionSubscribe",
"params": [
{
"vote": false,
"failed": false,
"signature": "2dd5zTLrSs2udfNsegFRCnzSyQcPrM9svX6m1UbEM5bSdXXFj3XpqaodtKarLYFP2mTVUsV27sRDdZCgcKhjeD9S",
"accountInclude": ["pqx3fvvh6b2eZBfLhTtQ5KxzU3CginmgGTmDCjk8TPP"],
"accountExclude": ["FbfwE8ZmVdwUbbEXdq4ofhuUEiAxeSk5kaoYrJJekpnZ"],
"accountRequired": ["As1XYY9RdGkjs62isDhLKG3yxMCMatnbanXrqU85XvXW"]
},
{
"commitment": "processed",
"encoding": "base64",
"transactionDetails": "full",
"showRewards": true,
"maxSupportedTransactionVersion": 0
}
]
}
```
### Installation
1. Clone the repository:
```bash
git clone https://github.com/your-username/solana-copy-trading-bot.git
```
2. Install dependencies:
```bash
cd solana-copy-trading-bot
npm install
```
3. Configure the bot:
- Create a .env file in the root directory of the project.
- Add your Solana wallet private key and the address of the trader you want to copy.
- Add the Solana cluster endpoint URL.
- Add the Solana RPC endpoint URL.