0

Advice for verifying contracts that were deployed through Remix using Chainlink Imports? Currently BSCScan (and I believe Etherscan) have the following limitation:

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. 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.

1 Answers1

0

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.

As an alternative, you can take all the code from remix and throw into a new Hardhat project, and then use the hardhat-etherscan plugin to easily verify the contracts