with one click
pump-admin-ops
// Admin and authority operations for the Pump protocol — set coin creator, update token incentives, set IDL authority, claim cashback, Mayhem mode, and BothPrograms cross-program admin instructions.
// Admin and authority operations for the Pump protocol — set coin creator, update token incentives, set IDL authority, claim cashback, Mayhem mode, and BothPrograms cross-program admin instructions.
Build and release pipeline for the Pump SDK — tsup TypeScript builds, Cargo release profiles, semantic release with commitizen, npm publishing, linting, Makefile targets, Vercel deployment, and MCP server distribution.
Read-only query methods for PumpFun claims — unclaimed token rewards, creator vault balances, volume accumulators, distributable fees, and current-day token previews across Pump and PumpAMM programs.
Build and extend the core Pump SDK — an offline-first TypeScript SDK that constructs Solana TransactionInstructions for token creation, buying, selling, migration, and creator fee collection across three on-chain programs (Pump, PumpAMM, PumpFees).
AI agent integration layer for the Pump SDK — agent instruction files, .well-known discovery, LLM context documents, 15+ skill files, MCP server prompts, and terminal management rules for GitHub Copilot, Claude, and Gemini.
Constant-product AMM bonding curve math for Pump token pricing — buy/sell quoting, fee-aware calculations, market cap computation, tiered fees, ceiling division, virtual vs real reserves, and edge-case handling.
Configure and distribute creator fees to multiple shareholders using the PumpFees program with BPS-based share allocation, admin management, and cross-program fee consolidation for graduated tokens.
| name | pump-admin-ops |
| description | Admin and authority operations for the Pump protocol — set coin creator, update token incentives, set IDL authority, claim cashback, Mayhem mode, and BothPrograms cross-program admin instructions. |
| metadata | {"openclaw":{"homepage":"https://github.com/nirholas/pump-fun-sdk","requires":{"env":["SOLANA_RPC_URL"]}}} |
Manage Pump protocol authority operations: set coin creator, update token incentives, set IDL authority, claim cashback, and cross-program admin instructions.
| Authority | Account | Controls |
|---|---|---|
global.authority | Global PDA | Protocol parameters |
bondingCurve.creator | Per-token | Creator fee recipient |
sharingConfig.admin | Per-token | Fee sharing shareholders |
global.idlAuthority | Global PDA | IDL updates |
feeConfig.authority | FeeConfig PDA | Fee tier configuration |
backendWallet | Global PDA | Cashback claims |
const ix = await PUMP_SDK.setCreator({ mint, creator: newCreator, user: admin });
// Cross-program version:
const ixs = await onlineSdk.adminSetCoinCreatorInstructions(newCreator, mint);
const ix = await PUMP_SDK.syncUserVolumeAccumulator({ user, authority });
const ix = await PUMP_SDK.setIdlAuthority({ newAuthority, currentAuthority });
const ix = await PUMP_SDK.claimCashback({ user, backendSigner });
| Method | Description |
|---|---|
adminSetCoinCreatorInstructions | Set creator on Pump + PumpAMM |
collectCoinCreatorFeeInstructions | Collect fees from both vaults |
syncUserVolumeAccumulatorBothPrograms | Sync volume on both programs |
Tokens with isMayhemMode === true use:
MAYHEM_PROGRAM_ID for additional PDAsglobal.reservedFeeRecipients[] instead of global.feeRecipients[]bondingCurve.complete before admin operations on bonding curvesBONDING_CURVE_NEW_SIZE before setCreatorsetCreator requires account extension first — will fail on undersized accountsadminRevoked === true on SharingConfig blocks all shareholder updates