Docs
How Bunkers works.
Overview
Bunkers is a launchpad on pump.fun. Every coin launched here sends 100% of its creator fees to an on-chain program, locked before the first trade. Every 15 minutes those fees are added to each holder's rewards by average balance. Nothing is sent automatically: rewards wait in the program's treasury until each holder claims them, whenever they want. What each wallet is owed is posted on-chain as a Merkle root signed with a one-time, hash-based key, and holders withdraw with a backup code that signs with the same kind of key.
Nobody takes a cut: not the dev, not us.
Launching
You launch from your own wallet. The launch transaction does three things at once, so there's no moment where the coin exists but the fees aren't locked:
- creates the coin on pump.fun (create_v2), with an optional dev buy
- creates pump.fun's fee-sharing config for it with one shareholder, the Bunkers treasury, at 10,000 bps
- locks that config so it can never be edited again
A second transaction in the same approval signs a launch statement: the mint, creator, name, ticker, image hash, program and treasury. Its SHA-256 goes on-chain as a memo. Before your wallet sees either transaction, a firewall in your browser decodes and simulates both and blocks them if anything differs from what you typed.
The split
Every 3 minutes the keeper reads every holder's balance of every coin. Only ordinary wallets count: the bonding curve, liquidity pools and any other program-owned account are skipped, so fees reach people.
Every 15 minutes it claims each coin's fees into the treasury (pump.fun's distribute instruction, which anyone can call) and splits them. Your weight is your average across the 5 samples:
yours = floor(pot × your average ÷ sum of averages)
Rounding dust carries to the coin's next split. Buying right before a split earns at most one sample's worth; holding the whole window earns all of it.
Posting a split
The keeper keeps a running total per wallet across every coin and every epoch. Each epoch it builds a Merkle tree of (wallet, total) leaves and posts its root to the program with the epoch number and the grand total. The program accepts it only if:
- the epoch number is exactly the last one plus one
- the grand total never goes down, and never exceeds what the treasury holds plus what's been withdrawn
- it carries a valid Winternitz signature from the one-time key the previous post named as
next
That last point makes every root part of one unbroken chain of one-time keys, back to the program's first. A stolen server can't post a root the program accepts without the next key in that chain, and the grand-total check caps what any root could ever promise.
Your safe
A safe is a small account the program makes for your wallet. Opening it is the one time your wallet's own key is used: it signs a transaction that stores the hash of your first one-time key, derived in your browser from a backup code generated there. The code never leaves the tab.
You don't need a safe to earn. Splits accrue to your wallet address either way, and you can open the safe whenever you want to withdraw.
Withdrawing
Your code signs (wallet, key number, amount, destination, next key hash) with a 816-byte Winternitz signature (34 chains of 24-byte SHA-256 hashes). The program checks it against the key hash your safe holds, pays the amount from the treasury to the destination, and moves your safe to the next key. Each key signs exactly once.
Before the withdrawal, anyone can submit your Merkle proof to credit your safe with your latest total. The relayer does both and pays the network fee; it can't change the amount or destination, because your signature covers them. If we're down, tick “pay the fee myself”: the page builds and sends both transactions straight from your browser.
Losing your code
Your wallet can name a new key. It takes effect after 7 days, and any withdrawal made with the old code in the meantime cancels it. So someone who steals or cracks your wallet key alone can't take your rewards: you'll see the request on your safe and have a week to move them.
No private key
A normal wallet starts with a secret number, its private key, and its address is calculated from it. Whoever knows the secret moves the money, and a large quantum computer could work the secret out from the address.
The treasury is different. Its address is calculated from the program's id and the word treasury, and Solana only accepts addresses that no private key can ever match. Nobody holds a key to it, us included, because one can't exist. Only the program's code can move SOL out, and it does that only for a valid signature from a holder's backup code, up to what they're owed.
The program itself is locked before launch (its upgrade authority is removed), so nobody can change those rules afterwards.
What's quantum-safe
Solana wallets sign with Ed25519. A large enough quantum computer running Shor's algorithm could recover an Ed25519 private key from its public key, and no launchpad can change the wallet your tokens sit in. What Bunkers protects is the money that piles up for holders and every step it takes to reach you:
- the treasury is a program address with no private key at all
- roots are signed with Winternitz one-time signatures over SHA-256
- withdrawals are signed the same way, from your backup code
Hash-based signatures rely only on the hash function. Grover's algorithm weakens hashes by a square root at best, which is why NIST standardised hash-based signatures as a post-quantum option.
What you trust us with
- to run the keeper: if it stops, splits stop (your past totals stay withdrawable)
- to compute splits honestly: every epoch is published so anyone can recompute it, and the program caps the total
- not with your money: nothing we hold can move the treasury without your code
The website holds no keys. A separate signer does the claiming and posting under a fixed policy, logs every signature it makes or refuses in a hash chain, and signs a daily warrant to Solana. Its master key is split 2-of-3 (Shamir), and bait wallets on the server lock it down the moment one moves.
Checking it
/verify downloads any epoch's full record and recomputes every split, the root and the total in your browser, then checks the on-chain post and its signature chain against an RPC that isn't ours. The same page checks any coin's fee lock and statement, and the signer's audit log and warrant.