Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
Added additional deployment instructions and an image of web app
  • Loading branch information
lukem512 authored Dec 1, 2017
1 parent 1556728 commit 0822e84
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
# 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/).
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](https://www.wolframalpha.com) via [Oraclize](http://www.oraclize.it/).

<img src="https://i.imgur.com/JT3BpDz.png" />

### 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).
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).

For instructions on deploying the web application, see [web/README.md](web/README.md).

0 comments on commit 0822e84

Please sign in to comment.