让 dApp 自动验证工厂部署的合约

发布于 2025-01-17 06:24:37 字数 154 浏览 3 评论 0原文

假设合约工厂在任何时间点(而不是部署工厂智能合约时)在以太坊上部署新合约。克隆由用户触发部署。

是否可以通过 dApp 在 Etherscan 上自动验证这个新合约?

PS:我知道你可以在 Etherscan 上手动验证,但是如果我需要 dApp 自动验证怎么办?

Say a contract factory deploys a new contract on Ethereum at any point in time (not when the factory smart contract is deployed). A clone is deployed on trigger by a user.

Is it possible to automatically verify this new contract on Etherscan from the dApp?

PS: I know you can verify it manually on Etherscan, but how if I need the dApp to do it automatically?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

去了角落 2025-01-24 06:24:37

有一个 Hardhat 插件,它通过调用他们的 验证 API

There is a Hardhat plugin that verifies your contract on Etherscan by calling their verification API.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文