commitment
Verifiable commit-reveal. operation selects the step: commit -- hash a seed, bind it to draw_spec {operation, params}, attest via Stamp. The seed is returned to the caller and never stored. reveal -- verify a seed against commitment_id, re-execute the draw deterministically, attest the outcome. draw -- commit + execute + reveal in one call. Pass draw_spec, or operation + params directly. verify -- pure third-party verification of commitment_record + reveal_record. No local state. list -- read-only view of the local commitment log (limit, since).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| seed | No | ||
| limit | No | ||
| since | No | ISO 8601 lower bound | |
| attested | No | ||
| draw_spec | No | {operation, params} for commit/draw | |
| operation | Yes | ||
| description | No | ||
| anchor_beacon | No | ||
| commitment_id | No | ||
| reveal_record | No | ||
| commitment_record | No |