Autonomous AI trading bot for pump.fun. Scans tokens in real-time, scores with 8-factor signals + Claude AI, executes on Solana. Fork the repo. Configure your keys. Run locally.
Streams every new token launch, trade, and migration via PumpPortal WebSocket. Sub-second latency.
8-dimension signal engine + Claude Haiku narrative scoring. Every token evaluated before entry.
PumpPortal local-transaction API with priority fees. Tiered take-profit + trailing stop exits.
Claude Sonnet 4 makes buy/sell decisions, writes post-mortems, and evolves strategy over time.
SQLite-backed vector retrieval over past trades. The bot remembers and improves from its own history.
React dashboard with live positions, trade history, AI chat, thinking panel, and config editor.
Pumpberg runs entirely on your machine. You bring your own API keys. Nothing is uploaded. Your private key never leaves your computer.
Requires Node.js v20+ and Git.
git clone https://github.com/pumpberg/pumpberg.git cd pumpberg npm install cd dashboard && npm install && cd ..
Copy the example config and fill in your keys. Open .env in any text editor.
cp .env.example .env # ---- Required ---- PUMP_TRADER_PRIVATE_KEY=your_base58_private_key PUMP_TRADER_PUBLIC_KEY=your_solana_public_key PUMP_TRADER_RPC_URL=wss://mainnet.helius-rpc.com/?api-key=YOUR_KEY PUMP_TRADER_API_KEY=your_pumpportal_api_key # ---- AI Engine ---- ANTHROPIC_API_KEY=sk-ant-api03-your_key_here # ---- Dashboard ---- PUMP_TRADER_ADMIN_USERNAME=admin PUMP_TRADER_ADMIN_PASSWORD=set_a_strong_password
The bot starts in dry-run mode by default -- no real SOL at risk. Open the dashboard to monitor, chat with the AI, and toggle live trading when ready.
# Start the trading bot + API server npm start # In a second terminal -- start the dashboard npm run dashboard:dev # Open http://localhost:3847 in your browser
Step-by-step for each service you need.
Go to pumpportal.fun/trading-api. Click "Generate New Wallet" -- it gives you a base58 private key and public key. Copy both. Save the private key securely, you cannot recover it. Then send SOL to the public key address from any exchange or wallet. Start with 0.1-0.5 SOL.
Go to helius.dev. Sign up (free). Go to Dashboard, create a new project. Copy the WebSocket URL -- it looks like wss://mainnet.helius-rpc.com/?api-key=abc123. Free tier gives 100K requests/day.
Go to console.anthropic.com. Sign up, add $5+ in credits. Go to API Keys, click "Create Key". Copy the key -- it starts with sk-ant-api03-. This powers both token scoring (Haiku) and the autonomous agent (Sonnet 4).
Go to pumpportal.fun/trading-api. Sign up or log in. Navigate to your dashboard and generate an API key. This enables fast trade execution and the real-time WebSocket feed. Free to create.
After creating your wallet, send SOL to the public key address. The bot needs SOL to execute buy transactions on pump.fun.
The bot trades in small positions (configurable). 0.1 SOL is enough to learn how it works. You can always add more later. The bot starts in dry-run mode regardless.
Use Phantom, Solflare, Coinbase, Binance, or any Solana-compatible source. Send to your PUMP_TRADER_PUBLIC_KEY address. Confirms in seconds.
Check your balance at solscan.io by searching your public key. The dashboard also shows your SOL balance in real-time once the bot starts.
Watch our own Pumpberg bot trade in real-time. Every trade, every decision, every P&L -- verifiable on-chain via Solscan.
Trading memecoins is extremely risky. The vast majority of pump.fun tokens go to zero. Only ~0.4% of tokens graduate from the bonding curve. This software is for educational and research purposes. Never trade with money you cannot afford to lose. The bot starts in dry-run mode by default. Past performance does not guarantee future results.
Your private key and API keys are stored locally in your .env file and never uploaded anywhere. Pumpberg is open source -- inspect the code yourself. Use a dedicated trading wallet, not your main wallet. The developers are not responsible for any financial losses.