Lesson 5 - Ethers.js Simple Storage: Error: invalid address or ENS name #249
-
Pls why am I getting this error? Here is my code snippet:
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
This will solve your problem.
Also, https://github.com/PatrickAlphaC/ethers-simple-storage-fcc/blob/main/deploy.js |
Beta Was this translation helpful? Give feedback.
-
Everything works fine now when I try again this morning, thank you so much for helping me. Here is what my code looks like.
|
Beta Was this translation helpful? Give feedback.
This will solve your problem.
To get the transaction count, we get it from the wallet, not provider
Also, https://github.com/PatrickAlphaC/ethers-simple-storage-fcc/blob/main/deploy.js
You can refer to the two points that I mentioned here in the script written by Patrick.