[英]How to verify contracts that were deployed through Remix using Chainlink Imports?
Advice for verifying contracts that were deployed through Remix using Chainlink Imports?使用 Chainlink Imports验证通过 Remix 部署的合约的建议? Currently BSCScan (and I believe Etherscan) have the following limitation :
目前 BSCScan(我相信 Etherscan)有以下限制:
Contracts that use "imports" will need to have the code concatenated into one file as we do not support "imports" in separate files.
使用“导入”的合约需要将代码连接到一个文件中,因为我们不支持在单独的文件中“导入”。
The issue is that VRFConsumerBase.sol has additional imports in it as well.问题是 VRConsumerBase.sol 中也有额外的导入。 Making the concatenation process a bit burdensome.
使连接过程有点繁重。 I've done this following @Patrick Collins's video with Hardhat pretty easily but the project I'm working with is developed in Remix.
我很容易在@Patrick Collins 的带有安全帽的视频之后完成了此操作,但我正在使用的项目是在 Remix 中开发的。
This looks like it's working as designed unfortunately.不幸的是,这看起来像设计的那样工作。 Unless etherscan/bsscan etc changes their processes, you either have to do alot of manual appending of code, or just use something like hardhat to verify contracts
除非 etherscan/bsscan 等更改他们的流程,否则您要么必须手动添加大量代码,要么仅使用安全帽之类的东西来验证合同
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.