{"id":18126977,"url":"https://github.com/cutupdev/solana-copytrading-bot","last_synced_at":"2026-01-20T22:02:01.781Z","repository":{"id":260545237,"uuid":"871386724","full_name":"cutupdev/Solana-Copytrading-bot","owner":"cutupdev","description":"Copy Trading: Solana copytrading bot source code, copy trading target wallet ","archived":false,"fork":false,"pushed_at":"2025-03-06T14:51:10.000Z","size":2268,"stargazers_count":27,"open_issues_count":0,"forks_count":2,"subscribers_count":23,"default_branch":"main","last_synced_at":"2025-03-22T03:18:06.635Z","etag":null,"topics":["copytrading","dex","pumpfun","raydium-bot","solana"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cutupdev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-10-11T21:24:31.000Z","updated_at":"2025-03-14T19:35:06.000Z","dependencies_parsed_at":"2024-10-31T23:34:40.255Z","dependency_job_id":"530f5a52-5e8f-413e-b965-c1af2e41de71","html_url":"https://github.com/cutupdev/Solana-Copytrading-bot","commit_stats":null,"previous_names":["cutupdev/solana-copytrading-bot"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cutupdev%2FSolana-Copytrading-bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cutupdev%2FSolana-Copytrading-bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cutupdev%2FSolana-Copytrading-bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cutupdev%2FSolana-Copytrading-bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cutupdev","download_url":"https://codeload.github.com/cutupdev/Solana-Copytrading-bot/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244902929,"owners_count":20529115,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["copytrading","dex","pumpfun","raydium-bot","solana"],"created_at":"2024-11-01T09:13:31.443Z","updated_at":"2026-01-20T22:02:01.775Z","avatar_url":"https://github.com/cutupdev.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Solana Copytrading Bot\n\nThis is copy trading bot running on several solana dex platform - raydium, meteora, pumpfun, pumpswap.\nTo boost bot speed and performance, I have updated bot using Rust programming language.\nIn this bot, it tracks the profitable bots fast and copytrade it.\nIf you want, I can offer full version and can develop customized advanced project[Advantage: GRPC for tx fetching, direct dex swap, Rust language].\n\n\n\n## Advanced Version\nIn copy trading bot, there are two main things: \none is fetching target wallet transaction and other one is copying target wallet transaction.\nIn the basic version, fetching target wallet tx is done by rpc websocket (300-500ms) but with the advanced version, I am using grpc for target wallet tx fetching, and it takes only 50-100ms.  Also in most of copy bots, they are using jupiter for swapping to copy target wallet transactions. Jupiter is good aggregator that is supporting swap, but it causes time latency. So with my new solution, I usually swap on dexs directly. If target wallet swap token on raydium pool, then my bot swap on raydium directly and it reduces latency absolutely. Of course, it needs more development time because it needs to interact several dexs directly, but otherwise using jupiter is too easy for development and understanding.\n\n\n\n---\n\n## Directory Structure\n\n```\nsrc/\n├── core/\n│   ├── token.rs        # Token definitions and handle\n│   └── tx.rs           # Transaction handle\n|   └── mod.rs          # mod file\n| \n├── engine/\n│   ├── swap.rs         # Token swap(buy/sell) functionalities in various Dexs\n│   └── monitor.rs      # Target wallet monitoring(and parse tx) in Dexs using geyser rpc, and normal rpc\n|   └── mod.rs          # mod file\n│       \n├── dex/\n│   ├── pump_fun.rs     # Pump.fun\n│   ├── raydium.rs      # Raydium\n│   ├── meteora.rs      # Meteora\n│   └── pumpswap.rs     # Pumpswap\n|   └── mod.rs          # mod file\n│\n├── services/\n│   ├── jito.rs         # Jito service provides ultra-fast transaction confirmation\n│   └── nextblock.rs    # NextBlock service provides the ultra-fast transaction confirmation in unique way\n|\n├── common/\n|    ├── logger.rs      # Handles logging to be clean and convenient to monitor.\n|    ├── config.rs      # Handles project configurations such as environment variables and constants.\n|    ├── constants.rs   # Stores global constants used across the project.\n|    ├── targetlist.rs  # Manages lists of targets such as URLs or files.\n|    └── utils.rs       # Utility functions used across the project, including input/output operations, string manipulation, etc.\n|    └── mod.rs         # mod file\n│\n├── lib.rs\n└── main.rs\n```\n---\n    \n\n\n### How To Run\n1. Environment Variables Settings\n```plaintext\nPRIVATE_KEY=your_private_key_here\nRPC_HTTPS=https://mainnet.helius-rpc.com/?api-key=your_api_key_here\nRPC_WSS=wss://atlas-mainnet.helius-rpc.com/?api-key=your_api_key_here\nSLIPPAGE=10\nJITO_BLOCK_ENGINE_URL=https://ny.mainnet.block-engine.jito.wtf\nJITO_TIP_STREAM_URL=ws://bundles-api-rest.jito.wtf/api/v1/bundles/tip_stream\nJITO_TIP_PERCENTILE=50\nJITO_TIP_VALUE=0.004\nTOKEN_PERCENTAGE=1 #percentage\n```\n2. List target wallet address into `targetlist.txt`.\n3. Run `trial/solana-copytrading-trial.exe`.\n\n\n\n### Test results\n#### Buy\n* target: https://solscan.io/tx/5aaQDtXjyf4NDF3NKjjmC5s6Y8AhW3ieTpmB6Kxt6UGC2AowJ2xRTzFJo7KM4CVcpbphA2w76juGDdvqqgNTt1CF\n* copied: https://solscan.io/tx/4uPU2BRi7BJCTxp4kJQFTmLj5pmoAyKw7zCHNCPiP2NYK2HcqXfJr8gE6eF89VYPEy5VTFaRQf4DTUZNzttFQ73Z\n#### Sell\n* target: https://solscan.io/tx/22qnz4aBXqmeQbp6cnAogSVPNxSbEJr7tswch5QXLSG8Rvnb4SwDJFJ9RytpUVkUUQUtiy44fYwafF5CgiYjdVtp\n* copied: https://solscan.io/tx/3uBU12fQT14z88tiX1i1EH8XWXpFco4dU1QG8VEtYQyXtaSQXQB6AR7HBF4GtF9YDCa54Uw4xE7H7JPjBM9cETKM\n\n\n\n### Same Block(Using validator)\n- Target: https://solscan.io/tx/4amQhsMLqv2Lbr6UyFcoTdctsD76dKAvAHFkvCDpqa6kUqeHXN7drKXpFJrqDV389Uu4rEY575WHJYdg4inSMtFf\n- Copied: https://solscan.io/tx/57P2bZGJ5QTThjT4jv88CXEU4oGDTgVaS2c386qBMEs2KkizN2PV7cKKZgS8uvWwPQyTpBUXTTfnjJ4dECuJf39t\n- Dexscreener: https://dexscreener.com/solana/JD3VPqQ7pfHZ4h2zhALfvz5E7dantyVpsDUov1Lgpump\n- Wallet: https://gmgn.ai/sol/address/D3QXckXy26G6rTnqHQFUxvwpRsv18o5wBrHMVoodYWTa\n\n\n\n### Contact Information\n- Telegram: https://t.me/DevCutup\n- Whatsapp: https://wa.me/13137423660\n- Twitter: https://x.com/devcutup\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcutupdev%2Fsolana-copytrading-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcutupdev%2Fsolana-copytrading-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcutupdev%2Fsolana-copytrading-bot/lists"}