π Telegram Support:
π @solanabull0
Solana Pump.fun Sniper Bot is a high-performance Rust-based Solana trading bot designed specifically for sniping Pump.fun token launches with extreme speed, safety filters, and automated risk management.
Unlike generic Solana trading bots, this project is Pump.fun-native, focusing on real-time detection, ultra-fast execution, and capital protection.
Built with Rust for maximum speed, reliability, and low latency.
This software is provided for educational and research purposes only.
Cryptocurrency trading involves significant risk.
You are fully responsible for any losses.
Never trade with funds you cannot afford to lose.
- Written in Rust for ultra-low latency
- Async execution using Tokio
- Optimized Solana transaction pipeline
- Native WebSocket log subscriptions
- Instant detection of new Pump.fun token launches
- No polling, no delays
- Mint & freeze authority checks
- Liquidity & market cap validation
- Honeypot & scam pattern detection
- Creator wallet blacklist support
- Auto-buy & auto-sell
- Take-profit, stop-loss, trailing stop-loss
- Trade cooldown & rate limiting
- Dedicated wallet support
- Exposure & frequency limits
- Suspicious token auto-rejection
- Test strategies without risking real SOL
- Ideal for tuning & strategy validation
- Rust β High-performance systems language
- Tokio β Async runtime
- Solana SDK β Native blockchain integration
- WebSockets β Real-time log monitoring
- Serde β Configuration & data serialization
- Tracing β Structured logging
- Rust (via
rustup) - Solana RPC provider (Helius recommended)
git clone https://github.com/yourname/solana-pumpfun-sniper-bot
cd solana-pumpfun-sniper-bot
cargo build --releasecp env.example .envRPC_URL=https://mainnet.helius-rpc.com/?api-key=YOUR_API_KEY
WS_URL=wss://mainnet.helius-rpc.com/?api-key=YOUR_API_KEY
PRIVATE_KEY=YOUR_PRIVATE_KEYBUY_AMOUNT_SOL=0.1
MAX_SLIPPAGE=25
TAKE_PROFIT_PERCENTAGE=100
STOP_LOSS_PERCENTAGE=30
TRAILING_STOP_LOSS_PERCENTAGE=10MIN_LIQUIDITY=5
MIN_MARKET_CAP=1000
MAX_MARKET_CAP=25000
TRADING_COOLDOWN_MS=5000
MAX_TRADES_PER_HOUR=10SIMULATION_MODE=trueSIMULATION_MODE=true
RUST_LOG=solana_pumpfun_sniper=debug cargo runcargo build --release
./target/release/solana-pumpfun-sniper- Subscribes to Pump.fun program logs
- Instantly detects new token launches
- Validates liquidity, market cap, authorities
- Scores tokens based on safety & momentum
- Builds native Solana transactions
- Sends optimized transactions via RPC
- Tracks positions & PnL in real time
BUY_AMOUNT_SOL=0.05
TAKE_PROFIT_PERCENTAGE=50
STOP_LOSS_PERCENTAGE=20
MAX_TRADES_PER_HOUR=5BUY_AMOUNT_SOL=0.2
TAKE_PROFIT_PERCENTAGE=200
STOP_LOSS_PERCENTAGE=50
MAX_TRADES_PER_HOUR=20src/
βββ main.rs
βββ config.rs
βββ monitors/
βββ traders/
βββ utils/
βββ types.rs
- PumpFunMonitor β Real-time launch detection
- TokenAnalyzer β Safety & opportunity scoring
- Trader β Buy/sell execution
- TransactionBuilder β Instruction creation
Is this a Pump.fun sniper bot? β Yes. It is exclusively designed for Pump.fun token launches.
Is Rust faster than Node.js bots? β Yes. Rust offers lower latency and better memory safety.
Can I test without real money? β Yes. Simulation mode is included.
Does this prevent rug pulls?
WebSocket connection failed
- Verify
WS_URL - Use a paid RPC (Helius / QuickNode)
Transaction failed
- Increase slippage
- Ensure enough SOL for fees
Rate limited
- Lower
MAX_TRADES_PER_HOUR - Increase cooldown
Contributions are welcome.
- Fork the repository
- Create a feature branch
- Add tests
- Open a Pull Request
MIT License
Automated trading bots do not eliminate risk. Start small, monitor performance, and trade responsibly.
π Telegram Support: π @solanabull0
β If this repository helps you, please star it β it improves GitHub & Google visibility.