NomicFoundation/hardhat-ignition

Support for verification with sourcify.dev

CedarMist opened this issue · 2 comments

Both etherscan & sourcify.dev are supported by the @nomicfoundation/hardhat-verify package, but ignition verify doesn't allow you to select which verifier to use as it defaults to Etherscan

The verifyEtherscanContract function at

export async function verifyEtherscanContract(

Is used by the verify task at:

const result = await verifyEtherscanContract(instance, contractInfo);

The sourcify module for hardhat-verify is at: https://github.com/NomicFoundation/hardhat/blob/main/packages/hardhat-verify/src/sourcify.ts

We prioritized Etherscan based on usage, but we should provide this as an option to Ignition verification.

If you are keen on this feature, please give a thumbs up!