Skip to content

Lesson 9: Error: invalid address (argument="address", value=undefined, code=INVALID_ARGUMENT, version=address/5.7.0) (argument="vrfCoordinatorV2", value=undefined, code=INVALID_ARGUMENT, version=abi/5.7.0) #6143

Answered by Nlferu
Charlotte528 asked this question in Q&A
Discussion options

You must be logged in to vote

Hello @Charlotte528

you are using ethers v6 and that is causing you problems as whole course is made on ethers v5. To get address in ethers v6 you should use .getAddress() function instead of .address property. Or the best solution to follow with course is to downgrade ethers to v5

Replies: 1 comment 4 replies

Comment options

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

@sajidganie
Comment options

@sajidganie
Comment options

@Charlotte528
Comment options

Answer selected by Charlotte528
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