pump-fun-trade

Construct and sign Solana transactions for pump.fun token trades.

5|Updated May 2, 2026
One-click install
npx skills add https://github.com/nirholas/three-ui --skill pump-fun-trade
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pump-fun-trade
Source: https://github.com/nirholas/three-ui/tree/main/examples/skills/pump-fun-trade
Command: npx skills add https://github.com/nirholas/three-ui --skill pump-fun-trade

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill solves the problem of safely executing pump.fun token trades by generating and signing correct Solana transactions for buys, sells, quotes, and token launches.

Core Features & Use Cases

  • QuoteTrade Simulation: Simulate buy/sell to estimate expected output, price impact, and the selected venue (bonding curve vs PumpSwap).
  • BuyToken Signing with Guardrails: Execute buys with slippage control and a hard spending cap to reduce costly mistakes.
  • SellToken Signing with Flexible Sizing: Sell by explicit token amount or by percentage of wallet holdings, using the required slippage settings.
  • CreateToken Launch Signing: Launch a new token with optional initial dev buy in the same transaction.
  • Use Case: An agent can research a token with the read-only pump-fun skill, then quote and execute a buy under configured caps and slippage.

Quick Start

Use pump-fun-trade to buyToken for a specific mint address with a SOL amount while enforcing the configured maxSpendSol and slippageBps.

Frequently Asked Questions about pump-fun-trade

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

FAQPage Schema
How do I sign and execute pump.fun token trades on Solana?

To execute pump.fun token trades, this Skill constructs and sends Solana transactions for quoting, buying, and selling. It requires a wallet injection for signing and applies pre-trade simulation to route between bonding curve and PumpSwap based on graduation status.

Can I set slippage and spending caps for pump.fun buy transactions?

Yes, you can enforce slippage and spending caps for pump.fun buy transactions. The Skill applies manifest config caps alongside slippageBps defaults, executing buys with a hard spending cap to reduce costly mistakes.

Does pump.fun token trading require a specific wallet setup for transaction signing?

Pump.fun token trading requires a ctx.wallet injection for deterministic transaction signing. This wallet-injected context ensures guarded action execution when buying, selling, or creating tokens on the Solana network.

What is the best way to launch a new pump.fun token with an initial dev buy?

The best way to launch a new pump.fun token is through CreateToken Launch Signing. This Skill generates a signed Solana transaction to launch a new token, supporting an optional initial dev buy within the same transaction.

How do I sell pump.fun tokens by percentage of wallet holdings?

You can sell pump.fun tokens by explicit token amount or by percentage of wallet holdings. The SellToken Signing feature uses required slippage settings to execute flexible sizing based on your current wallet balance.

Why does my pump.fun trade route to PumpSwap instead of the bonding curve?

Pump.fun trades route to PumpSwap instead of the bonding curve based on token graduation status. The Skill evaluates this status during pre-trade simulation to select the correct on-chain venue for execution.