repositories
loading repo index
repositories
loading repo index
repository
loading code, commits, and activity
public Clawd ADK gateway launch mirror
stars
latest
clone command
git clone gitlawb://did:key:z6Mkq5mY...iFZ5/my-project-publ...git clone gitlawb://did:key:z6Mkq5mY.../my-project-publ...2fa351d6docs: add automaton and perps launch sources16d ago| #1 | { |
| #2 | "skillId": "pump-admin-ops", |
| #3 | "name": "pump-admin-ops", |
| #4 | "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.", |
| #5 | "category": "pump-protocol", |
| #6 | "path": "pump-admin-ops/SKILL.md", |
| #7 | "url": "https://x402.wtf/api/skills/pump-admin-ops", |
| #8 | "tags": [ |
| #9 | "pump", |
| #10 | "solana", |
| #11 | "admin", |
| #12 | "ops" |
| #13 | ], |
| #14 | "requiredEnv": [ |
| #15 | "SOLANA_RPC_URL" |
| #16 | ], |
| #17 | "homepage": "https://github.com/nirholas/pump-fun-sdk", |
| #18 | "attestation": { |
| #19 | "status": "pending", |
| #20 | "isFormallyVerified": false, |
| #21 | "attestationPda": null, |
| #22 | "verificationTimestamp": null |
| #23 | }, |
| #24 | "markdown": "---\nname: pump-admin-ops\ndescription: \"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.\"\nmetadata:\n openclaw:\n homepage: https://github.com/nirholas/pump-fun-sdk\n requires:\n env:\n - SOLANA_RPC_URL\n---\n\n# Admin Operations — Authority Management & Protocol Administration\n\nManage Pump protocol authority operations: set coin creator, update token incentives, set IDL authority, claim cashback, and cross-program admin instructions.\n\n## Authority Model\n\n| Authority | Account | Controls |\n|-----------|---------|----------|\n| `global.authority` | Global PDA | Protocol parameters |\n| `bondingCurve.creator` | Per-token | Creator fee recipient |\n| `sharingConfig.admin` | Per-token | Fee sharing shareholders |\n| `global.idlAuthority` | Global PDA | IDL updates |\n| `feeConfig.authority` | FeeConfig PDA | Fee tier configuration |\n| `backendWallet` | Global PDA | Cashback claims |\n\n## Admin Operations\n\n### Set Coin Creator\n```typescript\nconst ix = await PUMP_SDK.setCreator({ mint, creator: newCreator, user: admin });\n// Cross-program version:\nconst ixs = await onlineSdk.adminSetCoinCreatorInstructions(newCreator, mint);\n```\n\n### Update Token Incentives\n```typescript\nconst ix = await PUMP_SDK.syncUserVolumeAccumulator({ user, authority });\n```\n\n### Set IDL Authority\n```typescript\nconst ix = await PUMP_SDK.setIdlAuthority({ newAuthority, currentAuthority });\n```\n\n### Claim Cashback\n```typescript\nconst ix = await PUMP_SDK.claimCashback({ user, backendSigner });\n```\n\n## BothPrograms Admin Pattern\n\n| Method | Description |\n|--------|-------------|\n| `adminSetCoinCreatorInstructions` | Set creator on Pump + PumpAMM |\n| `collectCoinCreatorFeeInstructions` | Collect fees from both vaults |\n| `syncUserVolumeAccumulatorBothPrograms` | Sync volume on both programs |\n\n## Mayhem Mode\n\nTokens with `isMayhemMode === true` use:\n- `MAYHEM_PROGRAM_ID` for additional PDAs\n- `global.reservedFeeRecipients[]` instead of `global.feeRecipients[]`\n- Different token supply values\n\n## Patterns to Follow\n\n- Only protocol authority can call admin instructions — verify signer\n- Use BothPrograms methods for cross-program admin operations\n- Check `bondingCurve.complete` before admin operations on bonding curves\n- Extend accounts to `BONDING_CURVE_NEW_SIZE` before `setCreator`\n\n## Common Pitfalls\n\n- `setCreator` requires account extension first — will fail on undersized accounts\n- Admin instructions fail silently if the signer lacks authority\n- Mayhem mode tokens have separate fee recipient lists\n- `adminRevoked === true` on SharingConfig blocks all shareholder updates\n\n" |
| #25 | } |
| #26 |