A dice dapp that runs on the Ethereum Virtual Machine. The die will roll a random number between 1 and 6, as determined by WolframAlpha via Oraclize.
To roll, execute the rollDice
function with enough Ether to cover the Oraclize fee. The result will be made available via the diceRoll
event and stored in the public lastRoll
variable as a uint
.
Compile using Remix and deploy to an Ethereum network of your choice using Go Ethereum or Parity.
For instructions on deploying the web application, see web/README.md.