Skip to content
Back to skills

Pumpfun Fees

ASecurity

Configure and claim creator fee sharing on Pump.fun tokens

  • 9 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added September 11, 2026
blockchaintypescript

Security analysis

A100/100

Scanned September 11, 2026

npx -y skills add x402agent/SolanaOS --skill pumpfun-fees --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Pumpfun Fees?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Pumpfun Fees
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/x402agent-pumpfun-fees/badge)](https://www.skillsdirectory.com/skills/x402agent-pumpfun-fees)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
description: Configure and claim creator fee sharing on Pump.fun tokens
---

# 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_URL` configured
- Token must be active (bonding curve or graduated)

## Fee Sharing Setup

### 1. Create Fee Sharing Config

```typescript
import { PUMP_SDK } from "solanaos";

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**.

```typescript
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

```typescript
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:

```typescript
import { totalUnclaimedTokens, currentDayTokens } from "solanaos";

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.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in blockchain →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.