> ## Documentation Index
> Fetch the complete documentation index at: https://docs.gank.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# creator fees

> collect and split pump.fun creator fees

# creator fees

every trade on your token generates creator fees. they accumulate in an on-chain vault. you claim them whenever you want.

## how it works

```
trade happens on bonding curve
    |
    v  protocol fee -> pump.fun
    v  creator fee -> vault
    |
vault accumulates sol. claimable by creator.
```

## claiming

claim from the dashboard or api. fees transfer directly to the creator wallet.

## fee sharing

split creator fees with multiple recipients.

1. enable sharing on the token (changes on-chain creator to a sharing config pda)
2. configure shareholders with addresses and basis points (must total 10000 bps = 100%)
3. anyone can call distribute to split accumulated fees to shareholders

### config

| param                      | what                    |
| -------------------------- | ----------------------- |
| `shareholders[].address`   | recipient wallet        |
| `shareholders[].share_bps` | basis points (100 = 1%) |

must total exactly 10000 bps.

### example

| recipient     | bps   |
| ------------- | ----- |
| creator       | 7000  |
| angel reserve | 2000  |
| team          | 1000  |
| total         | 10000 |

## upgrading old tokens

tokens created before fee sharing show as "not shareable" on pump.fun. to upgrade:

1. original creator signs `create_fee_sharing_config`
2. configure shareholders via `update_fee_shares`

once fee sharing is enabled, the old `collect_creator_fee` instruction stops working for that token. all collection goes through `distribute_creator_fees`.
