Suppose I would like to organize a honest lottery and prevent cheating when we need to find a winner. I known problem of random number in the known network arises.
I would like to try the following ...
I'm looking at making gambling apps is ethereum. Currently made a contract that can flip a coin. After looking at this question:
How can I securely generate a random number in my smart contract?
I am reading the following article from a website:
In the context of Blockhash the author says:
For instance, a good protocol (formulating a random trial as a “bet”)
is the following: