bsc/docker/init_holders.template
dylanhuang f2f68dba15
ci: unit test and truffle test (#456)
* ci: add unit test

fix: failed on test

* ci: add truffle test

* ci: update os version

* ci: add cache for go build
2021-10-18 18:16:32 +08:00

8 lines
274 B
Plaintext

const web3 = require("web3")
const addresses = "{{INIT_HOLDER_ADDRESSES}}"
const balance = web3.utils.toBN("{{INIT_HOLDER_BALANCE}}").toString("hex")
const init_holders = addresses.split(",").map(address => ({ address, balance }));
exports = module.exports = init_holders