Lottery on Burnt Finance
We are all familiar with the concept of a lottery. It basically serves as a game of chance, oftentimes being a process in which winners are selected at random. Lotteries are also handy in decision-making situations such as sports team drafts.
The process for a lottery on Burnt Finance will be carried out as follows:
First and foremost, the users will enter the lottery process. Future block hashes will be utilized as a way to create a set of randomized numbers, which will then be duplicated (so there are now two sets of identical numbers).
The first set of numbers (Set A) will undergo a distribution and be granted across a group of users who are interested in entering the lottery.
With a smart contract, a random number will be drawn from Set B. The selected number from Set B will be matched with a user holding the identical number in Set A. The match determines the winner in this scenario.