Interactive Demo Introduction Spec

Commit-Reveal Protocol

Commit-Reveal Protocol

An interactive walkthrough of the commit-reveal protocol. You'll generate a key, hash data, create a commitment, submit it to a server, see how random selection works, and verify everything — with source code references at every step.

Temporal Ordering

Prove a commitment existed before the randomness that selected it

Integrity

Revealed data matches committed hashes — verified by SHA-256

Unbiased Selection

Items chosen by external randomness (drand beacon), not by the committer