First2win
A 24/7 pump.fun trading bot, security-audited, hardened for real money and measured after fees.
(80%)1cost per trade, 0.0037 → 0.0007 SOL
Problem
I wanted to test an automated pump.fun strategy: buy brand-new coins right after the creator’s own purchase, then exit within a minute. I found an open-source bot for it on GitHub, but a new crypto bot that asks for your wallet key is a classic way to spread malware. I also had no way to see what it was doing, couldn’t run it 24/7, and didn’t want a bug to cost real money.
What I built
I security-audited the open-source FirstKiller bot (no malware), locked it to the reviewed version, then extended it:
- Trade log: every buy and sell is recorded and replayed, so restarts lose nothing.
- Practice / real-money switch: only works if a wallet key is on the server, and you type LIVE to confirm. Anything unclear falls back to practice.
- Real-money safety: Jito confirmation of every trade, sells based on the wallet’s actual balance, retries with backoff, and recovery after restarts.
- True results: profit and loss after fees, measured from the real transactions.
- Private dashboard: works on phone and PC, reachable only through Tailscale.
- Free 24/7 hosting: deployed on an Oracle Cloud Always Free server.
- Live-trading fixes: when live buys kept failing, I simulated them on the network and found pump.fun had moved to Token-2022 coins and new v3 instructions. I rebuilt buying and selling from pump.fun’s official IDL, checked by simulating on live coins, and fixed an upstream bug that stopped held coins from ever selling.
- Lower costs: token accounts now close on every sell so the rent comes back, plus a smaller Jito tip.
Outcome
A bot that trades 24/7 on a free cloud server, at a small test size, with a phone dashboard showing true after-fees results. Costs per trade fell about 80%, and it has 134 automated tests. The honest result is that the strategy lost money even before fees. Measuring that accurately within a day, at a tiny size, was exactly what the setup was for.2
Tools
- Claude Code
- Node.js
- Solana web3.js
- SPL Token (Token-2022)
- Jito bundles
- Helius RPC
- Oracle Cloud
- Tailscale
- systemd
| Practice mode | 77 trades | +0.40 SOL |
|---|---|---|
| Real money, before fees | 1,056 trades | (0.19) SOL |
| Real money, after fees, tips and rent | 8% win rate | (0.96) SOL |
| Cost per trade | from 0.0037 SOL | 0.0007 SOL |






