-
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.
- Loading branch information
Showing
1 changed file
with
11 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,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). |