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": "pumpfun-fees", |
| #3 | "name": "pumpfun-fees", |
| #4 | "description": "Configure and claim creator fee sharing on Pump.fun tokens", |
| #5 | "category": "pump-protocol", |
| #6 | "path": "pumpfun-fees/SKILL.md", |
| #7 | "url": "https://x402.wtf/api/skills/pumpfun-fees", |
| #8 | "tags": [ |
| #9 | "pumpfun", |
| #10 | "solana", |
| #11 | "fees" |
| #12 | ], |
| #13 | "requiredEnv": [], |
| #14 | "homepage": null, |
| #15 | "attestation": { |
| #16 | "status": "pending", |
| #17 | "isFormallyVerified": false, |
| #18 | "attestationPda": null, |
| #19 | "verificationTimestamp": null |
| #20 | }, |
| #21 | "markdown": "---\ndescription: Configure and claim creator fee sharing on Pump.fun tokens\n---\n\n# PumpFun Fee Sharing\n\nSet up, manage, and claim creator fee sharing on Pump.fun tokens. Supports up to 10 shareholders with configurable basis point splits.\n\n## Prerequisites\n\n- Token creator wallet\n- `HELIUS_RPC_URL` configured\n- Token must be active (bonding curve or graduated)\n\n## Fee Sharing Setup\n\n### 1. Create Fee Sharing Config\n\n```typescript\nimport { PUMP_SDK } from \"@nirholas/pump-sdk\";\n\nconst createConfigIx = await PUMP_SDK.createFeeSharingConfig({\n creator: wallet.publicKey,\n mint: tokenMint,\n pool: null, // null for pre-graduation tokens\n});\n```\n\n### 2. Set Shareholders\n\nShares must total exactly **10,000 BPS** (100%). Maximum **10 shareholders**.\n\n```typescript\nconst updateIx = await PUMP_SDK.updateFeeShares({\n authority: wallet.publicKey,\n mint: tokenMint,\n currentShareholders: [wallet.publicKey],\n newShareholders: [\n { address: wallet.publicKey, shareBps: 7000 }, // 70%\n { address: new PublicKey(\"Partner...\"), shareBps: 2000 }, // 20%\n { address: new PublicKey(\"Dev...\"), shareBps: 1000 }, // 10%\n ],\n});\n```\n\n### 3. Claim Accumulated Fees\n\n```typescript\nconst sdk = new OnlinePumpSdk(connection);\nconst claimResult = await sdk.distributeCreatorFees({\n mint: tokenMint,\n creator: wallet.publicKey,\n});\n```\n\n## Fee Tier Reference\n\nFees are tiered by market cap:\n\n| Market Cap (SOL) | Protocol Fee | Creator Fee |\n|-------------------|-------------|-------------|\n| < 100 | Higher | Lower |\n| 100-1000 | Standard | Standard |\n| > 1000 | Lower | Higher |\n\n### Error Handling\n\n| Error | Cause | Fix |\n|-------|-------|-----|\n| `NoShareholdersError` | Empty array | Provide ≥1 shareholder |\n| `TooManyShareholdersError` | >10 shareholders | Reduce to ≤10 |\n| `ZeroShareError` | Share ≤ 0 | Set positive values |\n| `InvalidShareTotalError` | Sum ≠ 10,000 | Ensure total = 10,000 BPS |\n| `DuplicateShareholderError` | Same address twice | Remove duplicates |\n\n## Token Incentives\n\nTrack unclaimed $PUMP reward tokens:\n\n```typescript\nimport { totalUnclaimedTokens, currentDayTokens } from \"@nirholas/pump-sdk\";\n\nconst unclaimed = totalUnclaimedTokens(userVolumeAccumulator, globalVolumeAccumulator);\nconst todayTokens = currentDayTokens(globalVolumeAccumulator);\n```\n\n## Agent Integration\n\nThe `fee-claimer` agent role uses this skill to automatically monitor and claim accumulated creator fees across all managed tokens.\n" |
| #22 | } |
| #23 |