Skip to content

Commit

Permalink
Add instructions to README
Browse files Browse the repository at this point in the history
  • Loading branch information
lukem512 authored Nov 30, 2017
1 parent 21e8d12 commit 3e9c973
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,11 @@
# smartdice
Dice smart contract to run on the Ethereum Virtual Machine
# SmartDice

A die smart contract that runs on the Ethereum Virtual Machine. The die will roll a random number between 1 and 6, as determined by [WolframAlpha](https://www.wolframalpha.com) via [Oraclize](http://www.oraclize.it/).

### Usage

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`.

### Deployment

Compile using [Remix](https://ethereum.github.io/browser-solidity) and deploy to an Ethereum network of your choice using [Go Ethereum](https://geth.ethereum.org/) or [Parity](https://parity.io).

0 comments on commit 3e9c973

Please sign in to comment.