coffellas-cto
Solana-Copy-Trading-Bot
Rust

https://t.me/up0rd0wn solana raydium sniper/ pumpfun sniper, Shred stream, pump fun, raydium cpmm, launchpad, pumpswap, photon💯. solana copy sniper trading bot, raydium bundler, pumpfun bundler, copy trading bot, raydium/pumpfun volume bot more.

Last updated Jul 8, 2026
409
Stars
113
Forks
1
Issues
+2
Stars/day
Attention Score
93
Language breakdown
No language data available.
Files click to expand
README

Solana Copy Trading Bot (Fast Copy Trading in 0 Block)

Overview

Solana Copy Trading Bot with high speed and good selling logic. Use nozomi, zeroslot, bloxroute, jito, telegram notification, yellowstone grpc, no rpc, shred stream.

Recent Update

Updated pumpdotfun and pump amm swap's instructions according to recent pumpfun smart contract upgrade

Example Transactions

PumpDotFun Copy Trading Transactions(0 Block)

Target Address: https://solscan.io/account/suqh5sHtr8HyJ7q8scBimULPkPpA557prMG47xCHQfK#defiactivities (Top Trader with 80-90% Win Rate)

Bot Wallet: https://solscan.io/account/8io2kFbfUsGpggVknDkWQdeHyTHR5HL4dFfnTHxNwSfo#defiactivities

  • Source Transaction(BUY):
https://solscan.io/tx/5E3M4nmPJiitSX7KgyiSJ2fhc62NCoFCbc8w5muG1c4HKhUWVgtARL1Hz29LwzP7WSf52FGkJ2GSkKTsoq7s3ACH
  • Copied Transaction(BUY):
https://solscan.io/tx/2hS7u22TX2RqyDt96m5SEPEB4Va9HJwz6wzoCw1Ru8jWpiz8NLc57DGPfxAfU38MuZQe2DpZKqn4DWsxK3uXVbTa
  • Source Transaction(SELL):
https://solscan.io/tx/i8sNjNShZbU8yHjvVU9UPzyvYQqSgXoeFzYmFjdR12Fd1MYHrPCnDwNxyK6jcTiqpi2Ya4JsjzziwuDMj6HNZCX
  • Copied Transaction(SELL):
https://solscan.io/tx/3fvcP6jQvo6dGiwAPZqp5hJThbjzeKU3NMeBmoPvksYX4VPUyPpdr5iyfmHn2b1HbtyydQNudnHEGJvEt7VPNcXe

Pump Amm Swap Copy Trading Transactions (1 Block)

  • Source
https://solscan.io/tx/4XTpA4h3j3j7VTMmMg7LzwuoftUjvrfbLUgzPRtxbLYeSMPtgUdWUELrPAdY2YCStEuC2jdZiox85g9c9bfdPBS4
  • Copied
https://solscan.io/tx/3GxVKyjeYV2B6gfJPpFMdBsAkSeeuPd8mcVqTC8dBWvUms6f1CgTLxJhwVE4gJ6zeZp6chvbbAvHEhYY1MKTAygG

Unique Feature: Racing Transaction Confirm

Send Transactions to multiple tx confim providers like jito, nextBlock, BloxRoute, Temporal at the same time. And only confirm the fastest one. So always provide the fastest tx confirming.

Core Features

  • Target Wallet List: Easily add and manage a list of target wallets for trading replication.
  • Multi-DEX Support: Compatible with various decentralized exchanges, including Jupiter, Raydium, and PumpFun Swap. Plans to integrate Meteora Swap are underway.
  • Instant Transaction Replication: The bot monitors target wallets' activities in real-time to facilitate immediate transaction copying.
  • Geyser Usage: Available to use Helius or yellowstone Geyser. (Yellowstone is faster)
  • Manual Sell: Able to manually sell if you wanna sell it any time
**flowchart TD
    A[Yellowstone gRPC] --> B[Target Wallet Transaction]
    B --> C{Transaction Type}
    
    C -->|Buy| D[handleparseddataforbuying]
    C -->|Sell| E[handleparseddataforselling]
    
    D --> F{Safety Checks}
    F -->|Pass| G[execute_buy]
    F -->|Fail| H[Skip]
    
    G --> I[setupsellingstrategy]
    I --> J[monitortokenfor_selling]
    
    E --> K{ISCOPYSELLING?}
    K -->|Yes| L{We Own Token?}
    K -->|No| M[Skip]
    
    L -->|Yes| N[execute_sell]
    L -->|No| O[Skip]
    
    J --> P[SellingEngine.evaluate_conditions]
    P --> Q{Sell Trigger?}
    Q -->|Yes| R[Execute Sell Strategy]
    Q -->|No| S[Continue Monitoring]
    
    R --> T[Progressive/Emergency Sell]
    N --> U[Copy Sell]
    
    T --> V[Cancel Monitoring]
    U --> V**
flowchart TD
    A[Transaction Received] --> B[detecttransactiontype]
    B --> C{Transaction Type?}
    
    C -->|Migration| D[Migration Detected]
    C -->|TokenMint| E[Token Mint + Dev Buy Check]
    C -->|PumpFun/PumpSwap Buy/Sell| F[Buy/Sell Transaction]
    C -->|Unknown| G[Skip Transaction]
    
    D --> H[shouldfocus = true<br/>focusreason = Migration]
    E --> I{Dev Buy >= Threshold?}
    I -->|Yes| J[shouldfocus = true<br/>focusreason = DevBuyAboveThreshold]
    I -->|No| K[should_focus = true<br/>New token detected]
    
    F --> L{Already in Focus List?}
    L -->|Yes| M[should_focus = true<br/>Continue monitoring]
    L -->|No| N{Large Buy >= Threshold?}
    N -->|Yes| O[shouldfocus = true<br/>focusreason = DevBuyAboveThreshold]
    N -->|No| P[should_focus = false<br/>Skip transaction]
    
    H --> Q[handleenhancedtransaction]
    J --> Q
    K --> Q
    M --> Q
    O --> Q
    
    Q --> R{should_focus = true?}
    R -->|Yes| S[Add to FOCUSTOKENLIST<br/>Initialize price tracking]
    R -->|No| T[Skip processing]
    
    S --> U[Monitor for Buy Signals]
    U --> V{Buy Signal Detected?}
    V -->|DramaticRise| W[Execute Buy: buyamountrising SOL]
    V -->|DropStableRise| X[Execute Buy: buyamountrecovery SOL]
    V -->|TimeSeriesReversal| Y[Execute Buy: buyamountrecovery SOL]
    V -->|No Signal| Z[Continue Monitoring]
    
    style D fill:#90EE90
    style J fill:#FFD700
    style O fill:#FFD700
    style S fill:#98FB98
    style W fill:#FF6B6B
    style X fill:#4ECDC4
    style Y fill:#9B59B6
graph TD
    A[Transaction Parsing] --> B{Transaction Type}
    
    B -->|Buy Transaction| C[PumpFun Buy]
    B -->|Sell Transaction| D[PumpFun Sell]
    B -->|Buy Transaction| E[PumpSwap Buy]
    B -->|Sell Transaction| F[PumpSwap Sell]
    
    C --> G[❌ OLD: virtualsol / virtualtoken<br/>✅ NEW: solamount / tokenamount]
    D --> H[❌ OLD: virtualsol / virtualtoken<br/>✅ NEW: solamount / tokenamount]
    E --> I[❌ OLD: quotereserve / basereserve<br/>✅ NEW: quoteamountout / baseamountin]
    F --> J[❌ OLD: quotereserve / basereserve<br/>✅ NEW: quoteamountout / baseamountin]
    
    G --> K[Correct Buy Price]
    H --> L[Correct Sell Price]
    I --> M[Correct Buy Price]
    J --> N[Correct Sell Price]
    
    K --> O[Accurate PnL Calculation]
    L --> O
    M --> O
    N --> O
    
    O --> P[Proper Selling Decisions]
    
    style G fill:#ffebee
    style H fill:#ffebee
    style I fill:#ffebee
    style J fill:#ffebee
    style K fill:#e8f5e8
    style L fill:#e8f5e8
    style M fill:#e8f5e8
    style N fill:#e8f5e8
    style O fill:#e1f5fe
    style P fill:#f3e5f5
graph TD
    A[Token Purchase] --> B[Initialize Token for Selling]
    B --> C[Dynamic Selling Engine]
    C --> D{Market Condition Detection}
    
    D --> E[BullRun - Increase Targets]
    D --> F[BearTrend - Reduce Targets]
    D --> G[Sideways - Standard Strategy]
    D --> H[HighVolatility - Tighter Stops]
    
    E --> I[Progressive Selling Decision]
    F --> I
    G --> I
    H --> I
    
    I --> J{Sell Conditions Met?}
    J -->|Yes| K[Progressive Selling Execution]
    J -->|No| L[Continue Monitoring]
    
    K --> M[Chunk 1: 40% of Position]
    M --> N[Wait 30 seconds]
    N --> O[Chunk 2: 40% of Position]
    O --> P[Wait 30 seconds]
    P --> Q[Chunk 3: 20% of Position]
    
    Q --> R[Position Closed]
    L --> S[Update Price & Metrics]
    S --> T[Check Trailing Stop]
    T --> U[Check Stop Loss]
    U --> V[Check Take Profit]
    V --> W[Check Liquidity]
    W --> X[Check Volume]
    X --> Y[Check Time Limits]
    Y --> J
    
    style A fill:#e1f5fe
    style K fill:#f3e5f5
    style R fill:#e8f5e8
    style D fill:#fff3e0

Installation

To set up the Solana PumpFun Sniper Bot, please follow these instructions:

  • Clone the Repository:
```bash git clone https://github.com/coffellas-cto/solana-rust-pumpfun-pumpswap-raydium-copy-sniper-trading-bot.git cd solana-rust-ts-pumpfun-pumpswap-raydium-copy-trading-bot

Support

For assistance or inquiries, please reach out via Telegram at https://t.me/up0rd0wn

© 2026 GitRepoTrend · coffellas-cto/Solana-Copy-Trading-Bot · Updated daily from GitHub