Skip to content

Hardhat-Fund-Me: Error: invalid address on rinkeby #49

Discussion options

You must be logged in to vote

Summary

You're getting an invalid address! You can see in the error right at the top of the error:

Error: ERROR processing /Users/dibakar/Downloads/Projects/smart-contracts/hardhat-fund-me/deploy/01-deploy-fund-me.js:
Error: invalid address (argument="address", value=undefined, code=INVALID_ARGUMENT, version=address/5.6.1) (argument="priceFeedAddress", value=undefined, code=INVALID_ARGUMENT, version=abi/5.6.3)

For anyone getting this issue, it means that you have an invalid address somewhere, try figuring out which address is wrong!

In this specific case

This is saying your priceFeedAddress is wrong.

You could either be:

  1. Pulling in your networkConfig from the wrong location
  2. In your netw…

Replies: 3 comments 19 replies

Comment options

You must be logged in to vote
2 replies
@RevanthGundala
Comment options

@dibakarsutradhar
Comment options

Comment options

You must be logged in to vote
16 replies
@gumansinghrajput
Comment options

@honxsinatra
Comment options

@tusharr1411
Comment options

@honxsinatra
Comment options

@ghost
Comment options

Answer selected by PatrickAlphaC
Comment options

You must be logged in to vote
1 reply
@othaime-en
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
8 participants