Skip to content

deploying error whenever I try to deploy on the Goerli network. #2825

Discussion options

You must be logged in to vote

@gus1000 Make sure this import is correct;

const {
  developmentChains,
  networkConfig,
} = require("../helper-hardhat-config");

And also you have got the chainId like this;

const chainId = network.config.chainId;

And here get the vrf address like this;

vrfCoordinatorV2Address = networkConfig[chainId]["vrfCoordinatorV2"];

Replies: 3 comments 17 replies

Comment options

You must be logged in to vote
7 replies
@xdarksamusx
Comment options

@othaime-en
Comment options

@othaime-en
Comment options

@xdarksamusx
Comment options

@xdarksamusx
Comment options

Comment options

You must be logged in to vote
5 replies
@alymurtazamemon
Comment options

@xdarksamusx
Comment options

@xdarksamusx
Comment options

@xdarksamusx
Comment options

@alymurtazamemon
Comment options

Answer selected by alymurtazamemon
Comment options

You must be logged in to vote
5 replies
@xdarksamusx
Comment options

@krakxn
Comment options

@xdarksamusx
Comment options

@xdarksamusx
Comment options

@krakxn
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
4 participants