New answers tagged


ParserError: Expected identifier but got 'payable' address payable private developerAccount_; ^-----^


All functions interacting with the network return promises. You must wrap everything in an async function and await them. E.g. var Tx = require('ethereumjs-tx'); var Web3 = require('web3'); const {ethers} = require('ethers'); (async () => { ... // get transaction count, later will used as nonce var count = await web3.eth.getTransactionCount(...

Top 50 recent answers are included