268 Commits

Author SHA1 Message Date
d510bd4a03 Use new proposal ipfs storage 2018-04-02 18:14:07 +02:00
f55e95c7ae Split IPFS hash for proposals to use bytes32
Uses the same method as in Contrbutors to store proposal hashes
2018-04-02 18:09:12 +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
8f8582be69
Merge pull request #7 from 67P/json-abis
Add build-json script
2018-03-31 15:08:33 +00:00
5e1fc9c276 Add build-json script 2018-03-31 17:02:40 +02:00
85ae154860 Import/Migrate existing kredits contracts
This brings in the current state of the kredits contracts incl. the
Contributors, Operator and Token contract.
2018-03-31 16:18:17 +02:00
f0caa1208d Add truffle and ganache-cli as dev dependency 2018-03-15 09:01:26 +01:00
f0211ff4c1 Add proper Token contract 2018-03-15 08:55:17 +01:00
68fb8b2bee update readme 2018-03-14 23:26:30 +01:00
ae0ae82fcb Log an event for implementation changes 2018-03-14 21:05:35 +01:00
6cbfc88159 Refactor to support multiple contracts in the registry
This allows to manage different contracts (Token, Collaborator, etc.)
with one registry.
The registry serves as main source for all contracts and versions.
Versions are independently deployed and added to the registry. From
there the proxy contract's implementation can be upgraded to the new
version.
Currently no access control is implemented.
2018-03-14 19:12:03 +01:00
4051093f72 Add requirements 2018-03-12 20:13:38 +01:00
e69bd2a976
Example process for upgrading a contract 2018-03-12 19:49:57 +01:00
50ed9a6a79
Fix readme formatting 2018-03-12 19:20:09 +01:00
9deb7c2c7f more basic readme 2018-03-12 17:47:31 +01:00
9efe30afda Upgradable experiments 2018-03-11 23:12:29 +01:00