Verifiable Fairness

Scratch uses Verifiable Random Function (VRF) technology powered by the drand distributed randomness beacon to determine every ticket outcome. Drand is a decentralized network of independent nodes that collectively produce unbiased, publicly verifiable random values at regular intervals. No single party — neither the protocol nor the player — can predict or manipulate the randomness before it is published.

When you buy a scratch ticket, your purchase is recorded on-chain. Once the drand beacon publishes the next randomness round, that randomness is delivered to the smart contract. For each ticket, the contract uses the randomness to generate a unique number between 0 and 10,000,000, which is then mapped against the prize tier probability thresholds to determine your result.

Because the randomness comes from an external, trustless beacon and the prize logic lives in an immutable smart contract, neither the protocol nor the player can manipulate results.

What You Can Verify

  • Randomness sourceEvery drand round is publicly available and independently verifiable via its cryptographic signature.
  • Outcome computationThe random number generation and tier mapping are executed entirely in the smart contract, visible on-chain for anyone to audit.
  • Prize payoutThe pUSD prize for each tier is enforced by the contract; the protocol cannot alter it after the fact.
  • All outcomes are on-chainEvery ticket result is permanently recorded on the blockchain and can be independently verified.

Immutable Contracts

The scratch game contracts are deployed without admin upgrade keys. Once deployed, the tier probabilities, multipliers, and payout logic cannot be changed. You can read and audit the source code at any time.

For more details, visit our documentation.