How a draw receives randomness
When a lottery draw becomes available and is initiated, the CoinLotto smart contract requests randomness through Chainlink VRF.- The draw request is recorded on-chain.
- Chainlink VRF returns a random value together with a cryptographic proof.
- The proof is verified on-chain before the random value can be used.
- The CoinLotto contract uses the verified random value to select winning ticket numbers under the lottery’s fixed Prize Distribution rules.
- The draw is finalized, the outcome becomes immutable, and the resulting prizes become claimable.

