Add script to add new contirbutors

Usage:

truffle exec scripts/add-contributor.js <ethereum address> <ipfs hash>
This commit is contained in:
2018-04-02 14:44:46 +02:00
parent 78b6b2e14f
commit d9ece98ffa
7 changed files with 991 additions and 5 deletions

View File

@@ -7,7 +7,7 @@ let contractCalls = {
],
addProposal: [
[1, 23, 'QmQNA1hhVyL1Vm6HiRxXe9xmc6LUMBDyiNMVgsjThtyevs'],
[2, 42, 'QmQNA1hhVyL1Vm6HiRxXe9xmc6LUMBDyiNMVgsjThtyevs']
[2, 42, 'QmQNA1hhVyL1Vm6HiRxXe9xmc6LUMBDyiNMVgsjThtyevs'],
[2, 100, 'QmQNA1hhVyL1Vm6HiRxXe9xmc6LUMBDyiNMVgsjThtyevs']
],
vote: [