Awesome-openclaw-skills pump-fun
Buy, sell, and launch tokens on Pump.fun using the PumpPortal API
install
source · Clone the upstream repo
git clone https://github.com/sundial-org/awesome-openclaw-skills
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/sundial-org/awesome-openclaw-skills "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/pump-fun" ~/.claude/skills/sundial-org-awesome-openclaw-skills-pump-fun && rm -rf "$T"
OpenClaw · Install into ~/.openclaw/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/sundial-org/awesome-openclaw-skills "$T" && mkdir -p ~/.openclaw/skills && cp -r "$T/skills/pump-fun" ~/.openclaw/skills/sundial-org-awesome-openclaw-skills-pump-fun && rm -rf "$T"
manifest:
skills/pump-fun/SKILL.mdsource content
Pump.fun Trading Skill
This skill enables trading and launching tokens on Pump.fun through the PumpPortal API.
Commands
Buy Tokens
Buy tokens on Pump.fun by specifying the token mint address and amount.
Usage:
/pump-buy <mint_address> <amount_sol> [slippage]
Examples:
- Buy 0.1 SOL worth of tokens/pump-buy 7xKXtg2CW87d97TXJSDpbD5jBkheTqA83TZRuJosgAsU 0.1
- Buy with 15% slippage/pump-buy 7xKXtg2CW87d97TXJSDpbD5jBkheTqA83TZRuJosgAsU 0.5 15
Sell Tokens
Sell tokens on Pump.fun by specifying the token mint address and amount.
Usage:
/pump-sell <mint_address> <amount|percentage> [slippage]
Examples:
- Sell 1,000,000 tokens/pump-sell 7xKXtg2CW87d97TXJSDpbD5jBkheTqA83TZRuJosgAsU 1000000
- Sell all tokens/pump-sell 7xKXtg2CW87d97TXJSDpbD5jBkheTqA83TZRuJosgAsU 100%
- Sell 50% with 10% slippage/pump-sell 7xKXtg2CW87d97TXJSDpbD5jBkheTqA83TZRuJosgAsU 50% 10
Launch Token
Create and launch a new token on Pump.fun.
Usage:
/pump-launch <name> <symbol> <description> [dev_buy_sol]
Examples:
- Launch with 1 SOL dev buy/pump-launch "My Token" MTK "A revolutionary token" 1
- Launch with default dev buy/pump-launch "Cool Coin" COOL "The coolest coin ever"
Configuration
Required Environment Variables
- Your Solana wallet private key (base58 encoded)SOLANA_PRIVATE_KEY
Optional Environment Variables
- Custom RPC endpoint (defaults to public mainnet)SOLANA_RPC_URL
- Priority fee in SOL (default: 0.0005)PUMP_PRIORITY_FEE
- Default slippage percentage (default: 10)PUMP_DEFAULT_SLIPPAGE
Setup
-
Install dependencies:
cd {baseDir} npm install -
Set your environment variables:
export SOLANA_PRIVATE_KEY="your-base58-private-key" -
(Optional) Configure custom RPC:
export SOLANA_RPC_URL="https://your-rpc-endpoint.com"
Security Notes
- Never share your private key
- Use a dedicated trading wallet with limited funds
- Start with small amounts to test
- The skill uses the Local Transaction API for maximum security (transactions are signed locally)
Fees
- PumpPortal charges a 0.5% fee per trade
- Standard Solana network fees apply
- Priority fees are configurable
Supported Pools
The skill automatically selects the best pool, but supports:
- Pump.fun bonding curvepump
- Raydium AMM (for graduated tokens)raydium
- Pump.fun AMMpump-amm
- Automatic pool selection (default)auto