Skip to content

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 anyone can confirm the outcome follows from the value that was sealed all along.

The procedure

  1. 01

    Commit

    The mechanism and a sealed input are written to the record before the wave opens.

  2. 02

    Participate

    Participations are recorded as they happen; nothing about the sealed input can change.

  3. 03

    Reveal

    The input is disclosed at the close, and the committed seal is shown to match.

  4. 04

    Recompute

    Anyone can recompute the outcome from the revealed input and confirm it against the record.