Flatten multi-file Solidity contracts into a single file for Etherscan verification
Import Resolution • License Preservation • Etherscan Ready • OpenZeppelin Support
Contract flattening combines multiple Solidity files into a single file by resolving all import statements. This is necessary for verifying contracts on block explorers like Etherscan.
Automatically resolves all import statements
Maintains SPDX license identifiers
Works with OpenZeppelin contracts
Removes duplicate imports and code