I'm playing about with email@example.com and I'm setting an HttpProvider on Ganache for my web3 instance:
this.web3Instance = new Web3(new Web3.providers.HttpProvider(environment.ethereum.provider));
I've noticed that if I call
this.web3Instance.eth.getAccounts() it returns the Ganache accounts, as I would've expected.
However, if I create a new wallet using
and then call
getAccounts() again, it returns the address from the newly created wallet file, and not the accounts on my Ethereum node (i.e. Ganache).
I fail to understand why - any insight is appreciated!