Lesson 7: issues with hardhat deploy to Goerli network #3563
-
while deploying the contract on Goerli network, why I'm facing this error? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
@hariom2002 : You haven't pasted your Goerli RPC URL from Alchemy in your Make sure to go to Alchemy dashboard and copy the RPC URL and paste it in your It should fix this issue! |
Beta Was this translation helpful? Give feedback.
-
Hey, Goerli_RPC_URL is definitely the problem it shouldn't be ending on /your-api-key. you need to get RPC URL from alchemy and paste it in .env file. Also don't forget to export it in hardhat.config.js. |
Beta Was this translation helpful? Give feedback.
@hariom2002 : You haven't pasted your Goerli RPC URL from Alchemy in your
.env
file.Make sure to go to Alchemy dashboard and copy the RPC URL and paste it in your
.env
file, As there is no key in yourGoerli_RPC_URL
It should fix this issue!