Documentation · Reference
Mechanism reference: commit-reveal-v1
The deciding mechanism: what is committed, what is revealed, and how the two are checked.
commit-reveal-v1 decides a wave in two recorded moments. A commitment fixes a sealed input before the wave runs; a reveal afterward discloses it, and the design lets anyone confirm the outcome follows from the value that was sealed all along — the record's read API is not live yet, so this page describes that design, ahead of it.
The procedure
- 01
Commit
The mechanism and a sealed input are written to the record before the wave opens.
- 02
Participate
Participations are recorded as they happen; nothing about the sealed input can change.
- 03
Reveal
The input is disclosed at the close, and the committed seal is shown to match.
- 04
Recompute
Once the read API is live, anyone will be able to recompute the outcome from the revealed input and confirm it against the record.