Cryptocurrency Smart Contracts for Distributed Consensus of Public Randomness — conference paper published in 2017