§ 01 — How it works

One launch, from the first commit to the flywheel.

A launch moves through six statuses. This page walks through each one: who acts, what money moves, and which numbers are fixed by the protocol.

Live in demoOffchain ledger · in development

§ 1.1Two execution modes, one rulebook

Offchain custodial (default)Onchain (roadmap)
Who runs the auctionRailway backend, Postgres double-entry ledgerAnchor program sealed_launchpad
Where your money isCompany wallet; you hold an internal balance (Custody)Program-owned PDAs; you keep custody
How you sign in / actSIWS signature → bearer token → API callsWallet signs each transaction
Anti-snipe ruleBuys within 2s of graduation are flaggedBuys in the graduation slot are flagged
MathcomputeClearing, settleBid, splitFees from @sealed/sharedmath.rs, a line-for-line port
StatusIn developmentOn-chain · tests pending

§ 1.2Statuses

  1. 01

    commit

    bids sealed, collateral locked

  2. 02

    reveal

    preimages opened

  3. 03

    live

    vault drips, fees repay credit

  4. 04

    flywheel

    credit repaid, holders paid

Durations to scale for the API defaults: 20 min commit, 2 min reveal; live and flywheel run indefinitely.
StatusMeaningNext
commitCommit window open. Bidders lock collateral and submit a 32-byte commitment.reveal at commitEndTs
revealReveal window open. Anyone holding a preimage can reveal it (the bidder or the auto-reveal relayer).clearing at revealEndTs
clearingReveal closed; waiting for clear and graduation.live, or failed
liveGraduated. The pool trades, the buyback vault drips, fees repay the credit line.flywheel when outstanding = 0
flywheelCredit 100% repaid. Fees split 50/35/15 forever.terminal
failedNo revealed bids (or nothing raised). Every deposit is refunded in full.terminal
API statuses (LaunchStatus in types.ts). On-chain the program stores Open / Cleared / Failed / Live / Flywheel; commit, reveal and clearing are derived from timestamps.

§ 1.3Launch setup

The creator picks a quote asset — SOL, USDC, NVDAx, TSLAx, TTWOx, AAPLx, SPYx — and the auction parameters. Launched tokens always use 6 decimals and prices are quoted in quote-asset per whole token.

ParameterBoundsEnforced by
Creator allocation0 – 2% of supplyschema (400) + program (CreatorAllocationTooHigh)
Auction supply20% – 60%schema + program (InvalidAuctionSupply)
Commit window15 min – 30 min mainnet · ≥ 2 min devnetprogram (InvalidDuration); the API schema allows 2–30 min on every network
Reveal window60 – 600 s API · 60 – 1,800 s program · default 120 sschema + program
Drip interval120 – 300 s · default 180 s · 48 dripsprogram (InvalidDripInterval)
Clearing cap≥ targetRaise (API) and ≥ floor × tokensForSale (program)API superRefine + program (InvalidParams)

Supply split, worked

With the default supply of 1,000,000,000 tokens, a 1% creator allocation and a 40% auction:

10M

to the creator at creation

400M

sold in the sealed auction

590M

seeded into the pool (+ any unsold)

0

LP tokens minted — liquidity is locked

§ 1.4A launch, step by step

  1. Create. Offchain: POST /api/launches records the launch. Onchain: the creator signs create_launch, which mints the creator allocation and opens escrow, stake and rewards accounts.
  2. Commit. A bidder picks a max price on the tick grid and a bid amount, draws a 32-byte salt and submits keccak256(bidder ‖ max_price ‖ bid_amount ‖ salt) with a deposit ≥ bid amount. Only bid count, escrowed wallets and total escrowed are public. See Sealed auction.
  3. Reveal. The preimage is submitted and checked against the hash; the bid amount joins the tick histogram. Opting into auto-reveal seals the preimage to the relayer, which reveals at window open.
  4. Clear. One uniform price is computed from the histogram. Winners above it fill fully, the marginal tick is pro-rated, everything else is refunded. Unrevealed bids lose 1% of their deposit.
  5. Graduate. The raise and pool allocation seed a constant-product pool. The Credit Pool advances the credit line into the buyback vault and the first drip is scheduled one drip interval later. See Buyback vault.
  6. Trade and repay. Every swap pays a 1% fee in the quote asset. Fees repay credit 80/20 until outstanding reaches exactly zero, then split 50/35/15. See Flywheel.

§ 1.5Who does what

ActionOffchain (default)Onchain (roadmap)
Create launchcreator via APIcreator signs create_launch
Commit bidPOST /api/trade/commit (locks internal balance)bidder signs commit_bid (SPL transfer to escrow)
RevealPOST /api/trade/reveal or auto-revealanyone with the preimage: reveal_bid
Clear, graduatebackend schedulerpermissionless crank: clear_auction, graduate_and_open_credit
Drips, fee splitbackend scheduler on the ledgerpermissionless crank: execute_buyback_drip, distribute_fees
Claim, stake, rewardsPOST /api/trade/claim · stake · rewardsclaim_or_refund, stake, claim_rewards
WithdrawPOST /api/account/withdrawals → company wallet pays outnot needed: funds are already in your wallet