← 返回
开发者工具 Key 中文

Solana Copy Trader

Solana whale copy trading bot. Track any wallet, copy trades in real-time via Jupiter + Pump.fun APIs, with paper trading simulation and live execution. Use...
Solana 鲸鱼跟单机器人。跟踪任意钱包,实时通过 Jupiter + Pump.fun API 复制交易,支持模拟交易与实盘执行。使用...
youthaiagent
开发者工具 clawhub v1.0.0 1 版本 99640.9 Key: 需要
★ 0
Stars
📥 1,110
下载
💾 8
安装
1
版本
#bot#crypto#defi#jupiter#latest#solana#trading#whale

概述

Solana Copy Trader

Real-time Solana whale copy trader using Helius WebSocket + Jupiter API + Pump.fun.

Quick Start

cd solana-bot
npm install
cp .env.example .env  # fill in keys
node index.js copy    # paper mode (safe)
node index.js watch   # whale tracker only
node index.js scan    # arb scanner

Modes

ModeCommandDescription
----------------------------
copynode index.js copy 0.01Copy whale trades (paper by default)
watchnode index.js watchWatch whale txs live
scannode index.js scanScan arb opportunities
papernode index.js paperFull paper trading sim
analyzenode index.js analyzeWallet pattern analysis
safetynode index.js safety Token rug check

.env Setup

PRIVATE_KEY=your_base58_private_key   # leave blank for watch-only
RPC_URL=https://mainnet.helius-rpc.com/?api-key=YOUR_KEY
HELIUS_API_KEY=your_helius_key        # free at dev.helius.xyz
BOT_TOKEN=telegram_bot_token          # for alerts
CHAT_ID=your_telegram_chat_id
MAX_TRADE_SOL=0.01                    # safety limit per trade
MIN_PROFIT_PCT=0.5

Architecture

Helius WebSocket → whale tx detected
        ↓
parseTransaction() → decode token changes
        ↓
Jupiter quote → can we route? 
        ↓ (if no route)
Pump.fun DAS check → bonding curve token?
        ↓
safety check → price impact < 50%?
        ↓
paper: log trade | live: executeRealSwap()
        ↓
Telegram alert sent

Key Files

  • src/copy_trade.js — Core copy trader engine
  • src/wallet_tracker.js — Helius WebSocket + tx parsing
  • src/arbitrage.js — Jupiter arb scanner
  • src/pumpfun.js — Pump.fun token metadata via Helius DAS
  • src/sniper.js — New token sniper (paper mode)
  • src/config.js — Wallet + connection setup
  • src/alerts.js — Telegram notifications

Live → Paper Switch

In copy_trade.js startCopyTrader():

paper: true   // paper mode (safe, no real money)
paper: false  // LIVE mode — real trades

Or use index.js mode copy (always paper) vs direct startCopyTrader({ paper: false }).

Safety Limits

  • MAX_TRADE_SOL — max SOL per trade (default 0.01)
  • maxPositions: 3 — max open positions at once
  • priceImpact > 50% → skip (rug protection)
  • Pump safety score < 40 → skip

Whale to Copy

Default whale: AgmLJBMDCqWynYnQiPCuj9ewsNNsBJXyzoUhD9LJzN51

  • Confirmed MEV bot: 477 SOL, 172K txs/day, $40K/day
  • Change in src/copy_trade.jsWHALE constant

Requirements

  • Node.js 18+
  • Free Helius API key (1000 req/day free tier)
  • Solana wallet (optional — watch-only without)
  • Telegram bot (optional — for alerts)

See references/api-setup.md for getting free API keys.

See references/trading-concepts.md for how Solana MEV/arb works.

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-29 08:16 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

developer-tools

Agent Browser

matrixy
专为AI智能体优化的无头浏览器自动化CLI,支持无障碍树快照和基于引用的元素选择。
★ 426 📥 118,080
developer-tools

Gog

steipete
Google Workspace 命令行工具,支持 Gmail、日历、云端硬盘、通讯录、表格和文档。
★ 921 📥 185,756
developer-tools

Github

steipete
使用 `gh` CLI 与 GitHub 交互,通过 `gh issue`、`gh pr`、`gh run` 和 `gh api` 管理议题、PR、CI 运行及高级查询。
★ 668 📥 323,906