Skip to content
Back to skills

Pump Fun

ASecurity

Buy, sell, and launch tokens on Pump.fun using the PumpPortal API

  • 651 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added February 10, 2026
toolsbashapisecurity

Works with

  • api

Security analysis

A96/100
  • mediumInstalls packages at runtime which could introduce malicious dependencies

Pro scans all 13 files and shows the line behind each finding

Scanned February 12, 2026

npx -y skills add sundial-org/awesome-openclaw-skills --skill pump-fun --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Pump Fun?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Pump Fun
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/sundial-org-pump-fun/badge)](https://www.skillsdirectory.com/skills/sundial-org-pump-fun)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: pump-fun
description: Buy, sell, and launch tokens on Pump.fun using the PumpPortal API
homepage: https://pump.fun
user-invocable: true
metadata: {"moltbot":{"requires":{"env":["SOLANA_PRIVATE_KEY"]},"primaryEnv":"SOLANA_PRIVATE_KEY"}}
---

# 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:**
- `/pump-buy 7xKXtg2CW87d97TXJSDpbD5jBkheTqA83TZRuJosgAsU 0.1` - Buy 0.1 SOL worth of tokens
- `/pump-buy 7xKXtg2CW87d97TXJSDpbD5jBkheTqA83TZRuJosgAsU 0.5 15` - Buy with 15% slippage

### Sell Tokens
Sell tokens on Pump.fun by specifying the token mint address and amount.

**Usage:** `/pump-sell <mint_address> <amount|percentage> [slippage]`

**Examples:**
- `/pump-sell 7xKXtg2CW87d97TXJSDpbD5jBkheTqA83TZRuJosgAsU 1000000` - Sell 1,000,000 tokens
- `/pump-sell 7xKXtg2CW87d97TXJSDpbD5jBkheTqA83TZRuJosgAsU 100%` - Sell all tokens
- `/pump-sell 7xKXtg2CW87d97TXJSDpbD5jBkheTqA83TZRuJosgAsU 50% 10` - Sell 50% with 10% slippage

### Launch Token
Create and launch a new token on Pump.fun.

**Usage:** `/pump-launch <name> <symbol> <description> [dev_buy_sol]`

**Examples:**
- `/pump-launch "My Token" MTK "A revolutionary token" 1` - Launch with 1 SOL dev buy
- `/pump-launch "Cool Coin" COOL "The coolest coin ever"` - Launch with default dev buy

## Configuration

### Required Environment Variables
- `SOLANA_PRIVATE_KEY` - Your Solana wallet private key (base58 encoded)

### Optional Environment Variables
- `SOLANA_RPC_URL` - Custom RPC endpoint (defaults to public mainnet)
- `PUMP_PRIORITY_FEE` - Priority fee in SOL (default: 0.0005)
- `PUMP_DEFAULT_SLIPPAGE` - Default slippage percentage (default: 10)

## Setup

1. Install dependencies:
   ```bash
   cd {baseDir}
   npm install
   ```

2. Set your environment variables:
   ```bash
   export SOLANA_PRIVATE_KEY="your-base58-private-key"
   ```

3. (Optional) Configure custom RPC:
   ```bash
   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` - Pump.fun bonding curve
- `raydium` - Raydium AMM (for graduated tokens)
- `pump-amm` - Pump.fun AMM
- `auto` - Automatic pool selection (default)

Files in this skill

  • README.md7.1 KB
  • SKILL.md2.8 KB
  • docker-compose.yml939 B
  • entrypoint.sh1.1 KB
  • package-lock.json37.5 KB
  • package.json910 B
  • src/cli.ts5.1 KB
  • src/config.ts1.3 KB
  • src/index.ts1.4 KB
  • src/launch.ts8.9 KB
  • src/trade.ts6.6 KB
  • src/utils.ts3.8 KB
  • tsconfig.json501 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.