1

I have hardhat node running on http://127.0.0.1:8545/. However, On MetaMask (in FireFox), when I select Localhost:8545 as a Test Network, the first Account is entirely different from the List of 20 Accounts I see on Hardhat.

Could someone help me here.

Kind Regards

Singham

1 Answer 1

2

When you are starting a node locally hardhat will give you 10 accounts along with their private keys (iirc they will always be the same).

In order for any of those accounts to be visible on Metamask you will need to manually import any of these accounts by adding their private key, as described in their docs.

Those imported accounts wont be associated with the seed phrase of your Metamask account in any way though.

1
  • Many thanks my friend. It works like a charm!!
    – singham
    Commented Apr 28, 2022 at 11:51

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.