Pump admin ops

From x402agent/solana-clawd · View interactive version

Pump admin ops is an AI agent skill from the GitHub repository x402agent/solana-clawd. 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.

How to use this skill

Skill file

Admin Operations — Authority Management & Protocol Administration

Manage Pump protocol authority operations: set coin creator, update token incentives, set IDL authority, claim cashback, and cross-program admin instructions.

Authority Model

| 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 |

Admin Operations

Set Coin Creator

const ix = await PUMP_SDK.setCreator({ mint, creator: newCreator, user: admin });
// Cross-program version:
const ixs = await onlineSdk.adminSetCoinCreatorInstructions(newCreator, mint);

Update Token Incentives

const ix = await PUMP_SDK.syncUserVolumeAccumulator({ user, authority });

Set IDL Authority

const ix = await PUMP_SDK.setIdlAuthority({ newAuthority, currentAuthority });

Claim Cashback

const ix = await PUMP_SDK.claimCashback({ user, backendSigner });

BothPrograms Admin Pattern

| Method | Description |

|--------|-------------|

| adminSetCoinCreatorInstructions | Set creator on Pump + PumpAMM |

| collectCoinCreatorFeeInstructions | Collect fees from both vaults |

| syncUserVolumeAccumulatorBothPrograms | Sync volume on both programs |

Mayhem Mode

Tokens with isMayhemMode === true use:

Patterns to Follow

Common Pitfalls

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.