fair_draw
Provably-fair random integer from a committed seed (commit-reveal). Use for verifiable winner selection, raffles and allocations. Reveal the seed afterwards so anyone can reproduce the result.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max | No | Maximum value (default 100). | |
| min | No | Minimum value (default 1). | |
| nonce | No | A counter to get a new number from the same seed. | |
| round | No | Round id (default 1). | |
| client_seed | No | Your own seed (keep it, it makes the draw verifiable). |