Skip to content

Raydium-pumpswap-trade-bot with maximum performance and minimal latency. Simultaneously monitors Raydium and Pumpswap for optimal opportunities raydium-pumpfun sniper bot raydium-pumpfun sniper bot raydium-pumpfun sniper bot raydium pumpfun sniper bot raydium pumpfun sniper bot raydium pumpfun sniper bot raydium pumpfun sniper bot raydium pumpfun

Notifications You must be signed in to change notification settings

Trum3it/raydium-pumpswap-trade-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

4 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸš€ Raydium Pumpswap Trading Bot

Rust Solana License Build Status

⚑ High-Performance Solana Trading Bot for Raydium & PumpSwap DEXs

A lightning-fast, Rust-powered trading bot designed to execute trades on Solana's most popular decentralized exchanges. Built with performance, reliability, and profitability in mind.

🌟 Features

  • πŸš€ Ultra-Fast Execution: Built in Rust for maximum performance and minimal latency
  • 🎯 Multi-DEX Support: Simultaneously monitors Raydium and PumpSwap for optimal opportunities
  • ⚑ Real-Time Monitoring: GRPC-based transaction streaming for instant market reaction
  • πŸ›‘οΈ Smart Filtering: Advanced blacklist and enemy list management
  • πŸ’° Slippage Protection: Configurable slippage tolerance and price impact analysis
  • πŸ“Š Comprehensive Logging: Detailed transaction logs and performance metrics
  • πŸ” Secure: Private key management and transaction signing
  • πŸ“ˆ Price Oracle Integration: Real-time price feeds for accurate decision making

πŸ—οΈ Architecture

src/
β”œβ”€β”€ module/
β”‚   β”œβ”€β”€ filter/          # Trading filters and validation
β”‚   β”œβ”€β”€ handler/         # Transaction handling logic
β”‚   β”œβ”€β”€ monitor/         # Account and transaction monitoring
β”‚   └── tx_confirm/      # Transaction confirmation
β”œβ”€β”€ utils/
β”‚   β”œβ”€β”€ build_tx/        # Transaction building utilities
β”‚   β”œβ”€β”€ fast_landing_api/ # MEV protection and fast execution
β”‚   β”œβ”€β”€ pumpswap/        # PumpSwap integration
β”‚   └── token/           # Token utilities and price impact
└── config/              # Configuration management

πŸš€ Quick Start

Prerequisites

Installation

  1. Clone the repository

    git clone https://github.com/kinexbt/raydium-pumpswap-trade-bot.git
    cd raydium-pumpswap-trade-bot
  2. Install dependencies

    cargo build --release
  3. Configure environment

    cp .env.example .env
    # Edit .env with your configuration
  4. Run the bot

    # Start the main trading bot
    make main
    
    # Or use cargo directly
    cargo run --bin main --release

βš™οΈ Configuration

Create a .env file with your configuration:

# Solana RPC and GRPC endpoints
RPC_URL=https://mainnet.helius-rpc.com
GRPC_URL=https://mainnet.rpc.jito.wtf

# Your wallet private key (base58 encoded)
PRIVATE_KEY=your_private_key_here

# Trading parameters
SLIPPAGE_TOLERANCE=0.5
MAX_PRICE_IMPACT=2.0

🎯 Usage

Main Trading Bot

# Start the main trading bot
make main

Pre-start Setup

# Initialize pools and tokens
make pre

Health Check

# Check bot connectivity
make ping

Signature Verification

# Verify transaction signatures
make sig

πŸ”§ Advanced Configuration

Pool Configuration

Edit src/assets/inputs/pool_addr.json to configure trading pools:

{
  "pools": [
    {
      "address": "pool_address_here",
      "token_a": "token_a_mint",
      "token_b": "token_b_mint",
      "fee": 0.25
    }
  ]
}

Blacklist Management

Configure src/assets/inputs/black_list.json to exclude specific addresses:

[
  "address_to_exclude_1",
  "address_to_exclude_2"
]

πŸ“Š Performance Features

  • ⚑ Sub-second execution for time-sensitive trades
  • πŸ”„ Real-time market monitoring via Solana GRPC streams
  • πŸ“ˆ MEV protection through multiple RPC endpoints
  • πŸ’Ύ Efficient memory management for 24/7 operation
  • πŸ” Advanced transaction filtering to avoid unwanted trades

πŸ›‘οΈ Security Features

  • πŸ” Secure private key handling
  • πŸ›‘οΈ Transaction validation and verification
  • 🚫 Blacklist and enemy list protection
  • βš–οΈ Slippage and price impact safeguards
  • πŸ“ Comprehensive audit logging

πŸ“ˆ Trading Strategies

The bot implements several advanced trading strategies:

  1. Arbitrage Detection: Identify price differences between DEXs
  2. MEV Protection: Fast execution to avoid front-running
  3. Slippage Management: Dynamic slippage adjustment based on market conditions
  4. Risk Management: Configurable stop-loss and position sizing

πŸ” Monitoring & Logs

The bot provides comprehensive logging and monitoring:

  • Real-time transaction logs in src/assets/logs/
  • Trade history tracking for performance analysis
  • Account monitoring for balance changes
  • Performance metrics and execution statistics

🀝 Contributing

We welcome contributions! Please see our Contributing Guidelines for details.

Development Setup

# Install development dependencies
cargo install cargo-watch

# Run with hot reload
cargo watch -x run --bin main

πŸ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.

⚠️ Disclaimer

This software is for educational and research purposes only. Trading cryptocurrencies involves substantial risk and may result in the loss of your capital. Use at your own risk.

  • Past performance does not guarantee future results
  • Always test with small amounts first
  • Never invest more than you can afford to lose
  • Consider consulting with a financial advisor

πŸ“ž Support

πŸ™ Acknowledgments

  • Solana Labs for the amazing blockchain platform
  • Raydium for the DEX infrastructure
  • PumpSwap for additional trading opportunities
  • Rust Community for the excellent language and ecosystem

⭐ If this project helps you, please give it a star! ⭐

Made with ❀️ by the Solana Trading Community

About

Raydium-pumpswap-trade-bot with maximum performance and minimal latency. Simultaneously monitors Raydium and Pumpswap for optimal opportunities raydium-pumpfun sniper bot raydium-pumpfun sniper bot raydium-pumpfun sniper bot raydium pumpfun sniper bot raydium pumpfun sniper bot raydium pumpfun sniper bot raydium pumpfun sniper bot raydium pumpfun

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published