Hardhat Ignition is a declarative deployment system that enables you to deploy your smart contracts without navigating the mechanics of the deployment process.
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
Both etherscan & sourcify.dev are supported by the
@nomicfoundation/hardhat-verify
package, butignition verify
doesn't allow you to select which verifier to use as it defaults to EtherscanThe
verifyEtherscanContract
function at https://github.com/NomicFoundation/hardhat-ignition/blob/2ece9520446adc495f9ad9c87ef5605e39fb62f5/packages/hardhat-plugin/src/utils/verifyEtherscanContract.ts#L4Is used by the
verify
task at: https://github.com/NomicFoundation/hardhat-ignition/blob/2ece9520446adc495f9ad9c87ef5605e39fb62f5/packages/hardhat-plugin/src/index.ts#L532The sourcify module for hardhat-verify is at: https://github.com/NomicFoundation/hardhat/blob/main/packages/hardhat-verify/src/sourcify.ts