经历
使用openzeppelin写了个简单的Erc721合约,成功部署到goerli测试网,但是在验证的时候一直报错:文章来源地址https://www.toymoban.com/news/detail-511676.html
Error in plugin @nomiclabs/hardhat-etherscan: Failed to send contract verification request.
Endpoint URL: https://api-goerli.etherscan.io/api
Reason: Connect Timeout Error
NomicLabsHardhatPluginError: Failed to send contract verification request.
Endpoint URL: https://api-goerli.etherscan.io/api
Reason: Connect Timeout Error
at verifyContract (F:\w\hardhat\project2\node_modules\@nomiclabs\hardhat-etherscan\src\etherscan\EtherscanService.ts:35:11)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async attemptVerification (F:\w\hardhat\project2\node_modules\@nomiclabs\hardhat-etherscan\src\index.ts:461:20)
at async SimpleTaskDefinition.action (F:\w\hardhat\project2\node_modules\@nomiclabs\hardhat-etherscan\src\index.ts:765:48)
at async Environment._runTaskDefinition (F:\w\hardhat\proj
文章来源:https://www.toymoban.com/news/detail-511676.html
到了这里,关于使用hardhat验证智能合约(goeril测试网)的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!