I'm using web3.jp 1.0
How to connect (log in) my existing account (for example, created through myetherwallet) to make a transaction or call contract?
As I understand it, the list of accounts is provided by the RPC node, because when using testerpc in the Web3.eth.accounts, test accounts were available, but new ones were not added.
const Web3 = require('web3');
console.log(web3.eth.getAccounts()) // []
thank you!