让 dApp 自动验证工厂部署的合约
假设合约工厂在任何时间点(而不是部署工厂智能合约时)在以太坊上部署新合约。克隆由用户触发部署。
是否可以通过 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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
有一个 Hardhat 插件,它通过调用他们的 验证 API。
There is a Hardhat plugin that verifies your contract on Etherscan by calling their verification API.