Services Approach Projects Back to Home
Project · Open Source

hades-parasite-bot

A Solana-based copy-trading bot that monitors a configured set of target wallets in real-time and automatically mirrors their buys — across both pump.fun pre-graduation tokens and PumpSwap graduated venues — with venue-aware execution and layered exit logic.

Rust 1.85+ Edition 2024 Solana Mainnet SPL-Token + Token-2022

Overview

hades-parasite-bot watches a configured list of target wallets via a Solana WebSocket subscription. When a target wallet executes a buy, the bot detects whether the venue is pump.fun's bonding curve or the graduated PumpSwap AMM, then mirrors the trade with its own size and slippage parameters. Exits are layered — hard stops, take profits, dynamic trailing stops, plus stagnant-price and maximum-hold timeouts — and each runs independently per open position.

Key Features

  • Real-time wallet monitoring via Solana WebSocket subscriptions.
  • Automatic venue detection between pump.fun's bonding curve and the PumpSwap AMM.
  • Dual-standard support — both SPL-Token and Token-2022 mints are handled transparently.
  • Multi-position management with configurable concurrency caps.
  • Layered exit logic: hard stop-loss, static take-profit, dynamic trailing stops, stagnant-price detection, max-hold timeouts.
  • Independent slippage and priority fees for buys vs sells — different urgency, different settings.

Requirements

  • Rust 1.85+ with edition 2024.
  • Solana mainnet HTTP RPC endpoint.
  • Solana mainnet WebSocket endpoint (same host as the HTTP, different scheme).
  • Funded Solana wallet keypair.

Setup

1. Clone

~/install
$ git clone https://github.com/hadesbaker/hades-parasite-bot.git $ cd hades-parasite-bot

2. Configure

Set your RPC endpoints, private key, and the list of target wallets to mirror in the environment configuration. Tune position-size and exit-parameter thresholds in the bot config.

3. Build and run

~/run
$ cargo build --release $ cargo run --release

Exit Strategy

The bot implements layered position exits — each runs independently and the first trigger wins:

  • Hard stop-loss — fixed % below entry.
  • Static take-profit — fixed % above entry.
  • Dynamic trailing stops that tighten as profit accrues, with multiple profit bands.
  • Price stagnation timer — exits positions that aren't moving in either direction.
  • Maximum hold timeout — hard cap on time-in-position regardless of P&L.
Trades real funds with full wallet custody. Open positions are not preserved if the bot stops — they require manual on-chain closure. Start with the smallest viable trade amount until you've verified behavior end-to-end on your own infrastructure.