Sealed launches
How sealed-bid auctions replace the gas race.
A sealed launch is a sealed-bid, uniform-price auction deployed together with the token it sells.
#The four phases
| Phase | What happens |
|---|---|
| Commit | Bidders submit encrypted bids and a bucketed deposit. |
| Reveal | After bidding closes, the drand beacon releases the key and every bid is opened. |
| Settle | The clearing price is computed and the Uniswap pool is seeded. |
| Claim | Winners receive tokens, others receive refunds, the creator is paid. |
#Committing a bid
A bid has a maximum price and a quantity. The SDK hashes both with a random secret and timelock-encrypts them to a drand round that falls after the bidding window. The contract stores the fingerprint and the ciphertext. Because the key does not exist yet, nobody can decrypt the bid early, including the sequencer, keepers and Proven App.
#Bucketed deposits
Deposits are rounded up into fixed buckets so the amount locked does not leak the size of the bid. Anything unused is refunded at settlement.
#Revealing
Once the round passes, anyone can decrypt every bid and submit the openings. The contract checks each opening against the stored fingerprint, so a bid can be opened but never altered. Bids that never open are treated as not placed and refunded.
#The clearing price
Prices live on a grid of ticks between the launch's minimum and maximum price. Demand is accumulated from the top tick downward until the sale supply is exhausted. The tick where that happens is the clearing price. Every winning bidder pays it, regardless of what they bid.
#If a launch does not fill
If no valid bids open, or demand never reaches the minimum, the launch fails and every deposit is refundable. Failed launches show under Didn't make it in the app.
#Why this removes the race
Time of arrival has no effect on the outcome. A bid placed in the first block and one placed in the last block are treated the same, and nobody can see enough to front-run.