Protocols / Launchpad
Pump
pump.fun memecoin launchpad on Solana. An agent can create coins on the Pump bonding-curve program, buy and sell coins on their bonding curve, migrate completed curves, and trade or provide liquidity on the PumpSwap AMM after migration.
On-chainSOLANA3 contractsWebsite · Docs
get_protocol({ "protocol": "pump" })Risks an agent should know
- Memecoins: extreme volatility, most coins go to ~zero; no vetting of creators.
- Bonding-curve buys/sells pay a 100 bps base fee per the program README; PumpSwap charges 20 bps LP + 5 bps protocol plus a creator fee; actual fee tiers are dynamic (read via Pump Fees fee_config / get_fees or the SDK's computeFeesBps).
- Coins created with create_v2 are Token-2022 mints; use the Token-2022 program (TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb) for their token accounts.
- Programs are upgradeable by Pump; account layouts gain appended fields over time (missing trailing fields read as 0/false), and required accounts on buy/sell have changed before (e.g. fee accounts became mandatory Sept 2025). Build from the latest IDL/SDK.
- Mayhem-mode and cashback coins behave differently (cashback coins must use v2 on the curve and v1 on PumpSwap; new cashback coins cannot be created).
What an agent can do
| launch-coin | Create a new pump.fun coin Pump program create_v2(name, symbol, uri, creator, is_mayhem_mode=false); or @pump-fun/pump-sdk helpers |
| buy-on-curve | Buy a coin still on its bonding curve Pump program buy_v3(amount, max_sol_cost) or buy_exact_quote_in_v3(spendable_quote_in, min_tokens_out); check BondingCurve.complete is false first |
| sell-on-curve | Sell a coin on its bonding curve Pump program sell_v3(amount, min_sol_output) |
| migrate | Graduate a completed curve to PumpSwap Pump program migrate() (permissionless) once BondingCurve.complete is true |
| swap-after-graduation | Trade a graduated coin PumpSwap buy_v2/sell_v2/buy_exact_quote_in_v2 on the canonical pool (index 0); or @pump-fun/pump-swap-sdk |
| add-liquidity | LP on PumpSwap PumpSwap deposit(lp_out, max_base_in, max_quote_in); remove with withdraw(lp_in, min_base_out, min_quote_out) |
| claim-creator-fees | Collect creator fees Pump collect_creator_fee_v2 (curve) and PumpSwap collect_coin_creator_fee (AMM) |
Contracts
solana
| Contract | Address | Key functions | Try |
|---|---|---|---|
| Pump (bonding-curve program) exchange | 6EF8rrecthR5Dkzon8Nwu78hRvfCKubJ14M5uBEwF6P source | writecreate_v2(name: string, symbol: string, uri: string, creator: pubkey, is_mayhem_mode: bool, is_cashback_enabled?: bool, creator_fee_bps?: u16, is_holder_reward?: bool) writecreate(name: string, symbol: string, uri: string, creator: pubkey) writebuy(amount: u64, max_sol_cost: u64) writesell(amount: u64, min_sol_output: u64) writebuy_v3(amount: u64, max_sol_cost: u64, partial_fill?: OptionBool) writebuy_exact_quote_in_v3(spendable_quote_in: u64, min_tokens_out: u64, partial_fill?: OptionBool) writesell_v3(amount: u64, min_sol_output: u64) writebuy_v2 / sell_v2 / buy_exact_quote_in_v2 +4 more via get_protocol | |
| PumpSwap (Pump AMM program) pool | pAMMBay6oceH9fJKBRHGP5D4bD4sWpmSwMn52FMfXEA source | writebuy(base_amount_out: u64, max_quote_amount_in: u64) writesell(base_amount_in: u64, min_quote_amount_out: u64) writebuy_v2 / buy_exact_quote_in_v2 / sell_v2 writemulti_hop_swap writecreate_pool(index, creator, baseMint, quoteMint, baseIn, quoteIn) writedeposit(pool, user, lpTokenOut, maxBaseIn, maxQuoteIn) writewithdraw(pool, user, lpTokenIn, minBaseOut, minQuoteOut) writecollect_coin_creator_fee() +2 more via get_protocol | |
| Pump Fees program other | pfeeUxB6jkeY1Hxd7CsFCAjcbHA9rWtchMGdZ6VojVZ source | readget_fees writecreate_fee_sharing_config writeupdate_fee_shares_v2 |
Notes
Only Solana is confirmed by Pump's official docs (both programs: same ID on mainnet and devnet). DefiLlama lists more chains for 'pump', but no official Pump source found confirming other deployments, so they are left out. Official IDLs: https://github.com/pump-fun/pump-public-docs/tree/main/idl (pump.json, pump_amm.json, pump_fees.json); official TypeScript SDKs @pump-fun/pump-sdk and @pump-fun/pump-swap-sdk. PumpSwap create_pool/deposit/withdraw signatures are written as in PUMP_SWAP_README.md (accounts and args mixed); check pump_amm.json for exact arg names/types. Other addresses from the docs: Mayhem program MAyhSmzXzV1pTf7LsNkrNwkWKTo4ougAJ1PPg47MD4e; Pump Fees fee_config for the Pump program 8Wf5TiAheLUqBrKXeYg2JtAFFMWtKdG2BSFgqUcPVwTt and for PumpSwap 5PHirr8joyTMp9JMm6nW7hNDVyEYdkzDqazxPD7RaTjx. PumpSwap protocol fee recipients are listed in PUMP_SWAP_README.md. No official public REST API is documented; the PUMP token mint was not confirmed from an official Pump source and is omitted.
Sources
- https://github.com/pump-fun/pump-public-docs
- https://github.com/pump-fun/pump-public-docs/blob/main/docs/PUMP_PROGRAM_README.md
- https://github.com/pump-fun/pump-public-docs/blob/main/docs/PUMP_SWAP_README.md
- https://github.com/pump-fun/pump-public-docs/blob/main/docs/FEE_PROGRAM_README.md
- https://github.com/pump-fun/pump-public-docs/blob/main/docs/instructions/COIN_CREATION.md
- https://github.com/pump-fun/pump-public-docs/blob/main/docs/instructions/TRADE_V3.md
- https://github.com/pump-fun/pump-public-docs/blob/main/docs/instructions/PUMP_SWAP_TRADE_V2.md
- https://github.com/pump-fun/pump-public-docs/blob/main/docs/instructions/COLLECT_CREATOR_FEE.md
- https://github.com/pump-fun/pump-public-docs/blob/main/idl/pump.json
- https://github.com/pump-fun/pump-public-docs/blob/main/idl/pump_amm.json
- https://github.com/pump-fun/pump-public-docs/blob/main/idl/pump_fees.json
Researched 2026-11-24. Addresses are copied from the official sources above; check them before moving large amounts.