What problem does it solve?
This Skill builds buy and sell transactions for pump.fun tokens, sparing you from manually handling bonding-curve vs AMM routing, quoting, slippage, and transaction encoding details.
Core Features & Use Cases
- Auto-detect routing (bonding curve vs AMM): Uses the fun-block API to choose the correct swap path depending on whether the coin has graduated.
- Buy & sell support: Buy with SOL using NATIVE_MINT, sell tokens back to SOL using NATIVE_MINT.
- MEV protection option (Jito-only submission): When enabled, adds a Jito tip and instructs you to send the signed transaction only to Jito endpoints to avoid public mempool leakage.
- Balance/coin introspection helpers: Includes scripts to fetch coin state and print wallet balances (including optional pump profile API data).
- Safety guardrails: Enforces critical user confirmations (RPC, signer pubkey, operation type, mint, amount, optional front-runner protection) before proceeding, and recommends verifying token program on-chain.
Quick Start
Ask the skill to build a buy or sell swap transaction for the provided coin mint and signer wallet using the fun-block API, with your confirmed RPC URL, operation type, and exact amount.