Nezha
  • 🏠Introduction to Nezha
  • How nezha works
    • Stake to Win
    • Nezha Epochs
    • Yield Farmer
  • Tickets
    • Stake per Ticket
    • Tickets
    • Bonus Tickets
    • Ticket Generation
  • The Draw
    • The Draw
    • Winning Sequence
    • No Draw Scenario
  • Prizes
    • Prize Tiers
    • Prizes
  • Fees
    • Staking
    • Unstaking
    • Claiming Prizes
  • Risks & Mitigations
    • Smart Contracts
    • Low Yield Returns
    • Negative Yield Returns
    • Tickets Outside Solana
    • Insurance Costs
  • Architecture
    • Overview
    • Game Contract
      • Epoch States
      • Token Accounts
      • State Accounts
      • Initialisation Instructions
      • State Transition Instructions
      • Other Instructions
      • Roles & Capabilities
      • Derived Account Roles
    • Draw Contract
      • State Accounts
      • Instructions
      • Roles & Capabilities
      • Derived Accounts
Powered by GitBook
On this page
  1. The Draw

Winning Sequence

Number generation with verifiable randomness

PreviousThe DrawNextNo Draw Scenario

Last updated 1 year ago

At the end of each epoch, Nezha generate the winning sequence of 6 numbers. Nezha then checks to see if participants have any matching tickets.

The winning sequence is comprised of 6 randomly selected numbers according to the rules described for

Each number is randomly selected using , a Solana on-chain source of verifiable randomness. The Nezha smart contract integrates directly with Switchboard.

tickets.
Switchboard