Launch and lifecycle
Launching a token (one signature)
The incubator is a single form with three steps: identity and artwork, mutation and launch settings, then review.
- Steps one to three are plain page state. Nothing is sent to the server and no wallet is needed.
- On the last step the button reads Connect wallet to launch. Once a wallet is connected it reads Sign + launch token.
- Clicking it runs three calls:
POST /api/launch/beginsends the artwork and fields. The server stores the upload, saves a hidden draft token and prepares the launch transaction.- The wallet signs and sends that one transaction.
POST /api/launch/confirmsends the transaction id and signature. The server checks the transaction on chain, publishes the token and creates the creator's session.
There is no separate sign-in message. The confirmed transaction is the proof of wallet ownership: the wallet must be the fee payer, and the transaction must create this launch's mint and pool. See assertSignedLaunchTransaction in src/services/launch-intake.ts.
Drafts hold nothing
A draft is hidden from every list, search and archive. It does not reserve the ticker: the unique index on tickers only covers launched tokens (status <> 'draft'). If two people launch the same ticker at nearly the same moment, the second token keeps its on-chain mint and is published with a suffixed ticker such as ABC_1F2.
Generation history is append-only in the database, so drafts are never deleted. An abandoned draft has its unsigned launch cancelled and is simply left hidden.
Indexing
A token is listed, archived and searchable only once its launch state is live, graduating or graduated. Unlaunched tokens never appear. See indexedTokenIds in src/services/mutation-gate.ts.
Quote pairs
A token can only be paired with assets from a fixed list, as on pump.fun and stonk.fun:
- SOL
- USDC
- Tokenized stocks (Backed xStocks): TSLAx, NVDAx, AAPLx, AMZNx, GOOGLx, METAx, MSFTx, SPYx, QQQx, COINx, MSTRx, HOODx and PLTRx
The mints are hard-coded in src/domain/quote-assets.ts and were verified against Jupiter's verified xstocks tag. Metadata (icon, name, price) is fetched from Jupiter and cached in Redis with stale-while-revalidate. The picker only searches this list.
On devnet only SOL and mints that exist on the cluster can launch. Other assets show Mainnet only.
Token-2022 quote assets (the stocks) need a Meteora token badge. Their extensions are accepted because the badge is Meteora's own vetting. Scaled or odd-priced Token-2022 assets still need a pricing review before mainnet.
The graduation threshold is a USD target (DBC_MIGRATION_USD_TARGET, default 750) converted to quote units at launch.
Graduation liquidity
The permanent-50-50-v1 policy permanently locks all initial migrated liquidity in equal creator and MUTATE positions. Position ownership determines fee entitlement, without releasing the principal. This is a different mechanism from Pump.fun's LP burn. See Liquidity and fees for the exact allocation, fee distinctions, release controls, and historical-pool treatment.
The final launch review discloses the lock policy before wallet approval. The server records the policy version in the launch transaction preview and verifies the matching on-chain DBC configuration at confirmed launch and graduation. A mismatch stops lifecycle verification. The market panel reports each pool's actual configuration rather than applying a new lock label to historical pools. A configuration disclosure is not an independent inspection of current DAMM position balances.
Existing pools keep their recorded on-chain configuration. Changing the default does not retroactively lock an existing position. Migration funding and quote-asset conversion use separately accrued partner trading fees, never locked liquidity principal or creator fees.
Fee package
Chosen on the incubator's second step and fixed at launch.
| Option | Creator fee |
|---|---|
| Standard | none |
| Creator fee | 1% |
| Custom | 0% to 5% in 0.25% steps |
The protocol always takes a 1% curve fee. The creator fee is added on top. Meteora's pool has one trading fee and lets the pool creator claim a whole-number percentage of it, so a 1% creator fee becomes a 2% total fee with a 50% creator share. Because the share is a whole number, a requested fee can round slightly (0.50% is delivered as 0.495%). The screen shows the delivered figure. The maths lives in src/domain/fee-package.ts.
Holder reflections and burn splits are Not built: the pool cannot enforce them.
Claiming creator fees
The connected wallet is the creator page. Once signed in, clicking the wallet button in the header opens /creator, which lists every launched token that wallet created with:
- its creator fee setting and recipient,
- the fees ready to claim and the amount already claimed, in the token's quote asset (SOL, USDC and so on),
- a Claim button per token, plus totals across all tokens at the top.
Claiming builds a transaction against the bonding-curve pool through POST /api/tokens/[id]/claim-fees; the wallet signs it and it is recorded and reconciled like a trade (transaction kind claim-fees). If the token was launched with a different recipient wallet, the claimed fees are sent there. Amounts come from the pool on chain; if Solana cannot be read, the page says so instead of showing a number.
Only the launching wallet can claim, because it is the pool creator. If the wallet is connected but not signed in, /creator offers a Sign in with wallet button. Wallet settings and disconnect are on the creator page (Wallet) and the header's sign-out button.
Not tested on chain: the claim transaction has not been run against devnet yet, including the claim to a different recipient on a SOL pair.
Rules shown in the incubator
The "Mutation rules" card on step 2 lists the fixed rules a creator is agreeing to: the round windows, that mutation unlocks only after graduation plus the one-time $MUTATE fee (with its USD price), the 10 minute holder vote on identity changes, the limit of one proposal every 24 hours, and the 24 hour delay before an approved name or ticker change executes. The numbers come from the server's live settings through GET /api/launch/limits (rules), so they stay correct if the settings change.
Dev buy (optional)
On the incubator's second step the creator can choose None (the default), a preset of 0.1, 0.5 or 1 of the quote asset, or a custom amount. If set, the launch also buys the token from the creator's own wallet, so the creator holds supply from the first block.
- The buy is capped at 25% of the graduation target (
DEV_BUY_MAX_SHAREinsrc/domain/dev-buy.ts). - It spends the quote asset from the creator's wallet on top of the launch cost. The buy has no minimum-output protection, because the pool did not exist before this launch.
- With a dev buy the launch is two transactions (the pool's config, then the pool plus the buy). The wallet signs both in one approval when it supports signing several transactions at once; otherwise it asks twice.
POST /api/launch/beginthen also returnsserializedTransactions, and the confirm step uses the signature of the last one. - Without a dev buy nothing changes: one transaction, one signature.
Not tested on chain: the dev buy launch has not been run against devnet yet.
Graduation
DBC buys use the official SDK's partial-fill mode. The entered amount is a maximum input budget. Near graduation, the curve consumes the required input including fees and leaves excess unspent. The quote displays estimated unused input. The remaining curve reserve is a before-fee reserve amount, not an input spending cap. Sells use exact-in mode. See Meteora's SDK swap modes.
The market panel computes progress and creator/partner fee splits from one fetched pool/config snapshot. Optional largest-account reads cache verified results for 60 seconds or an unavailable result for 30 seconds. An unavailable holder list or wallet balance does not block graduation status. Migration preparation still checks fresh onchain curve progress before building a transaction.
When the curve fills, the BullMQ keeper automatically prepares, simulates and pays for DAMM v2 migration. Users do not sign a separate migration transaction. The launch state moves live to graduating to graduated only after chain verification. The worker uses a dedicated funded devnet signer, exact signed-message retries and spending limits. If the worker is unavailable or unconfigured, graduation waits without charging the creator. See automatic graduation operations.
The mutation gate
No mutation of any kind (proposals, support, votes, freeze, settle, next round, Forge upgrades) is accepted until both:
- the token has graduated, and
- the creator has paid the mutation fee.
The server refuses with MUTATION_LOCKED or MUTATION_FEE_UNPAID (HTTP 409). The token page shows a locked panel with the steps. The first round's clock starts only when both are true, so no window runs out while the token is locked. See src/services/mutation-gate.ts.
The mutation fee
- One time per token, paid by the creator wallet only, once the token has graduated.
- Priced in USD (
MUTATE_MUTATION_FEE_USD_CENTS, default 1900, which is $19.00) and converted to $MUTATE at a validated price. - Paid by burning $MUTATE with one
BurnCheckedtransaction. The burn is confirmed on chain, the wallet balance change and the supply change are checked, then the burn is marked executed and mutation starts. - It reuses the
/api/mutate/burn/*flow with action typemutation-activation. Seesrc/services/mutation-activation.ts. - These burns appear in the public burn history.