You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the hardhat-etherscan plugin in a Hardhat project that deploys both to an Etherscan website (like Ethereum Mainnet or Rinkeby testnet) and PolygonScan, I am often running into the following error:
Use Case
When using the
hardhat-etherscan
plugin in a Hardhat project that deploys both to an Etherscan website (like Ethereum Mainnet or Rinkeby testnet) and PolygonScan, I am often running into the following error:The reason is that the API keys for etherscan.io and polygonscan.com are not interchangeable.
Solution
Add a
polygonApiKey
orpolygonScanApiKey
field to theetherscan
configuration object.The text was updated successfully, but these errors were encountered: