Skip to content
Discussion options

You must be logged in to vote

@kamalchakma1

Then you have incorrectly downgraded ethers version. Ethers version 6 uses getAddress() function to retrieve the contract address, while the previous version 5 uses .address property. If you are still using ethers 6 (seems like you do) then replace .address with .getAddress() and it should fix your issue

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@kamalchakma1
Comment options

@Niferu
Comment options

Answer selected by kamalchakma1
@kamalchakma1
Comment options

@Niferu
Comment options

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