Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(contract-verifier): Support verification requests for contracts verified on Etherscan #3390

Open
popzxc opened this issue Dec 16, 2024 · 0 comments

Comments

@popzxc
Copy link
Member

popzxc commented Dec 16, 2024

Prerequisite for matter-labs/block-explorer#359 (see the issue for more details).

We need to support a new form of verificaiton request which would indicate that the contract is verified on Etherscan.
For such a request, contract verifier can fetch source code from Etherscan API (this assumes that URL for the corresponding Etherscan implementation and API key are part of the configuration) and turn it into a verification request.

The verification should not be trustless, e.g. we indeed need to make sure that the results match the deployed bytecode.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant