Skip to content

Lucky-Crypto-Trading-Bot-Experts/raydium-sniper-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Solana Trading Bot

A Rust-based trading bot for Solana blockchain that monitors and executes trades based on specified target prices.

Prerequisites

  • Rust (1.70.0 or higher)
  • Cargo (comes with Rust)
  • Solana wallet with funds

Quick Start

  1. Clone and Install

    git clone [your-repository-url]
    cd [project-directory]
  2. Configure Environment

    Create a .env file in the root directory:

    TARGET_PRICE=0.000000000000001
    TARGET_ADDRESS=Bb5dXLex6oPhmsUs7BNAqrjv5bohCySgJpoCWHTdrWnu
    RPC_URL=https://mainnet.helius-rpc.com/?api-key=YOUR_API_KEY
  3. Build and Run

    # Build the project
    cargo build
    
    # Run in development mode
    cargo run
    
    # Or build and run in release mode for better performance
    cargo build --release
    cargo run --release

Environment Variables

Variable Description Required
TARGET_PRICE The target price for trading Yes
TARGET_ADDRESS Your target pool address Yes
RPC_URL Solana RPC endpoint URL Yes

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages