Pump Tokenized Agent Payments for Openclaw

A comprehensive SDK for building on-chain payment flows for AI agents linked to pump.fun tokens.

sushant-baton
v1.0.0
Mar 14, 2026
1
808
0

Install & Download

1. ClawHub CLI

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

npx clawhub@latest install pump-fun-tokenized-agents

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-fun-tokenized-agents 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 Tokenized Agent Payments?

Pump Tokenized Agent Payments is a specialized skill designed for developers building AI agents whose revenue streams are directly linked to tokens on pump.fun. By leveraging the @pump-fun/agent-payments-sdk, this Openclaw Skills integration enables seamless payment transactions in USDC or SOL, allowing agents to charge for services like content generation or API access.

The core value of this skill lies in its robust handling of the Solana blockchain's complexities. It automates the creation of payment instructions, handles native SOL wrapping and unwrapping, and ensures high security through server-side invoice validation. This ensures that AI agents can operate as independent economic entities with verifiable on-chain revenue.

Pump Tokenized Agent Payments Use Cases

  • Implementing pay-per-request models for AI-driven content generation.
  • Restricting access to premium agent APIs until a Solana payment is verified.
  • Automating revenue distribution to token holders via agent-linked pump.fun mints.
  • Building decentralized payment gateways for browser-based AI tools using Solana wallet adapters.

How Pump Tokenized Agent Payments Works

  1. The AI agent generates a unique invoice with a random memo, price, and expiration time window.
  2. The server uses the Openclaw Skills SDK to build a set of transaction instructions tailored to the currency (USDC or SOL).
  3. A full Solana transaction is assembled with a recent blockhash and serialized into a base64 string.
  4. The client-side application deserializes the transaction and requests a signature from the user's wallet.
  5. The signed transaction is submitted to the Solana network via a supported RPC endpoint.
  6. The server performs a final validation of the payment using on-chain PDA derivation to ensure the service is only delivered after confirmation.

Pump Tokenized Agent Payments Setup

Install the necessary dependencies and configure your environment variables to start using Openclaw Skills for payments:

npm install @pump-fun/[email protected] @solana/web3.js@^1.98.0

Configure your .env file:

SOLANA_RPC_URL=https://rpc.solanatracker.io/public
AGENT_TOKEN_MINT_ADDRESS=<your-agent-mint-address>
CURRENCY_MINT=EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v

Pump Tokenized Agent Payments Data Schema & Taxonomy

The skill organizes payment data through a strict set of parameters to ensure unique on-chain identification:

Parameter Type Description
user PublicKey The payer's Solana wallet address
currencyMint PublicKey The mint address (USDC or wrapped SOL)
amount BigInt Price in the smallest unit (6 decimals for USDC)
memo String A unique 12-digit random identifier
startTime/endTime Unix Timestamp The validity window for the specific invoice

All payments derive a unique Invoice ID PDA (Program Derived Address) based on these fields to prevent double-spending.

Pump Tokenized Agent Payments Advanced Features

  • Automatic SOL wrapping/unwrapping: Handles native SOL transitions to SPL-token format and back for seamless UX.
  • Compute Budget Management: Automatically prepends SetComputeUnitLimit and SetComputeUnitPrice for faster transaction landing.
  • Multi-layered Verification: Uses a combination of the Pump HTTP API and direct RPC on-chain scanning for high-reliability payment checks.
  • Idempotent Account Creation: Safely handles the creation of Associated Token Accounts during the payment flow.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*