Skip to content
Business
Skill

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

BOOST
From plugin
pump-fun-sdk
13720 skills
Install
$ npx -y skills add nirholas/pump-fun-sdk --skill pump-admin-ops --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/pump-admin-ops

Context preview

The summary Claude sees to decide when to auto-load this skill.

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.

SKILL.md

pump-admin-ops.SKILL.md
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

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 });
// Community takeover (replaces the retired admin_set_creator / admin_set_coin_creator).
// Sweep creator fees v3 or v2 trades left behind first, in the same transaction.
const sweeps = await onlineSdk.creatorFeeSweepInstructions(mint, admin);
const cto = await PUMP_SDK.adminCtoInstruction({
  adminSetCreatorAuthority: global.adminSetCreatorAuthority,
  mint,
  currentCreator: bondingCurve.creator,
  newCreator,
});
const ixs = [...sweeps, cto];

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 | |--------|-------------| | `creatorFeeSweepInstructions` | Sweep un-swept creator fees from the curve and the canonical pool | | `collectCoinCreatorFeeInstructions` | Collect fees from both vaults | | `syncUserVolumeAccumulatorBothPrograms` | Sync volume on both programs |

Mayhem Mode

Tokens with `isMayhemMode === true` use:

  • `MAYHEM_PROGRAM_ID` for additional PDAs
  • `global.reservedFeeRecipients[]` instead of `global.feeRecipients[]`
  • Different token supply values

Patterns to Follow

  • Only protocol authority can call admin instructions — verify signer
  • Use BothPrograms methods for cross-program admin operations
  • Check `bondingCurve.complete` before admin operations on bonding curves
  • Extend accounts to `BONDING_CURVE_NEW_SIZE` before `setCreator`

Common Pitfalls

  • `setCreator` requires account extension first — will fail on undersized accounts
  • Admin instructions fail silently if the signer lacks authority
  • Mayhem mode tokens have separate fee recipient lists
  • `adminRevoked === true` on SharingConfig blocks all shareholder updates
Read more
Ships withpump-fun-sdk

Open-source framework for building PumpFun Telegram bots on Solana. Claim monitors, channel feeds, group trackers, whale alerts — build your own or use ours. PumpKit Web App + Documentation

Get the whole plugin

Other skills on pump-fun-sdk.