Probabilistic Smart Contracts:
Secure Randomness on the Blockchain

The Code


We have implemented the RBGC in Solidity. The code is available here.


How to test it

You can run the code on your local machine using geth or follow this tutorial for testing it on the Ropsten Ethereum test network.