Dark pool on Vela
A seller offers a block of the stack's token for ETH. Bidders send their bids encrypted to the enclave; nobody sees a bid before the close; the matching runs inside; winners and losers are settled from escrow, and the losing bids are never revealed. This console plays every side on a devnet: the seller's desk here, and a desk per bidder it sets up. Every action is one request to the enclave, 30 to 60 s.
The seller
Offer a block
Blocks on offer
| # | Offer | Reserve | Rule | Status | |
|---|---|---|---|---|---|
| 1 | 1,000 TST for ETH | 1 ETH | uniform | closed · sold 600 TST for 0.9 ETH · 0.0015 ETH per TST on average |
Bidders' desks
| Who | Address | Wallet |
|---|---|---|
| Ana | 0x5347…75BC | 0.999056 ETH · 0 TST |
| Beto | 0x770f…c6A2 | 0.999073 ETH · 0 TST |
A desk is a wallet this console custodies for the demo; it registers and deposits by itself and its bids are signed with its own key. A bidder with a wallet of their own uses the command-line client and never sees this page.
What the chain sees
| Block | Public event |
|---|---|
| 614 | cleared · #1 · sold 600 TST · uniform |
| 598 | opened · #1 · 1,000 TST for ETH · uniform |
That a block was offered and what it cleared at. Never who bid what, never a losing bid.
The enclave's answers to the seller
| Block | What happened |
|---|---|
| 614 | cleared · #1 · sold 600 TST · unsold 400 TST · proceeds 0.9 ETH · 0x5347…75bc 600 TST for 0.9 ETH; 0x770f…c6a2 0 TST for 0 ETH |
| 598 | opened · #1 · 1,000 TST for ETH · reserve 1 ETH for the lot · uniform |
| 596 | deposit · 1,000 TST · balance 1,000 TST |
Built with Synsema on Vela · the code: SYNSEMA/vela-dark-pool · click an address to copy it