INSTRUCTIONS: Add calculations section
This commit is contained in:
parent
f50fb5e50b
commit
70ddf7884b
|
@ -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
|
||||
```
|
||||
|
|
Loading…
Reference in New Issue