Pump SDK Core for Openclaw

An offline-first TypeScript SDK for constructing Solana TransactionInstructions for token creation, trading, and AMM migration.

speraxos
v0.1.0
Feb 27, 2026
0
982
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install pump-sdk-core

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install pump-sdk-core using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Pump SDK Core?

Pump SDK Core is a specialized, offline-first TypeScript SDK designed to facilitate complex interactions with the Pump protocol on the Solana blockchain. It provides a robust framework for building TransactionInstructions across three core on-chain programs: Pump, PumpAMM, and PumpFees. By using this as part of your Openclaw Skills, developers can programmatically handle token creation, buying, selling, and the migration of tokens to automated market makers.

The architecture is split between a connection-free offline SDK for instruction building and an online SDK for live RPC interaction. This separation ensures that logic remains deterministic and testable while still providing the necessary hooks for real-time blockchain data. It is a vital tool for anyone looking to automate or extend DeFi functionalities within the Solana ecosystem.

Pump SDK Core Use Cases

  • Launching new tokens on Solana with bonding curve mechanics.
  • Building automated trading agents that respond to market movements.
  • Implementing creator fee collection systems for decentralized applications.
  • Managing the graduation and migration of tokens from launchpads to AMMs.
  • Developing custom wallets or interfaces that require low-level transaction control.

How Pump SDK Core Works

  1. The PumpSdk class initializes using Anchor IDL definitions for the Pump, PumpAMM, and PumpFees programs.
  2. Instruction builders generate arrays of TransactionInstructions rather than full transactions, enabling flexible composition.
  3. The OnlinePumpSdk layer connects to a Solana RPC node to fetch and decode account data using optimized batch calls.
  4. Token operations like 'Buy' or 'Sell' use internal slippage formulas to ensure trade safety and predictability.
  5. The system validates complex state requirements, such as shareholder distribution and bonding curve completion status, before finalizing instructions.

Pump SDK Core Setup

To get started with this skill, install the necessary package and configure your environment variables for Solana RPC access.

npm install @pump-fun/pump-sdk

Ensure your environment is configured with a valid RPC endpoint:

export SOLANA_RPC_URL="your_solana_rpc_endpoint"

Pump SDK Core Data Schema & Taxonomy

The skill manages on-chain data through specific TypeScript interfaces and decoders. Below is a summary of the data organization:

Component Responsibility
Global State Manages protocol-wide parameters and fee configurations.
Bonding Curve Tracks token supply, SOL reserves, and completion status.
Fee Config Defines tiered fee structures and creator sharing percentages.
PDA Derivations Logic for deriving Program Derived Addresses for all protocol accounts.
Account Decoders Converts raw RPC buffer data into typed JavaScript objects.

Pump SDK Core Advanced Features

  • Offline-first instruction building for maximum performance and security.
  • Full compatibility with both standard SPL Token and Token-2022 programs.
  • Support for Mayhem-mode tokens and specialized program interactions.
  • Automated slippage and fee calculations integrated into the transaction flow.
  • Extensible instruction patterns that allow for seamless integration with other Openclaw Skills.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*