Skip to content
/ solars Public

Free High-frequency Off-Chain Solana copy-trading Bot

Notifications You must be signed in to change notification settings

ejsch03/solars

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

solars

A high-frequency off-chain copy-trading bot for Solana. Monitors a target wallet in real-time and replicates its trades with sub-second latency.

How It Works

  1. Detect — Subscribes to the target wallet via Helius WebSocket (logSubscribe) to catch transactions the moment they hit the mempool.
  2. Confirm — Uses signatureSubscribe to track confirmation status without polling.
  3. Execute — Fetches and decodes the transaction (get_transaction), then routes a mirrored trade through PumpPortal, Bags.fm, or Jupiter as a fallback.
  4. Submit — Sends the final transaction via Helius Sender with a Jito tip for priority landing.

Configuration (config.json)

Field Description
rpc_url Helius HTTPS RPC endpoint
helius_wss_url Helius WebSocket endpoint
bags_fm_api_key Bags.fm routing API key
jupiter_api_key Jupiter aggregator API key
wallet_addr Your public key
wallet_key Your private key
target_addr Wallet address to copy
scalar Trade size multiplier
max Maximum trade size cap (lamports)
signatures Signatures to copy (for testing)

Performance (dependent on internet speeds)

  • Detection latency: ~49–59ms
  • End-to-end execution: ~550–867ms (depending on routing and pressure).

Stack

  • Rust + Tokio async runtime
  • Helius — RPC, WebSockets, and transaction sender
  • PumpPortal / Bags.fm — Prebuilt transaction routing
  • Jupiter — Fallback DEX aggregator for sells
  • Jito — MEV-aware transaction landing (min tip: 0.0002 SOL)

About

Free High-frequency Off-Chain Solana copy-trading Bot

Resources

Stars

Watchers

Forks

Contributors

Languages