Skip to main content

Provably Fair RNG Jackpot

The Provably Fair RNG Jackpot engine powers decentralized lotteries on Prizee LOTTERY with mathematically verifiable, tamper-proof randomness derived directly from the blockchain.


How Verifiable Randomness Works

Traditional online lotteries rely on closed-source software or blackbox random number generators (RNG) where participants must blindly trust the operator. Prizee LOTTERY replaces trust with cryptographic proof.

The Lifecycle of a Draw Seed

sequenceDiagram
participant Players as Players
participant Protocol as Prizee LOTTERY
participant Arc as Arc Blockchain
participant Winner as Winners

Note over Players,Protocol: Round Open (Ticket Sales Active)
Players->>Protocol: Purchase Tickets (Choose 6 numbers from 01 to 54)
Note over Protocol: Countdown reaches 0 (Ticket Sales Permanently Locked)
Protocol->>Arc: Commit Target Future Block (e.g. Current Block + 3)
Arc-->>Protocol: Target Block Mined! (Extract Block Hash: 0x9f8b...2c4a)
Note over Protocol: Derive 6 Winning Numbers Mathematically
Protocol->>Winner: Distribute Prize Tiers Directly from Escrow
  1. Ticket Sales Lock: When the round countdown ends, ticket purchasing is permanently closed.
  2. Future Block Anchor: The protocol commits to a specific future block number on the Arc Network.
  3. Block Hash Extraction: Because no entity (miners, platform, or players) can predict a future block hash before it is validated by blockchain consensus, the resulting hash serves as an unbiasable cryptographic seed.
  4. Deterministic Number Derivation: The 6 winning numbers are derived publicly using an open mathematical algorithm that anyone can re-run and audit.

Mathematical Derivation Rules

The algorithm extracts numbers by converting the 64-character hexadecimal block hash into a decimal sequence and parsing sequential two-digit number pairs:

  1. Hex to Decimal: The block hash (e.g., 0x9f8b...2c4a) is converted into a standard decimal integer string.
  2. Sequential Pair Parsing: The sequence is read in sequential 2-digit pairs from left to right (e.g., 54, 45, 41, 28, 23, 08).
  3. Validation & Filtering:
    • Range Check: Numbers must fall within the valid lottery range (01 through 54). Numbers 55 and above are discarded.
    • Uniqueness Check: Duplicate numbers are ignored.
  4. Ascending Order: Once 6 unique numbers are collected, they are sorted in ascending order to form the official winning ticket.

Interactive Seed Decoder in the App

To ensure 100% transparency for everyday players, every completed draw includes an interactive On-Chain Seed Decoder directly on the ticket page:

  • Accepted Pairs (Lime Green): Highlights the exact 6 number pairs that satisfied all criteria and formed the winning ticket.
  • Skipped Pairs (Muted / Red): Shows numbers that were skipped because they exceeded 54 or were duplicates.
  • Remainder Digits (Dim): Shows the unused trailing digits after all 6 winning numbers were filled.
  • Verify on ArcScan: A one-click button to view the mined block hash directly on the blockchain explorer.

Prize Tiers & Distribution

Jackpot pools disburse rewards across multiple tiers based on how many numbers match the winning draw:

TierMatches RequiredDefault Pool ShareReward Description
Jackpot6 of 6 Numbers70% of PoolGrand Prize Winner(s)
Tier 25 of 6 Numbers15% of PoolMajor Prize Division
Tier 34 of 6 Numbers8% of PoolMedium Prize Division
Tier 43 of 6 Numbers4% of PoolMinor Prize Division
Tier 52 of 6 Numbers2% of PoolMicro Prize Division
Tier 61 of 6 Numbers1% of PoolFree Entry / Community Rebate

Rollover Mechanics (rolling_jackpot)

If no player hits the 6-of-6 match in a Rolling Jackpot round:

  1. The Grand Prize pool automatically rolls over into the subsequent scheduled round.
  2. New ticket sales and creator deposits continue to compound the cumulative jackpot.
  3. The grand prize accumulates until a winning ticket is drawn!