Launch flow
Clanker v4 deploy, registry enrollment, and reward split at creation time.
Launch is a single API call (or wizard) that deploys the Clanker token and enrolls it in the protocol registry.
Endpoint
POST /api/v1/tokens/launch
Content-Type: application/jsonKey body fields:
| Field | Purpose |
|---|---|
name, symbol, image | Token metadata |
rewardSplit or diemPct / perpPct / creatorPct | Fee allocation (see Fee routing) |
creatorBuyUsdc | Optional initial buy of your token |
Clanker v4 specifics
pumperp uses Clanker SDK v4 on Base:
- Paired token: USDC (
0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913) - Pool: Uniswap v4 via Clanker hooks
- Fees: Dynamic tier (1–5% max aggression) — trading fees accrue to configured recipients
- Infrastructure:
ClankerLocker→collectRewards(token)→ClankerFeeLockerkeyed by(recipient, USDC)
Fee recipients are set at deploy time. The protocol wallet receives the protocol share; the creator wallet receives the creator share directly on Clanker — they claim their USDC without going through the engine.
Registry enrollment
After deploy, the backend calls ProtocolRegistry.enroll with:
function enroll(address token, string underlying, bool isLong, uint8 leverage) external onlyOwnerRegistry fields are stored onchain for indexing and display. Desk entry uses the agent (decideDeskEntry) to pick live market/side unless signal filter is disabled.
Register existing token
POST /api/v1/tokens/registerFor tokens already deployed on Clanker with correct fee configuration. Verifies pool and recipient setup before enroll.
Compared to Fission registration
Fission required a second step after Pump.fun: submit mint, verify PDA fee share, confirm admin revoked.
pumperp bakes recipients into the Clanker deploy — there is no separate "share config verification" step because the SDK sets rewards.recipients when the token is created.
Deploy order (protocol operator)
- Deploy
ProtocolRegistry.solon Base - Launch PUM (protocol token) via Clanker
- Configure backend
.env— registry address, PUM address, protocol private key (see Deployment) - Creators can launch via the frontend or API
See Deployment for the full env table.
