web3.eth.accounts.privateKeyToAccount is not a function.. but web3.eth.accounts[0] is working well.
what can be wrong?
Jul 6, 2018, 9:45 PM
check the version of the library and available functions in it
Jul 7, 2018, 1:20 AM