PumpFun
PumpFun is a no-code token launchpad on Solana where new tokens start trading immediately on a bonding curve. These tokens are often the earliest stage of a token’s lifecycle, before they graduate to PumpSwap.
Program Address: 6EF8rrecthR5Dkzon8Nwu78hRvfCKubJ14M5uBEwF6P
What To Check Before Trading
Section titled “What To Check Before Trading”Every PumpFun token has a few fields that affect how trades behave:
- Quote currency: Tokens can be paired with SOL or USDC. This determines what you spend when buying and what you receive when selling.
- Cashback mode: Some tokens return the creator-fee portion of each trade back to traders.
- Mayhem Mode: Some tokens have AI-driven trading during the first 24 hours, which adds extra risk.
You can detect these in our WebSocket feed:
quoteMintappears on PumpFuncreateandmigrateeventsisCashbackappears on PumpFuncreateandtradeeventsisMayhemModeappears on PumpFuncreateandtradeevents
See the WebSocket examples for the full message shape.
Trading On PumpFun
Section titled “Trading On PumpFun”Quote Currencies
Section titled “Quote Currencies”PumpFun tokens can trade against:
- SOL: The default pair. Legacy SOL-paired tokens still transfer native SOL.
- USDC: Newer tokens can be paired directly against USDC (
EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v).
Darkfibre.dev uses PumpFun’s buy_v2 and sell_v2 instructions, which support both SOL and USDC-paired tokens. This matters because PumpFun’s legacy buy and sell instructions cannot trade USDC-paired tokens.
In the SDK, you can pass quote aliases like 'SOL', 'WSOL' or 'USDC' as quoteMint. In the REST API, use the actual mint addresses in inputMint and outputMint.
For the full PumpFun instruction details, see the Pump.fun public docs.
Fees And Cashback
Section titled “Fees And Cashback”Trading on the bonding curve incurs a 1.25% fee.
For normal tokens, that fee is split between the PumpFun protocol and the token creator. For cashback tokens, the creator-fee portion is routed back to traders instead of the creator.
- Normal token: Protocol fee + creator fee
- Cashback token: Protocol fee + trader cashback
Cashback accumulates in the trader’s volume accumulator on buys and sells. It can be claimed through PumpFun’s claim_cashback_v2 instruction. The total trading fee stays the same; only the creator portion is redirected.
Identify cashback tokens with isCashback:
"isCashback": trueBonding Curve And Graduation
Section titled “Bonding Curve And Graduation”Every PumpFun token starts on a bonding curve:
- Early price advantage: Early buyers receive tokens at lower prices
- Automatic price discovery: The price rises automatically as more people buy
- Fixed supply: Each token has a fixed supply of 1 billion tokens
- Graduation threshold: The bonding curve completes when it reaches approximately 85 SOL (420 SOL marketcap)
When the bonding curve completes, the token automatically graduates to PumpSwap. Migration is instant and has no additional fees.
Tokens on PumpFun’s bonding curve have built-in protections:
- Locked liquidity: The quote assets collected in the bonding curve are locked and used to create liquidity on PumpSwap upon graduation
- Revoked mint authority: No one can mint additional tokens after creation
Mayhem Mode
Section titled “Mayhem Mode”Mayhem Mode is an experimental feature where an AI trading agent automatically trades a token during its first 24 hours.
How Mayhem Mode Works
Section titled “How Mayhem Mode Works”- Doubled supply: The token supply increases to 2 billion tokens (1B for the bonding curve, 1B for the AI agent)
- Random trading: The AI performs random buys and sells with roughly equal probability
- 24-hour duration: After 24 hours, any unsold agent tokens are permanently burned
- Creator opt-in: Mayhem Mode can only be enabled during token creation
Trading Recommendation
Section titled “Trading Recommendation”We advise against trading Mayhem Mode tokens. The unpredictable AI-driven price action combined with the doubled token supply creates additional risks that make these tokens unsuitable for most trading strategies.
You can identify Mayhem tokens using the isMayhemMode field in our WebSocket data.