Skip to content

Lesson 8 Fund, using HardHat local Account #600

Answered by pyromaus
armontej asked this question in Q&A
Discussion options

You must be logged in to vote

Was getting the same problem, this made it work:

  1. stop hardhat node, disconnect metamask from your website
  2. start a fresh hardhat node, create a new account on metamask using the private key of the 2nd node account (instead of the 1st)
  3. use this 2nd account to connect and hit Fund on your front-end

Try this and let us know if it helped

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@armontej
Comment options

@pyromaus
Comment options

Answer selected by armontej
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants