Skip to content

Commit

Permalink
rectified need for payment
Browse files Browse the repository at this point in the history
  • Loading branch information
marcoeg committed Jul 27, 2018
1 parent 71edf51 commit e2c7ae0
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ This contract is an example of how to use a Blockduino board and the Blockduino

### Deployment
The contract is deployed providing the adress of the core Blockduino contract and the address of the Blockduino board Ethereum account. That is the board used to generate random numbers from the TrueRNG device.
> A value of at least 0.04 Ether must be provided to the contract at deployment time to provide for gas used in future transactions initiated by the contract.

### Usage
To obtain a true random number generated from Blockduino, a transaction is sent to the `generate()` function of this contract with a value of 0.02 Ether. The fee paid minus the gas needed for the transaction to the board, is transfered to the Blockduino Ethereum account used by the contract, and the random number generated is copied in the `randomNumber` global public variable of the contract.
Expand Down

0 comments on commit e2c7ae0

Please sign in to comment.