Skip to content

跪求!!!困扰两周了,关于第四课我用hardhat3 插件viem typescript模版,我的合约部署成功,但是验证失败 #94

@453717310

Description

@453717310

caiwei@localhost:~/caiwei/hardhat-example$ npx hardhat run scripts/deploy-fund-me.ts --network sepolia --show-stack-traces
Nothing to compile
Nothing to compile

[hardhat-keystore] Enter the password: ************
Sending transaction using the OP chain type
contract is address: 0xdfa9fbaa8d6d551d19a63a0eafba6570df72a8fb
Error HHE80001 in plugin hardhat-verify: The request to https://api.etherscan.io/v2/api failed with the message "". This error comes from Etherscan, not Hardhat.

HardhatError: HHE80001: The request to https://api.etherscan.io/v2/api failed with the message "". This error comes from Etherscan, not Hardhat.
at Etherscan.isVerified (/home/caiwei/caiwei/hardhat-example/node_modules/@nomicfoundation/hardhat-verify/src/internal/etherscan.ts:114:13)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
at async verifyContract (/home/caiwei/caiwei/hardhat-example/node_modules/@nomicfoundation/hardhat-verify/src/internal/verification.ts:127:18)
at async (/home/caiwei/caiwei/hardhat-example/scripts/deploy-fund-me.ts:26:1)
caiwei@localhost:~/caiwei/hardhat-example$

Image老师,兄弟们有没有人知道,现在验证的api是不是不让用了?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions