INSTRUCTIONS: Add calculations section

This commit is contained in:
nfnty 2017-06-16 14:01:30 +02:00
parent f50fb5e50b
commit 70ddf7884b
No known key found for this signature in database
GPG Key ID: 32DD96A5D0370907
1 changed files with 13 additions and 1 deletions

View File

@ -3,7 +3,7 @@
* Install `yarn` and `npm`.
* Run `yarn` at the repo root.
* Use the same BIP39 compatible mnemonic in both `truffle.js` (can be set by environment variable `TEST_MNEMONIC`) and for your client.
* Change the `from` key in `truffle.js` for any network other than Ropsten or Kovan.
* Change the `from` key in `truffle.js` for any network that requires it.
* Compile contracts:
```
./node_modules/.bin/truffle compile
@ -27,3 +27,15 @@
```
./node_modules/.bin/truffle migrate --network development_migrate -f 2
```
## Calculations
* Install `python3.6`.
* Caculate outcomes of different ceilings by running:
```
./scripts/ceiling_curve_calc.py --limit=6100000000000000000000 --curve-factor=300 --fee-token=0.1
```
* Run the following to see all options:
```
./scripts/ceiling_curve_calc.py --help
```