| name | pump-trader |
| description | 24/7 automated trading on Pump.fun bonding curves and PumpSwap AMM. Creates tokens, buys/sells on bonding curves, migrates to AMM, and provides liquidity. Fully automated with customizable strategies. |
| allowed-tools | Bash(pump:create), Bash(pump:buy), Bash(pump:sell), Bash(pump:migrate), Bash(pump:estimate) |
🪙 Pump Trader — Automated 24/7 Solana Trading
You have access to Pump.fun bonding curves and PumpSwap AMM for fully automated token trading on Solana. All operations use the operator wallet configured by your host — never expose your secret key.
Core Operations
Create a Token
Creates a new SPL token on Pump.fun's bonding curve in one transaction:
pump create --name "My Token" --symbol "MYT" --uri "https://example.com/metadata.json"
Buy Tokens
Buy tokens on any Pump.fun bonding curve:
pump buy --mint <MINT_ADDRESS> --amount <TOKEN_AMOUNT> --max-sol <MAX_SOL_LAMPORTS>
Sell Tokens
Sell tokens back to the bonding curve:
pump sell --mint <MINT_ADDRESS> --amount <TOKEN_AMOUNT> --min-sol <MIN_SOL_LAMPORTS>
Migrate to AMM
When a bonding curve completes (real_token_reserves == 0), migrate liquidity to PumpSwap:
pump migrate --mint <MINT_ADDRESS>
PumpSwap Operations
pump swap buy --pool <POOL> --base-amount <AMOUNT> --max-quote <MAX>
pump swap sell --pool <POOL> --base-amount <AMOUNT> --min-quote <MIN>
pump swap deposit --pool <POOL> --lp <AMOUNT> --max-base <MAX> --max-quote <MAX>
pump swap withdraw --pool <POOL> --lp <AMOUNT> --min-base <MIN> --min-quote <MIN>
Bonding Curve Economics
Pump.fun uses a Uniswap V2-style bonding curve with virtual reserves:
| Parameter | Value |
|---|
| Virtual Token Reserves | 1,073,000,000,000,000 |
| Virtual SOL Reserves | 30 SOL (30,000,000,000 lamports) |
| Real Token Reserves (start) | 793,100,000,000,000 |
| Total Supply | 1,000,000,000,000,000 |
| Fee | 100 bps (1%) |
Formula
cost_in_sol = (token_amount * virtual_sol_reserves) / (virtual_token_reserves - token_amount)
fee = cost * 1%
total_cost = cost + fee
Key Behaviors
- Early buyers get better prices (curve is shallow at the start)
- Curve "completes" when real_token_reserves == 0 = all tokens sold
- Graduation = liquidity migrated to PumpSwap AMM (25 bps total fees)
Automated Trading Strategies
Strategy 1: New Token Sniper
- Watch Pump.fun for new token creations via RPC polling
- Calculate if the initial buy is economically viable
- Buy fixed percentage of supply immediately
- Set take-profit (3x) and stop-loss (-50%)
- Execute at target
Strategy 2: Curve Completion Scout
- Monitor curves where real_token_reserves approaches 0
- Buy before migration — price spike on PumpSwap migration
- Sell on PumpSwap after migration
Strategy 3: AMM Arbitrage
- Compare PumpSwap vs external market prices (Raydium, Orca)
- Execute when profitable after fees (25 bps PumpSwap)
- Requires SOL for gas + token balances on both sides
Strategy 4: Dollar-Cost Averaging
- Set total position size (e.g. 5 SOL)
- Split into N equal buys (e.g. 10 x 0.5 SOL)
- Execute at regular intervals (e.g. every 30 min)
- Sell all at target price
Leviathan Integration — Survival Economics
Trading generates SOL/USDC to fund operations, directly feeding the depth-tier economics:
Depth-Mapped Strategy Matrix
| Depth | Strategies | Max Position | Check Interval | Revenue Target |
|---|
| Deep | Sniper, Scout, Arbitrage, DCA | 10% wallet | 60s | ≥$5 USDC/hr |
| Shallow | DCA only, Scout passive | 5% wallet | 5 min | ≥$1 USDC/hr |
| Shoreline | Close positions, no new entries | 0% | 15 min | Survival — stop bleeding |
| Beached | HALT ALL TRADING | 0% | — | Notify creator |
Revenue → Depth Pipeline
- Trading profits accumulate in the operator wallet
- Profits are swept to the agent's USDC reserve periodically
- Revenue is tracked in shell.db (
tail_flicks + claw_strikes)
- Higher revenue unlocks deeper tiers → more aggressive trading → more revenue
- If a position hits -75%, lock that mint (no re-entry for 24h)
- $CLAWD staking bonus: Holding $CLAWD (
8cHzQHUS2s2h8TzCmfqPKYiM4dSt4roa3n7MyRLApump) reduces fee impact by 10%
Automated Sweep Logic
every 300 ticks (Deep) or every 60 ticks (Shallow):
balance = solana balance (operator)
if balance > threshold:
sweep excess to USDC reserve via Jupiter swap
record in shell.db
update depth assessment
Risk Management (Mandatory)
- Never bet >10% of wallet per trade without explicit approval
- Always set slippage limits (maxSolCost / minSolOutput)
- Verify token mint exists before buying
- Simulate a sell before first buy (honeypot check)
- Respect depth tiers — don't trade your rent
- Log every trade to
/workspace/agent/trades/
Configuration
SOLANA_RPC_URL=https://api.mainnet-beta.solana.com
SOLANA_OPERATOR_KEYPAIR=/path/to/keypair.json
PUMP_DEFAULT_SLIPPAGE_BPS=500
PUMP_MAX_POSITION_SIZE_SOL=0.1
PUMP_MAX_CONCURRENT_POSITIONS=5
PUMP_DEFAULT_STRATEGY=sniper