PumpFun Sniper Documentation
Welcome to the official documentation for the AllenHark PumpFun Sniper. This bot is designed for high-frequency trading on the PumpFun platform, allowing you to snipe new token launches with millisecond precision.
Features
- 0-Block Sniping: Detects and buys tokens in the very first block they are tradable.
- Mempool Monitoring: Scans the mempool for pending liquidity addition transactions.
- Auto-Sell: Configurable take-profit and stop-loss strategies.
- Anti-Rug: Basic checks to avoid obvious rug pulls (e.g., mint authority disabled).
Installation
1npm install @allenhark/pumpfun-sniperConfiguration
Create a config.json file in your project root:
1{
2 "rpc_url": "https://api.mainnet-beta.solana.com",
3 "private_key": "YOUR_PRIVATE_KEY",
4 "buy_amount": 0.1,
5 "slippage": 10
6}Usage
Run the bot with the following command:
1node sniper.js --token TOKEN_ADDRESS