ebb26f78c2
code style
2018-04-07 19:41:39 +02:00
1488862b42
Add check if method is defined on the contract
2018-04-04 22:42:16 +02:00
d42b0fa2dd
Add a general purpose contract CLI
...
This allows to call any method on any contract using the CLI.
for example:
$ truffle exec scripts/cli.js Operator proposalsCount
2018-04-04 22:24:33 +02:00
7d52161014
Document helper scripts to interact with the contracts
2018-04-04 22:05:22 +02:00
fc4c964253
Add scripts/add-proposal script
2018-04-03 20:21:56 +02:00
d510bd4a03
Use new proposal ipfs storage
2018-04-02 18:14:07 +02:00
8301514c64
Add script to send funds from the main account
...
Helpful in development mode using ganache to fund another account
usage:
truffle exec scripts/send-funds.js <address> <amount in ether>
2018-04-02 16:53:25 +02:00
d9ece98ffa
Add script to add new contirbutors
...
Usage:
truffle exec scripts/add-contributor.js <ethereum address> <ipfs hash>
2018-04-02 14:44:46 +02:00
78b6b2e14f
Add seeds script
...
Allows to seed the smart contract with development data specified in
config/seeds.js
Usage:
truffle exec scripts/seeds.js
or
npm run bootstrap which runs them all:
* truffle migrate --reset
* truffle exec scripts/seeds.js
* npm run build-json
2018-04-02 13:25:03 +02:00
5e1fc9c276
Add build-json script
2018-03-31 17:02:40 +02:00