nirholas/pump-fun-sdk · Archived

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.

First seen Jun 22, 2026

Installation

$ npx skills add nirholas/pump-fun-sdk --skill pump-admin-ops

Stronger alternatives

This repository is archived — consider an actively maintained alternative.

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from nirholas/pump-fun-sdk.

npx skills add nirholas/pump-fun-sdk

Browse all from nirholas/pump-fun-sdk

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Repository health

Stars 115
License LICENSE
Default branch main
Open issues 2
Status Archived

Skill metadata

Parsed from SKILL.md frontmatter.

Declared agents clawdbot
More metadata
openclaw
{"homepage":"https:\/\/github.com\/nirholas\/pump-fun-sdk","requires":{"env":["SOLANA_RPC_URL"]}}

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 2,743 B
  • docs SUMMARY.md 220 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 1 installs

SKILL.md

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:

  • MAYHEMPROGRAMID 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 BONDINGCURVENEW_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