(url, file)
| 31 | } |
| 32 | |
| 33 | async function httpProvider(url, file) { |
| 34 | web3 = new Web3(new Web3.providers.HttpProvider(url)); |
| 35 | Issuer = await web3.eth.accounts.privateKeyToAccount("0x" + require('fs').readFileSync(file).toString()); |
| 36 | } |
| 37 | |
| 38 | module.exports = { |
| 39 | initialize: async function (network) { |