Importing source code and Code Verification

qqwyqqwy Member Posts: 16
Code Verification is wonderful.

However, when you've created a Solidity contract that contains more than a couple of (hundreds of...) lines, you start to realize that you want to split some things off to their own files, such as to an internal library.

`solc` allows you to import a file by giving its relative filename. However, the Code Verification on Etherscan (are there other places to verify your code right now by the way?) does not allow you to specify multiple files.

Replacing the `import './LibraryName.sol';` with its source code also still creates a different metadata hash (and thus a different bytecode hash, and thus code verification fails).

Is there a way to solve this?
Sign In or Register to comment.