Skip to content

This demo runs on a simulated chain with a demo wallet. Simulated demo. Use a real NEAR wallet on testnetReal wallet on testnet

Judge mode

Watch a full sealed-bid sale: 50 people, 3 sniper bots and 1 copycat bid, and every winner pays one price.

Demand

Normal demand: bids want more than the supply, so the price rises above the floor and every token sells.

About 35 seconds. No wallet, no funds.Be the bot

Simulated in your browser: the chain, the accounts, the enclave and the gas relayer. The encryption and the clearing math are real.

The run in nine steps

  1. 1Create the sale
  2. 2Enclave makes the sale key
  3. 33 sniper bots bid at second 0
  4. 450 people bid over the window
  5. 5A copycat replays a sealed bid
  6. 6The bid window runs out
  7. 7Anyone closes the sale
  8. 8Enclave clears the sale
  9. 9Result

Be the bot

Simulated

Enter at the open, before 50 people arrive. Both launches use the same buyers, budgets and timing.

The same sale on NEAR

Trust assumptions and limits
Gas
A relayer pays the network fee of every bid, reveal and claim, so a bidder needs USDC and no NEAR.
Wallets
A gasless bid is a delegate action signed with a full-access key. A wallet that cannot sign one sends the same bid and pays a small NEAR fee.
Token
The contract deploys each sale's token, with a fixed supply, to its own sub-account <sale_id>.<contract>.
Enclave
The enclave job's hash is pinned in the contract. OutLayer attests each run, and the contract accepts a result only for that hash.
Bid slots
Slots are first come, first served. A void bid, like the copycat's, loses 1 % of its deposit, so filling them with junk costs money.
Funding
An open sale shows live dry quotes for funding a bid from another chain. See the sales