Open kuzdogan opened 2 years ago
Etherscan has the feature to let users interact with contracts that are verified. Users can inject a Web3 wallet (e.g. Metamask) and send transactions calling the functions of the contract. It is also possible to "read" contracts without a wallet.
Sourcify is not a block explorer but more of infrastructure: a decentralized source code and metadata repository. It should be possible to build a web UI on top of this infrastructure that will enable this functionality.
The program would fetch the contract metadata from Sourcify and source code. It would be possible to view the source code. Use the metadata.output.abi
to show function parameters. Use metadata.output.devdoc
to display dev comments and metadata.output.userdoc
to show user documentation of the function.
userdoc
and devdoc
of the function.Maybe this could added to Otterscan as a feature too
A really nice question was asked during the ETH Global talk if there are specific projects that can be built during a hackathon etc. that would benefit Sourcify.
This is issue aims to gather those here.