Ethereum Gambling and Randomness
Ethereum holds great potential for Gambling. Truly decentralised, completely trustless gambling; this is the promise. For that you need randomness.
Randomness is a Hard Problem
There are tough problems to solve. There will always be tough problems to solve. That’s why it’s fun.
At the moment a big question is; where to get the randomness from? The debate at the moment centres on 2 main options.
- The Blockhash.
The developers of the vdice code have chosen to do this with an Oracle.
— Oraclize (@oraclizeit) July 25, 2016
Overall however, if implemented properly, this can be more dependable and far less prone to malleability than blockhashes.
While still a little clumsy, with an Oracle, one is able to provide the cheapest, fastest, most efficient blockchain gambling experience for Ethereum.
Already the developers of the vDice Dapp have developed methods and technology to make this even faster and cheaper.
This is stuff the entire ecosystem will benefit from.
Security and simplicity.
We prefer to implement UI/UX for games that are secure. We like the game developed by the vDice developers because they have kept their codebase small at 200 lines. And we always favour the most secure solution. Again, to quote Otlw:
The first source that springs to mind is blockhashes…However, this is not entirely secure. The problem lies in the fact that miners have limited control over blockhashes…By withholding a miner could exert their influence over the random function, and because of Ethereum’s deterministic nature, a miner can be very knowledgeable on the outcome if they do publish a mined block.