Closed saimeunt closed 5 hours ago
Hi, I'd like to pick this one. I already made some contributions on https://github.com/walnuthq/cairovm.codes
From my understanding, in the future, we will add the contract section on the address page when it is developed, but from now, we want to technically validate Sourcify integration.
I need to dig into Sourcify but output of this issue would be:
@matthieuauger you're right, when the address page is further developed, at some point we will need a Contract tab just like Etherscan and we plan on using sourcify to both display the Contract source code and let users verify their contract on op-scan. Once the contract is verified and we have access to the ABI, we will leverage this info in other parts of the explorer such as decoding transaction calldata to display human readable function name and arguments. We will also be able to develop the read contract / write contract functionality. Assigning to you as you provided a clear understanding of the expected output.
glad to see you here @matthieuauger
I want to note, with regard to your comment on infrastructure, that we want this explorer to stay lightweight so that anyone can run it locally when building a new chain on the OP Stack. Please keep that in mind while exploring this issue.
Yeah I definitely got that in mind, setup should be as simple and light as possible
Explore integration of Sourcify for Contract Verification
⚠️ Reading contributors guidelines to get assigned is MANDATORY!
Read contributors guidelines
In the future, we plan to add contract verification into the explorer.
What we want to achieve ideally:
The goal of this task is to try to implement a POC (quick&dirty) integration with Sourcify (https://github.com/ethereum/sourcify) to see if it's a good solution for our needs. Mainly: