TypeError: (0 , ethers_1.getAddress) is not a function #6073
-
I got an error like this :
This is my code for 00-deploy-raffle :
I currently using ethers v5. This is my package.json :
and this is my hardhat.config :
I'm not sure what's wrong with this. Can someone help? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 12 replies
-
Hello @wwwbaraccuda It seems that you have used incorrect syntax of getting address. In v6 ethers you should be getting address like If above is not the case, please link your repo |
Beta Was this translation helpful? Give feedback.
sorry for the late reply.
Somehow the problem was solved by migrating from ether 5 to ether 6 and change some of the syntax as well. Here's my repo
Cheers