Loading...
Loading...
Coordinated multi-wallet trading on Pump.fun
npx skill4agent add alsk1992/cloddsbot pump-swarm# Set up wallets
export SOLANA_PRIVATE_KEY="your-main-wallet-key" # wallet_0
export SOLANA_SWARM_KEY_1="second-wallet-key" # wallet_1
export SOLANA_SWARM_KEY_2="third-wallet-key" # wallet_2
# ... up to SOLANA_SWARM_KEY_20
# Optional
export SOLANA_RPC_URL="https://your-rpc.com"
export PUMPPORTAL_API_KEY="your-api-key"/swarm wallets List all swarm wallets with addresses
/swarm balances Fetch SOL balances from chain
/swarm enable <wallet_id> Enable a wallet for trading
/swarm disable <wallet_id> Disable a wallet/swarm buy <mint> <sol> [options] Buy with all enabled wallets
/swarm sell <mint> <amount|%> [opts] Sell from wallets with positions/swarm position <mint> Show cached token positions
/swarm refresh <mint> Fetch fresh positions from chain (required before sell)| Mode | Flag | Best For | Description |
|---|---|---|---|
| Parallel | | Speed (>5 wallets) | All wallets execute simultaneously |
| Bundle | | Atomicity (≤5) | Single Jito bundle, all-or-nothing |
| Multi-Bundle | | Atomicity (6-20) | Multiple Jito bundles in parallel |
| Sequential | | Stealth | Staggered 200-400ms delays |
| Option | Description |
|---|---|
| Apply a saved preset |
| Use specific wallets only |
| Slippage tolerance (default: 500 = 5%) |
| Pool: pump, raydium, auto (pumpfun only) |
| DEX: pumpfun (default), bags, meteora |
| Specific pool address (for Meteora) |
# Buy 0.1 SOL worth on each enabled wallet (auto mode)
/swarm buy ABC123mint... 0.1
# Buy with specific wallets only
/swarm buy ABC123mint... 0.2 --wallets wallet_0,wallet_1
# Buy with a preset
/swarm buy ABC123mint... 0.1 --preset stealth
# Sell 100% with multiple Jito bundles (for >5 wallets)
/swarm sell ABC123mint... 100% --multi-bundle
# Sell 50% with staggered timing (stealth mode)
/swarm sell ABC123mint... 50% --sequential
# Sell with preset
/swarm sell ABC123mint... 100% --preset fast
# Check positions before selling
/swarm refresh ABC123mint...
/swarm position ABC123mint...
# Multi-DEX examples
/swarm buy ABC123mint... 0.1 --dex bags # Buy on Bags.fm
/swarm buy ABC123mint... 0.1 --dex meteora # Buy on Meteora DLMM
/swarm sell ABC123mint... 100% --dex bags # Sell on Bags.fmPromise.all| Env Variable | Description |
|---|---|
| Main wallet (wallet_0) |
| Additional swarm wallets |
| Custom RPC endpoint (faster = better) |
| PumpPortal API key (optional, for pumpfun) |
| Bags.fm API key (required for bags DEX) |
| DEX | Flag | Best For | Requires |
|---|---|---|---|
| Pump.fun | | Memecoins, new launches | |
| Bags.fm | | Bags-launched tokens | |
| Meteora | | DLMM pools, concentrated liquidity | - |
# Buy on Pump.fun (default)
/swarm buy ABC123... 0.1
# Buy on Bags.fm
/swarm buy ABC123... 0.1 --dex bags
# Buy on Meteora with specific pool
/swarm buy ABC123... 0.1 --dex meteora --pool-address <pool_address>
# Sell on Bags.fm with stealth preset
/swarm sell ABC123... 100% --dex bags --preset stealthpumpfunBAGS_API_KEY--pool-address| Tool | Description |
|---|---|
| List all swarm wallets |
| Refresh SOL balances from chain |
| Coordinated buy across wallets (supports |
| Coordinated sell across wallets (supports |
| Get cached positions |
| Fetch fresh positions from chain |
| Enable a wallet |
| Disable a wallet |
| Save a trading preset |
| List saved presets |
| Get preset details |
| Delete a preset |
/swarm preset save <name> [options] Save a preset
/swarm preset list [type] List presets
/swarm preset show <name> Show preset details
/swarm preset delete <name> Delete a preset| Option | Description |
|---|---|
| Preset type: strategy, token, wallet_group |
| Preset description |
| Token address (for token presets) |
| Default SOL per wallet |
| Slippage in basis points |
| Pool: pump, raydium, auto |
| parallel, bundle, multi-bundle, sequential |
| Wallet IDs (for wallet_group presets) |
| Name | Mode | Slippage | Pool | Use Case |
|---|---|---|---|---|
| parallel | 5% | auto | Speed priority |
| multi-bundle | 5% | auto | All-or-nothing execution |
| sequential | 3% | auto | Pattern avoidance |
| parallel | 10% | pump | High volatility tokens |
| bundle | 2% | auto | Conservative trading |
# Create a custom strategy preset
/swarm preset save my_stealth --type strategy --mode sequential --slippage 300
# Create a token preset for BONK
/swarm preset save bonk_entry --type token --mint DezXAZ... --slippage 1000 --amount 0.1
# Create a wallet group preset
/swarm preset save top5 --type wallet_group --wallets wallet_0,wallet_1,wallet_2,wallet_3,wallet_4
# List all presets
/swarm preset list
# List only strategy presets
/swarm preset list strategy
# Use preset in trade
/swarm buy ABC... 0.1 --preset my_stealth
/swarm sell ABC... 100% --preset fast
# Delete a preset
/swarm preset delete old_preset| Type | Purpose |
|---|---|
| Reusable trading settings (mode, slippage, pool) |
| Token-specific settings with saved mint address |
| Named wallet combinations for specific trades |
| Issue | Solution |
|---|---|
| Bundle keeps failing | Try |
| Positions not showing | Run |
| Insufficient balance | Check with |
| Slow execution | Use dedicated RPC via |
| Some wallets skipped | Wallet disabled or insufficient balance |
| Preset not found | Check name with |