pumpfun

Implements token launches, bonding curve trades, and AMM liquidity operations on PumpFun for Solana.

6|20|Updated Mar 14, 2026
One-click install
npx skills add https://github.com/andresdefi/cryptoskills --skill pumpfun-andresdefi
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pumpfun
Source: https://github.com/andresdefi/cryptoskills/tree/main/skills/pumpfun
Command: npx skills add https://github.com/andresdefi/cryptoskills --skill pumpfun-andresdefi

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires @solana/web3.js, @solana/spl-token, @pump-fun/pump-sdk, @pump-fun/pump-swap-sdk, bs58, and includes references (resource) components.

What problem does it solve? AI agents and developers lack accurate, up-to-date knowledge of PumpFun's on-chain programs, leading to hallucinated program addresses, outdated instruction layouts, and failed transactions when building token launch or trading integrations on Solana. ## Core Features & Use Cases - Bonding Curve Integration: Create SPL or Token2022 tokens, execute buy/sell trades with slippage protection, and calculate quotes using the constant product formula on the Pump Program. - PumpSwap AMM Operations: Swap tokens, add and remove liquidity, and derive pool PDAs on the constant-product AMM for graduated tokens. - Fee Management: Handle dynamic fee tiers, creator fee collection from vaults, fee sharing configurations, and Mayhem mode fee recipients. - Use Case: Build a trading bot that creates a token on the bonding curve, monitors its market cap, and automatically migrates liquidity to PumpSwap once the curve completes. ## Quick Start Ask the agent to create a new token on PumpFun with a given name, symbol, and metadata URI, then buy tokens on its bonding curve with slippage protection.

Frequently Asked Questions about pumpfun

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create a token on PumpFun with Solana?

Call the create instruction on the Pump Program (6EF8rrecthR5Dkzon8Nwu78hRvfCKubJ14M5uBEwF6P) with name, symbol, and metadata URI, passing the mint keypair, bonding curve PDA, and Metaplex metadata accounts. Use create_v2 for Token2022 tokens with Mayhem mode support.

How do I buy and sell tokens on a PumpFun bonding curve?

Build buy or sell instructions with the token amount and slippage limits (maxSolCost or minSolOutput), including the bonding curve PDA, creator vault, and fee config accounts. Since September 2025, the fee program and fee config PDAs are required accounts on every trade.

What is the difference between the Pump Program and PumpSwap AMM?

The Pump Program handles token creation and bonding curve trading before graduation, while PumpSwap is a constant-product AMM for graduated tokens supporting swaps and liquidity provision. When a bonding curve completes, anyone can call the permissionless migrate instruction to move liquidity to PumpSwap.

Why does my PumpFun transaction fail with account data too small?

Bonding curve accounts smaller than 150 bytes and pool accounts smaller than 300 bytes need an extend_account instruction prepended before trading. Check the account data length and add the extension instruction to the same transaction.

How do creator fees work on PumpFun?

Creator fees accumulate in a creator-vault PDA on the bonding curve or a creator vault ATA on PumpSwap pools. The creator collects them via collect_creator_fee or collect_coin_creator_fee instructions, and fees can be split across shareholders summing to 10,000 basis points.