-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added additional deployment instructions and an image of web app
- Loading branch information
Showing
1 changed file
with
6 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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). |