pump-sdk-core

Build Solana transaction instructions for Pump, PumpAMM, and PumpFees programs.

Updated Mar 11, 2026
One-click install
npx skills add https://github.com/x402agent/NanoSolana --skill pump-sdk-core-x402agent
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pump-sdk-core
Source: https://github.com/x402agent/NanoSolana/tree/main/pump-fun-sdk-main/skills/pump-sdk-core
Command: npx skills add https://github.com/x402agent/NanoSolana --skill pump-sdk-core-x402agent

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Build and extend the core Pump SDK to programmatically construct and maintain Solana TransactionInstructions for token creation, buying, selling, migration, and creator-fee distribution across the Pump, PumpAMM, and PumpFees programs.

Core Features & Use Cases

  • Offline-first instruction builder: generate instructions without a live RPC, then compose into transactions.
  • Online SDK wrapper: provide live account data via OnlinePumpSdk for stateful workflows.
  • Multi-program support: handles three programs (Pump, PumpAMM, PumpFees) and optional Mayhem integration.
  • IDL-backed decoding and type-safety: strong typing for accounts, PDAs, and instructions.
  • Packaging and distribution: published as @nirholas/pump-sdk for use in TypeScript projects.

Quick Start

Install the package and begin building offline-first TransactionInstructions for Pump, PumpAMM, and PumpFees in a TypeScript project.

Frequently Asked Questions about pump-sdk-core

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

FAQPage Schema
How do I build Solana transaction instructions without a live RPC connection?

Use an offline-first SDK to build Solana transaction instructions for token operations, assembling them into transactions without requiring a live RPC connection during the construction phase.

Can I construct PumpAMM and PumpFees transactions in TypeScript?

Yes, TypeScript projects can construct transactions for Pump, PumpAMM, and PumpFees programs using IDL-backed decoders and typed validation to ensure type-safety for accounts, PDAs, and instructions.

What is the difference between offline and online Solana SDK workflows?

Offline workflows generate instructions without live RPC data, whereas online workflows use a wrapper to provide live account data for stateful Solana transaction operations and simulations.

How do I distribute creator fees across Solana programs?

Assemble transaction instructions targeting the PumpFees program to distribute creator fees, utilizing typed validation to securely construct and deploy these operations across Solana.

Do I need an active RPC to simulate token buying and selling operations?

No, you can generate buying and selling instructions offline first. For stateful workflows requiring live account data, use the online SDK wrapper to simulate and deploy the transactions.

Why use typed validation for Solana PDAs and instruction accounts?

Typed validation prevents runtime errors by enforcing strict type-safety for Solana PDAs and instruction accounts. IDL-backed decoders ensure generated transaction instructions match program specifications.