Skip to main content
Zondax Github LinkZondax Github Link
Theme SwitchTheme Switch

Lottery

This is another use case you should check to learn about this world. This is very simple to understand because the main purpose is to show how to get random values inside your smart contract.

It implements these series of features:

  • Save an array to storage
  • Load data from storage
  • Create a constructor
  • Use method to generate random values

Let's go to the project ↗️