Add some helpers to reset a fresh DAO

This commit is contained in:
2019-04-04 19:27:57 +02:00
parent 732dfe7b29
commit db312dafbf
4 changed files with 28 additions and 12 deletions

View File

@@ -64,6 +64,11 @@ Ethereum RPC port.
**Step 2-4 is also summarized in `npm run bootstrap`**
If you want to reset your local setup:
$ npm run reset // deploys a new kit and a new DAO
$ npm run reset:hard // deploys all apps and does reset
## Contract architecture
Contracts are organized in independent apps (see `/apps`) and are developed
@@ -87,6 +92,8 @@ CLI. _At some point these should be moved into a real nice CLI._
To run these scripts use `truffle exec`. For example: `truffle exec
scripts/add-proposal.js`.
Some scripts are also defined as npm script, see package.json.
### cli.js
Call any function on any contract: