Please how so I solve these error with web3.js Snapshot of Error Message
const web3Token = new web3.eth.Contract(ERC20Token.abi);
you are probably using a version of web3 < 1.0.
Try this:
const web3Token = web3.eth.contract(ERC20Token.abi);
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.