github.com/fff-chain/go-fff@v0.0.0-20220726032732-1c84420b8a99/docker/init_holders.template (about)

     1  const web3 = require("web3")
     2  
     3  const addresses = "{{INIT_HOLDER_ADDRESSES}}"
     4  const balance = web3.utils.toBN("{{INIT_HOLDER_BALANCE}}").toString("hex")
     5  const init_holders = addresses.split(",").map(address => ({ address, balance }));
     6  
     7  exports = module.exports = init_holders