zkdarkpool(8): overview
What the room is, in one page.
Name
zkdarkpool - a dark pool for tokenized stocks, run as one contract (DarkRoom) and one process on one machine (the room).
Synopsis
t-300s t-15s t (close) t+~3min t+30min
| seal, seal... | cutoff | quicknet round | settle + proof | expiry
|-----------------|------------|-------------------|-------------------|
deposits any time; orders sealed here are unreadable until "close"Description
Traders deposit USDG, stock tokens or ETH into DarkRoom. An order is built and encrypted in the browser, then locked to the drand quicknet round of the batch close, and posted onchain as a ciphertext and a commitment. Nobody can read it before the round exists, the operator included.
At the close the room opens every order of the batch, applies one matching rule at the pool's own price, and produces a zero-knowledge proof that the published outcome of every slot is that rule applied to every committed order. The contract verifies the proof, then moves balances. Matched orders become public prints; unmatched orders are never published.
Pages
| page | what it answers |
|---|---|
| sealing(7) | how an order is encrypted and why nobody reads it early |
| batch(7) | cadence, price, the matching rule, fees |
| public(7) | what is visible, to whom, and when |
| proof(7) | what the proof covers and how to verify it |
/ search · [ ] previous and next page