This is an advanced Pump.fun sniper bot designed to automatically detect and execute trades on new token launches on the Solana blockchain. The bot monitors Pump.fun for newly listed tokens and executes lightning-fast buys before price surges.
- ✅ Real-time token launch detection on Pump.fun
- ✅ Instant buy execution with low-latency Solana transactions
- ✅ Customizable snipe settings (amount, slippage, gas priority, etc.)
- ✅ Auto-sell feature to secure profits
- ✅ Wallet integration with Phantom or Sollet
- The bot continuously scans Pump.fun for newly listed tokens.
- It evaluates liquidity and token contract details to filter out potential scams.
- Upon detecting a valid opportunity, it instantly executes a buy transaction.
- If auto-sell is enabled, it will sell the token at a predefined profit target.
- Node.js (or Python if the bot is written in Python)
- Solana CLI
- Phantom or Sollet wallet
- RPC node access (e.g., QuickNode, Alchemy, or public Solana RPCs)
- Clone the repository:
git clone https://github.com/bitfancy/pumpfun-sniper-bot.git cd pumpfun-sniper-bot
- Install dependencies:
npm install # or pip install -r requirements.txt if using Python
- Set up your environment variables in a
.env
file:PRIVATE_KEY="your_wallet_private_key" RPC_URL="your_solana_rpc_url"
- Run the bot:
npm start # or python bot.py if using Python
You can customize the bot's behavior using a configuration file (config.json
or .env
variables). Key parameters include:
- Buy amount: Amount to invest per trade
- Slippage tolerance: Maximum acceptable price slippage
- Auto-sell strategy: Set take-profit and stop-loss thresholds
- Gas priority: Adjust transaction speed priority
- High volatility: Newly launched tokens can be extremely volatile.
- Scam risk: Some projects may have rug-pull mechanisms.
- Transaction failures: Network congestion or RPC issues may cause failed transactions.
- Security: Never expose your private keys. Use environment variables for sensitive information.
This project is licensed under the MIT License.
Pull requests and improvements are welcome! Feel free to submit issues or feature requests.
For questions or collaboration, reach out via Telegram: @bitfancy