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
$ git clone https://github.com/hadesbaker/hades-parasite-bot.git
$ cd hades-parasite-bot2. 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
$ cargo build --release
$ cargo run --releaseExit 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.