Skip to content
Projects

About

solana-mev-bot https://t.me/@solana_cod

Business & Finance

How these counts are measured

What you can do

  • Multi-DEX Support: Works with Raydium, Orca Whirlpools, and Meteora DEXs
  • Real-time Pool Monitoring: Continuously scans for new liquidity pools
  • Advanced Arbitrage Detection: Identifies profitable 1-hop and 2-hop arbitrage paths
  • Simulation Engine: Tests potential trades before execution

Measured star growth

in 24h
0
in 7 days
0
in 15 days
0
in 1 month
Collecting history

Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.

README.md

Original

Solana MEV Bot

Overview

A high-frequency trading bot designed to identify and exploit arbitrage opportunities across various decentralized exchanges (DEXs) on the Solana blockchain πŸ“ž 🌐. zeroslot + offline sign + advancenonce + jito tip + solana program enable sandwich

Features

  • Multi-DEX Support: Works with Raydium, Orca Whirlpools, and Meteora DEXs
  • Real-time Pool Monitoring: Continuously scans for new liquidity pools
  • Advanced Arbitrage Detection: Identifies profitable 1-hop and 2-hop arbitrage paths
  • Simulation Engine: Tests potential trades before execution
  • Optimized Execution: Prioritizes the most profitable opportunities
  • Performance Tracking: Records all arbitrage attempts and results

Supported DEXs

  • Raydium (CLMM and standard pools)
  • Orca Whirlpools
  • Meteora

Code Structure

src/
β”œβ”€β”€ arbitrage/
β”‚ β”œβ”€β”€ calc_arb.rs # Arbitrage calculation logic
β”‚ β”œβ”€β”€ simulate.rs # Trade simulation
β”‚ β”œβ”€β”€ streams.rs # Real-time data streams
β”‚ └── types.rs # Data structures
β”œβ”€β”€ markets/
β”‚ β”œβ”€β”€ meteora.rs # Meteora DEX integration
β”‚ β”œβ”€β”€ orca_whirpools.rs # Orca integration
β”‚ β”œβ”€β”€ raydium.rs # Raydium integration
β”‚ └── types.rs # Market data structures
└── common/ # Shared utilities and constants

Key Components

Pool Discovery

pub async fn get_fresh_pools(tokens: Vec<TokenInArb>) -> HashMap<String, Market> {
    // Scans supported DEXs for new pools containing specified tokens
    // Implements rate limiting between requests
}

## Configuration

Edit `src/common/constants.rs` to configure:

- RPC endpoints
- DEX program IDs
- Rate limits
- Profit thresholds
- MongoDB connection settings


## Performance Optimization

The bot includes several optimization features:

- Batch processing with `get_multiple_accounts` for efficient RPC usage
- Market filtering based on liquidity thresholds
- Real-time WebSocket subscriptions for immediate market updates
- MongoDB for persistent storage and performance analysis
- Error rate limiting for problematic paths


## Monitoring

The bot outputs:

- Real-time progress bars
- Detailed logs of arbitrage opportunities with emoji indicators (πŸ’¦, πŸ‘€, πŸ“Š)
- JSON files with trade results
- MongoDB integration for persistent storage and analysis


## Disclaimer

This is experimental software. Use at your own risk. The authors are not responsible for any funds lost while using this bot.

## License
\`\`\`

This Markdown file contains all the documentation you provided about the bot's configuration, performance optimization, monitoring capabilities, and disclaimer.






Explore related projects

Loading…