18 Commits

Author SHA1 Message Date
f4634fe692
Add amountSats to expense items
closes #248
2025-01-20 15:31:19 -05:00
75bcde4f49
Improve seeds script
* Add colors
* Inform user about failures at the end of the script
2022-04-28 19:21:09 +02:00
16d5704173
Remove obsolete import in seeds 2022-04-28 19:19:12 +02:00
0fde17a4e0
Refactor seeds script 2022-04-25 22:22:54 +02:00
8bb3f234c7 Get seeds working on RSK
we need to wait for the transactions to be mined otherwise we get a nonce error
2021-09-28 15:16:26 +02:00
dd70bf77d5 Cleanup scripts 2021-06-08 16:17:56 +02:00
23d3dd3a80 Adjust API for new ethers v5 API
see issue for details: https://github.com/ethers-io/ethers.js/issues/920#issuecomment-650836642
2020-06-29 17:23:08 +02:00
86bbe49c0b Fix seeds script to support new web3 version 2019-06-13 18:39:25 +02:00
6c8491e67b Handle errors in seed funding 2019-06-13 17:38:34 +02:00
786f38cfb7
Print errors in seed contract calls 2019-04-04 15:25:31 +02:00
ed3e5dd4c4
Allow seed tx to fail
This allows for running seeds multiple times, e.g. after adding new
ones.
2019-04-03 11:41:55 +02:00
4bd1aed197 Refactor kredits init in helper scripts
This now also supports readonly providers like infura
2019-03-29 12:05:51 +01:00
258c6729b6 Cleanup scripts and use helper to get the networkid 2019-03-27 17:06:52 +01:00
1594bf0e17 update seeds 2019-03-24 00:39:46 +01:00
847f5a251c Allow funding accounts with the seeds script 2018-04-23 13:43:35 +02:00
2503ac7c73 Refactor helper scripts to use kredits module
This reuses the kredits library functions in the helper scripts and
seeds. We no longer need to add IPFS hashes manually but simply can
provider contributor/proposal data.
2018-04-20 12:56:09 +02:00
7d52161014 Document helper scripts to interact with the contracts 2018-04-04 22:05:22 +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