/clawd-compute:pump-solana-architecturefrom clawd-compute
Design Pump.fun Solana program architecture, PDAs, account layouts, global singletons, per-token state, per-user accumulators, Mayhem accounts, and cross-program coordination across Pump, PumpAMM, PumpFees, and Mayhem. Use for account-model or PDA work.
Ships in clawd-compute. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Design, derive, and manage Program Derived Addresses (PDAs) and account layouts across the Pump ecosystem's four Solana programs with cross-program invocation patterns.
| Program | ID | Purpose |
|---|---|---|
| Pump | 6EF8rrecthR5Dkzon8Nwu78hRvfCKubJ14M5uBEwF6P | Bonding curve operations |
| PumpAMM | pAMMBay6oceH9fJKBRHGP5D4bD4sWpmSwMn52FMfXEA | Graduated AMM pools |
| PumpFees | pfeeUxB6jkeY1Hxd7CsFCAjcbHA9rWtchMGdZ6VojVZ | Fee sharing |
| Mayhem | MAyhSmzXzV1pTf7LsNkrNwkWKTo4ougAJ1PPg47MD4e | Mayhem-mode tokens |
GLOBAL_PDA — ["global"] on Pump — protocol-wide configFEE_CONFIG_PDA — ["fee-config"] on Pump — tiered fee settingsGLOBAL_VOLUME_ACCUMULATOR_PDA — ["global_volume_accumulator"] — protocol-wide volumebondingCurvePda(mint) — ["bonding-curve", mint] — token bonding curve statebondingCurveTokenAccountPda(mint) — ["bonding-curve-token-account", mint]feeSharingConfigPda(mint) — ["sharing-config", mint] on PumpFeescanonicalPumpPoolPda(mint) — AMM pool for graduated tokencreatorVaultPda(creator) — ["creator-vault", creator] on PumpammCreatorVaultPda(creator) — ["creator_vault", creator] on PumpAMMuserVolumeAccumulatorPda(user) — ["user_volume_accumulator", user]mayhemMetadataPda(mint) — ["mayhem_metadata", mint] on MayhemmayhemWsolPda() — ["mayhem_wsol"] on MayhemMany operations span both Pump and PumpAMM — the SDK provides aggregation:
| Method | Description |
|---|---|
getCreatorVaultBalanceBothPrograms | Sum balance from both vaults |
collectCoinCreatorFeeInstructions | Collect from both programs |
fetchUserVolumeAccumulatorTotalStats | Aggregate volume across programs |
claimTokenIncentivesBothPrograms | Claim rewards from both |
Pump Program PumpAMM Program
┌─────────────┐ ┌──────────────────┐
│ create │ │ │
│ buy / sell │ ── migrate ──► │ AMM trading │
│ graduate │ │ fee collection │
└─────────────┘ └──────────────────┘
│ │
└──── PumpFees Program ──────────┘
(fee sharing)
Bonding curve accounts may need extension to BONDING_CURVE_NEW_SIZE (151 bytes) before certain operations:
const extendIx = await PUMP_SDK.extendAccountInstruction({
bondingCurvePda: bondingCurvePda(mint),
bondingCurveAccountInfo
});
findProgramAddressSync for all PDA derivation — never manually compute bump seedsgetMultipleAccountsInfo call"creator-vault" (Pump, hyphen) vs "creator_vault" (AMM, underscore)canonicalPumpPoolPda uses the external pump-swap-sdk, not the Pump programMAyhSm...)What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
53 skills in this plugin
/cheshire-omni-mintDual-rail omni agent mint: Solana Metaplex Core + Agent Identity and Robinhood Chain ERC-8004 identity in one plan, optionally bound with LayerZero zk-omni (msgType 4 dual_identity_link). Use when the user wants omnichain identity, Solana and Robinhood together, Metaplex mintAgent + RH register, or Cheshire Terminal dual-rail forge. Product: cheshireterminal.ai/agents/forge · funpump.ai.
/clawd-agent-launchpadBuild, launch, stake, and manage Clawd or Cheshire Terminal agents. Use when working on Agent Launchpad, agent templates, agent builder, agent hub, deployed agent detail pages, runtime matrix, Metaplex agent minting, staking, agent chat, or Clawd/Cheshire agent lifecycle tasks./npx claudepluginhub solizardking/solizardking-clawd-plugin-marketplace --plugin clawd-compute