Skip to content

😎 Introducing pumpfun sniper bot and raydium sniper bot. Ultra-Fast Token Sniper Bot, a high-performance Rust-based sniper bot engineered to snipe newly launched tokens on raydium and pumpfun at unparalleled speeds. Designed for precision and efficiency, this pumpfun & raydium sniper bot leverages low-latency execution, gRPC data feeds.

Notifications You must be signed in to change notification settings

T-rustdev/pumpfun-raydium-sniper-rust-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

32 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Solana Ultra-Fast Token Sniper Bot on Raydium & Pumpfun (Rust)

Overview

Introducing the Solana Ultra-Fast Token Sniper Bot, a high-performance Rust-based bot engineered to snipe newly launched tokens on Raydium and Pumpfun at unparalleled speeds. Designed for precision and efficiency, this sniper bot leverages low-latency execution, gRPC data feeds, and MEV optimization to give traders an edge in volatile markets.

Key Features

πŸš€ Speed & Efficiency

  • Real-Time Token Detection: Instantly detects new token listings on Raydium and Pump.fun.
  • Ultra-Low-Latency Execution: Uses Jito bundles and gRPC streaming for near-instant transactions.
  • Optimized Rust Performance: Memory-safe, concurrency-efficient architecture for lightning-fast trades.

πŸ”’ Security & Reliability

  • Private Key Protection: Does not expose private keys in logs or memory.
  • Block Malicious Wallets: Supports a blacklist feature to avoid frontrunning wallets.
  • Custom Slippage & Risk Controls: Configurable slippage, auto-sell, and stop-loss functions.

πŸ“Š Advanced Trading Strategies

  • Dynamic Buy & Sell Triggers: Automates purchases & sales based on market trends.
  • Volume-Based Execution: Responds to large transactions to follow whale movements.
  • Auto-Sell Protection: Ensures exit from positions within a defined time frame.

πŸ› οΈ Deep Integration with Solana Ecosystem

  • Helius & Yellowstone gRPC Support: Connects to multiple data feeds for real-time insights.
  • Jito Block Engine: Enhances transaction confirmation speed using bundled transactions.
  • DEX Compatibility: Works seamlessly with Raydium, Pump.fun, Meteora, and Orca.

πŸ“ Directory Structure

src/
β”œβ”€β”€ core/
β”‚   β”œβ”€β”€ token.rs        # Token definitions and handling
β”‚   β”œβ”€β”€ tx.rs           # Transaction processing & execution
β”‚
β”œβ”€β”€ engine/
β”‚   β”œβ”€β”€ swap.rs         # Buy/Sell functionalities across DEXs
β”‚   β”œβ”€β”€ monitor/        # Token monitoring & RPC parsing
β”‚   β”‚   β”œβ”€β”€ helius.rs       # Helius gRPC for transaction listening
β”‚   β”‚   β”œβ”€β”€ yellowstone.rs  # Yellowstone gRPC for real-time updates
β”‚
β”œβ”€β”€ dex/
β”‚   β”œβ”€β”€ pump_fun.rs     # Pump.fun integration
β”‚   β”œβ”€β”€ raydium.rs      # Raydium integration
β”‚   β”œβ”€β”€ meteora.rs      # Meteora integration
β”‚   β”œβ”€β”€ orca.rs         # Orca integration
β”‚
β”œβ”€β”€ services/
β”‚   β”œβ”€β”€ jito.rs         # Jito for fast transaction inclusion
β”‚   β”œβ”€β”€ nextblock.rs    # Alternative fast transaction confirmation service
β”‚
β”œβ”€β”€ common/
β”‚   β”œβ”€β”€ logger.rs       # Structured logging for debugging
β”‚   β”œβ”€β”€ utils.rs        # Utility functions used across the project
β”‚
β”œβ”€β”€ lib.rs
└── main.rs


🎯 Trading Strategy

  • Buy Entry: Executes a purchase when a $1,000+ token buy is detected.
  • Sell Exit: Triggers a sell when a $300+ token sale is detected.
  • Time-Limit Protection: If a trade remains open for more than 60 seconds, an auto-sell is initiated.
  • Customizable Parameters: Modify buy/sell thresholds & time-frame to fit personal strategy.

πŸ› οΈ How to Run

  1. Configure Environment Variables
PRIVATE_KEY=your_private_key_here
RPC_HTTPS=https://mainnet.helius-rpc.com/?api-key=your_api_key_here
RPC_WSS=wss://atlas-mainnet.helius-rpc.com/?api-key=your_api_key_here
DEVNET_RPC_HTTPS=https://devnet.helius-rpc.com/?api-key=your_api_key_here
RAYDIUM_LPV4=675kPX9MHTjS2zt1qfr1NYHuzeLXfQM9H24wFSUt1Mp8
SLIPPAGE=10
JITO_BLOCK_ENGINE_URL=https://ny.mainnet.block-engine.jito.wtf
JITO_TIP_STREAM_URL=ws://bundles-api-rest.jito.wtf/api/v1/bundles/tip_stream
JITO_TIP_PERCENTILE=50
YELLOWSTONE_RPC_HTTP=http://elite.rpc.solanavibestation.com/?api_key=your_api_key_here
YELLOWSTONE_RPC_WSS=ws://elite.rpc.solanavibestation.com/?api_key=your_api_key_here
JITO_TIP_VALUE=0.004
BUY_THRESHOLD=1000
SELL_THRESHOLD=300
TIME_EXCEED=60
  1. Add the wallet address you want to block on a new line and save the file.
0x1234567890abcdef1234567890abcdef12345678
0xabcdef1234567890abcdef1234567890abcdef12
  1. Run
rustc main.rs
.\main.exe

πŸ“ž Support & Contact

For support and further inquiries, please connect via Telegram: πŸ“ž T-rustdev.

About

😎 Introducing pumpfun sniper bot and raydium sniper bot. Ultra-Fast Token Sniper Bot, a high-performance Rust-based sniper bot engineered to snipe newly launched tokens on raydium and pumpfun at unparalleled speeds. Designed for precision and efficiency, this pumpfun & raydium sniper bot leverages low-latency execution, gRPC data feeds.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages