pumpfun-fees
Configure and claim creator fee sharing on Pump.fun tokens
- License 许可
- MIT
- 最近更新
- 2026-08-01
- Stars
- ★ 2
- Forks
- 3
01 前言 Front Matter
- description
- Configure and claim creator fee sharing on Pump.fun tokens
03 SKILL.md 正文
PumpFun Fee Sharing
Set up, manage, and claim creator fee sharing on Pump.fun tokens. Supports up to 10 shareholders with configurable basis point splits.
Prerequisites
- Token creator wallet
HELIUS_RPC_URLconfigured- Token must be active (bonding curve or graduated)
Fee Sharing Setup
1. Create Fee Sharing Config
import { PUMP_SDK } from "@nirholas/pump-sdk";
const createConfigIx = await PUMP_SDK.createFeeSharingConfig({
creator: wallet.publicKey,
mint: tokenMint,
pool: null, // null for pre-graduation tokens
});
2. Set Shareholders
Shares must total exactly 10,000 BPS (100%). Maximum 10 shareholders.
const updateIx = await PUMP_SDK.updateFeeShares({
authority: wallet.publicKey,
mint: tokenMint,
currentShareholders: [wallet.publicKey],
newShareholders: [
{ address: wallet.publicKey, shareBps: 7000 }, // 70%
{ address: new PublicKey("Partner..."), shareBps: 2000 }, // 20%
{ address: new PublicKey("Dev..."), shareBps: 1000 }, // 10%
],
});
3. Claim Accumulated Fees
const sdk = new OnlinePumpSdk(connection);
const claimResult = await sdk.distributeCreatorFees({
mint: tokenMint,
creator: wallet.publicKey,
});
Fee Tier Reference
Fees are tiered by market cap:
| Market Cap (SOL) | Protocol Fee | Creator Fee |
|---|---|---|
| < 100 | Higher | Lower |
| 100-1000 | Standard | Standard |
| > 1000 | Lower | Higher |
Error Handling
| Error | Cause | Fix |
|---|---|---|
NoShareholdersError |
Empty array | Provide ≥1 shareholder |
TooManyShareholdersError |
>10 shareholders | Reduce to ≤10 |
ZeroShareError |
Share ≤ 0 | Set positive values |
InvalidShareTotalError |
Sum ≠ 10,000 | Ensure total = 10,000 BPS |
DuplicateShareholderError |
Same address twice | Remove duplicates |
Token Incentives
Track unclaimed $PUMP reward tokens:
import { totalUnclaimedTokens, currentDayTokens } from "@nirholas/pump-sdk";
const unclaimed = totalUnclaimedTokens(userVolumeAccumulator, globalVolumeAccumulator);
const todayTokens = currentDayTokens(globalVolumeAccumulator);
Agent Integration
The fee-claimer agent role uses this skill to automatically monitor and claim accumulated creator fees across all managed tokens.
04 同仓库更多 Skills
solana-dev
End-to-end Solana development playbook (Jan 2026). Prefer Solana Foundation framework-kit (@solana/client + @solana/react-hooks) for React/Next.js UI. Prefer @solana/kit for all new client/RPC/transaction code. When legacy dependencies require web3.js, isolate it behind @solana/web3-compat (or @solana/web3.js as a true legacy fallback). Covers wallet-standard-first connection (incl. ConnectorKit), Anchor/Pinocchio programs, Codama-based client generation, LiteSVM/Mollusk/Surfpool testing, and security checklists.
xurl
A CLI tool for making authenticated requests to the X (Twitter) API. Use this skill when you need to post tweets, reply, quote, search, read posts, manage followers, send DMs, upload media, or interact with any X API v2 endpoint.
wurk-integration
WURK API integration for monetizing agents with x402 payments on Solana/Base - create social jobs, custom challenges, and agent help tasks
workflows
Manage application workflows including configuration, restart, and removal.
web-search
Search the web, fetch content, extract branding profiles, and capture screenshots from URLs. Use for real-time information, API documentation, current events, design matching, and visual reference.
weather
Get current weather and forecasts via wttr.in or Open-Meteo. Use when: user asks about weather, temperature, or forecasts for any location. NOT for: historical weather data, severe weather alerts, or detailed meteorological analysis. No API key needed.