[Contract Verification] Details on how the verification process works #467
-
EnvironmentTestnet Issue Type
Contract AddressNot relevant Compiler TypeMulti-part contract zkSolc Versionlatest Solc Versionlatest Contract NameNot relevant Contract Codeany Constructor Argumentsany Hardhat Verify Plugin VersionNo response Repo Link (Optional)No response Additional DetailsI have my own verification setup and would like to support zksync Unfortunately your doc redirect to tools and do not offer an explanation of how the process can work https://docs.zksync.io/build/tooling/hardhat/hardhat-zksync-verify.html#commands I noticed that the artifact generated by zksolc provide a metadata output that differs from normal solc What I am supposed to send to sourcify / etherscan / blockscout api ? Any link to your source code would be great Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 9 replies
-
Do you mean show exactly how the contract is verified behind the scenes of the tools?
Right now my understanding is that using the hardhat verify tool only supports verifying contracts on https://explorer.zksync.io/, but we have plans to extend that in the future to support https://era.zksync.network/ (Etherscan version). |
Beta Was this translation helpful? Give feedback.
-
Its quite similar to normal etherscan api with some differences |
Beta Was this translation helpful? Give feedback.
try this: https://block-explorer-api.mainnet.zksync.io/docs#/Contract%20API/ApiController_verifyContractSourceCode
Its quite similar to normal etherscan api with some differences