How To Build a Verifiably Random Lottery Smart Contract on Ethereum
True randomness has been near impossible on Ethereum. This is because transactions need to be verified by multiple nodes on the network to be confirmed. If a smart contract function were truly random, each node that verified a transaction using that...