Skip to content

LESSON: Lesson 13: Hardhat DeFi & Aave Error: invalid signer #2211

Answered by RoboCrypter
sparrow313 asked this question in Q&A
Discussion options

You must be logged in to vote

@sparrow313 : Correct your this line of code with this one: const wethBalance = await iWeth.balanceOf(deployer)

You were missing await keyword, That's why it is giving you error "Invalid Signer", Rest your code is fine.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@sparrow313
Comment options

Answer selected by sparrow313
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants