Skip to content

0xCoder0000/Solana-Raydium-PumpFun-Sniper-Bot-Rust

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Solana Ultra-Fast New Token Sniper on Raydium and Pump.fun in Rust 🚀

Overview

Introducing the Solana Ultra-Fast New Token Sniper written in Rust 🦀, designed to detect newly launched tokens on both Raydium and Pump.fun and execute buys at lightning speed ⚡. With Rust's memory safety features and performance optimizations, built with Rust for superior performance and security. Tailored for both novice and experienced traders.


Key Features

🚀 Speed and Efficiency

  • Lightning-Quick Transactions: Leveraging Rust's exceptional performance, our bot allows you to snipe new tokens almost instantly. Say goodbye to delays and seize opportunities as they arise!

🔒 Safety First

  • Robust Security: Rust's safety guarantees minimize bugs and vulnerabilities, ensuring your trading activities are secure. Trade with confidence and peace of mind.

📊 Multiple gRPC Connections

  • Stay Updated: Effortlessly connect to top Solana data providers like Helius and Yellowstone through multiple gRPC connections. Get real-time updates and make informed trading decisions.

👩‍💻 User-Friendly Interface

  • Intuitive Design: Our sniper bot features a clean and accessible interface, making it easy for users of all experience levels to navigate. Start trading in no time!

🛠️ Rich Utilities

  • Advanced Features:
    • jito-confirm: Engage in low-latency transactions on platforms like Raydium and Pumpfun.
    • jito-bundle: Bundle buy/sell actions with up to 20 wallets in Raydium/Pumpfun, enhancing your trading strategy and flexibility.

Directory Structure

src/
├── core/
│   ├── token.rs        # Token definitions and handling
│   └── tx.rs        # Transaction handling
| 
├── engine/
│   ├── swap.rs        # Token swap(buy/sell) functionalities in various Dexs
│   └── monitor        # New token monitoring(and parse tx) in Dexs using geyser rpc, and normal rpc
│       └── helius.rs        # Helius gRpc for tx listen and parse.
│       └── yellowstone.rs        # Yellowstone gRpc for tx listen and parse.
|
├── dex/
│   ├── pump_fun.rs        # Pump.fun
│   ├── raydium.rs        # Raydium
│   ├── meteora.rs        # Meteora
│   └── orca.rs        # Orca
│
├── services/
│   ├── jito.rs        # Jito service provides ultra-fast transaction confirmation
│   └── nextblock.rs        # NextBlock service provides the ultra-fast transaction confirmation in unique way
|
├── common/
│   ├── logger.rs        # Logs to be clean and convenient to monitor.
│   └── utils.rs        # Utility functions used across the project
│
├── lib.rs
└── main.rs

Trial Versions

Solana RayPump Sniper (Executioner Trial)

🗂️ solana-rust-raypump-sniper(executioner-trial).zip

Strategy Details:

  • Entry Trigger: Monitor user purchases of tokens valued at $1,000; execute a buy order upon detection.
  • Exit Trigger: Monitor user sales of tokens valued at $300; execute a sell order upon detection.
  • Time Limitation: If a position remains open for more than 60 seconds, initiate an automatic sell.
    (Note: The $1,000 and $300 purchase/sale thresholds, as well as the 60-second time limit, are adjustable parameters via environment settings.)

How To Run

  1. Environment Variables Settings
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
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
JITO_TIP_VALUE=0.004
BUY_THRESHOLD=1000
SELL_THRESHOLD=300
TIME_EXCEED=60
TOKEN_AMOUNT=0.000001
  1. Add the wallet address you want to block on a new line and save the file.
0x1234567890abcdef1234567890abcdef12345678
0xabcdef1234567890abcdef1234567890abcdef12
  1. Run raypump-executioner-bot.exe.

image


Test Result: Same Block

2-22-2025-09-41


Support

As the experimental result, the best environment for running this bot is to use dedicated server located in NY.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages