ARPA Network
search
⌘Ctrlk
ARPA Network
  • ARPA Network
  • Becoming a node & get rewarded
  • Randcast
    • Getting Started
    • SharedConsumer: An Out-of-the-Box Randomness Consumer Contract for Lottery and Gaming Demonstration
    • Using the SDK
      • Adapter
      • BasicRandcastConsumerBase
      • GeneralRandcastConsumerBase
      • Randcast Utilities
      • Consumer Contract Examples
        • Example - Get Random Number
        • Example - Roll a Dice
        • Example - Shuffle an Array
        • Example - Draw a Lottery
        • Example - Pick a Property
        • Example - Pick a Rarity
        • Example - Pick a Winner
        • Example - Advanced Request
    • Supported Networks & Parameters
  • GitHub Repositories
gitbookPowered by GitBook
block-quoteOn this pagechevron-down
  1. Randcastchevron-right
  2. Using the SDK

Consumer Contract Examples

Example - Get Random Numberchevron-rightExample - Roll a Dicechevron-rightExample - Shuffle an Arraychevron-rightExample - Draw a Lotterychevron-rightExample - Pick a Propertychevron-rightExample - Pick a Raritychevron-rightExample - Pick a Winnerchevron-rightExample - Advanced Requestchevron-right
PreviousRandcast Utilitieschevron-leftNextExample - Get Random Numberchevron-right

Last updated 1 year ago