Lesson 7 : Api Key error while verifying my contract on Goerli network #4613
-
I am getting this error: NomicLabsHardhatPluginError: You are trying to verify a contract in 'goerli', but no API token was found for this network. Please provide one in your hardhat config. For example: { This is my relevant code:
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
@NTLukeS Make sure to console log the |
Beta Was this translation helpful? Give feedback.
-
Your private key should be in hexa-decimals, for example: goerli: { |
Beta Was this translation helpful? Give feedback.
@NTLukeS Make sure to console log the
ETHERSCAN_API_KEY
and check it should not empty or undefined.