Advanced token bundler for Pump.fun platform on Solana blockchain.
- Single-Wallet Mode: Create and manage tokens from one wallet
- Multi-Wallet Mode: Distribute purchases across multiple wallets for bundling
- Auto-Snipe Mode: Automatically sell when price spikes
- Automatic Trading: Create, monitor, and sell tokens automatically
- Real-time Price Monitoring: Track token prices in real-time
- Statistics Tracking: Monitor profits, token creation, and sales
- Node.js (v16 or higher)
- npm or yarn
- Solana wallet with SOL
- Pump Portal API key
- QuickNode RPC endpoint (or other Solana RPC)
- Clone the repository:
git clone https://github.com/mdarko79/pump-fun-bundler.git
cd pump-fun-bundler- Install dependencies:
npm install- Create
.envfile in the root directory:
PUMP_PORTAL_API_KEY=your_api_key_here
LIGHTNING_WALLET=your_wallet_public_key
RPC_URL=your_rpc_url
WS_URL=your_websocket_url
LIGHTNING_SECRET_KEY=your_secret_key_here
WALLET_COUNT=0Set WALLET_COUNT=0 in .env file. All operations will use the main Lightning wallet.
Set WALLET_COUNT=20 (or any number) in .env file. The bundler will generate and manage multiple wallets for distributed purchases.
Run the bundler:
npm start- Generate wallets (multi-wallet only) - Creates and funds multiple wallets
- Create token - Creates a new token with random name/symbol from predefined list
- Sell tokens - Sells all tokens from wallet(s)
- Show statistics - Displays profits, tokens created, and sales
- Automatic mode - Fully automated create → monitor → sell cycle
- Exit - Closes the bundler
- Auto-snipe mode - Monitors for quick price spikes and sells automatically
- Create token + auto-snipe - Creates token and monitors for 60 seconds
.env file to GitHub!
- Keep your private keys secure
- Use environment variables for sensitive data
- The
.gitignorefile is configured to exclude sensitive files
MyBundler/
├── main.ts # Main application code
├── .env # Environment variables (NOT committed)
├── _env # Environment template (NOT committed)
├── wallets.json # Generated wallets (NOT committed)
├── package.json # Dependencies
├── tsconfig.json # TypeScript configuration
└── README.md # This file
- @solana/web3.js - Solana blockchain interaction
- bs58 - Base58 encoding/decoding
- chalk - Terminal styling
- dotenv - Environment variable management
- node-fetch - HTTP requests
- prompt-sync - User input
- form-data - Multipart form data
-
Token Creation:
- Selects random token data from predefined list
- Uploads metadata to IPFS
- Creates token on Pump.fun
- Optionally purchases from multiple wallets
-
Price Monitoring:
- Fetches real-time price from Pump.fun API
- Compares against profit threshold
- Triggers sell when target reached
-
Auto-Snipe:
- Monitors price changes in 200ms intervals
- Detects rapid price increases (spikes)
- Executes immediate sell on spike detection
This software is for educational purposes only. Use at your own risk. Trading cryptocurrencies involves substantial risk of loss. The authors are not responsible for any financial losses.
MIT License - See LICENSE file for details
mdarko79
For issues and questions, please open an issue on GitHub.