sourcifyeth / org

organisation of the sourcify project
3 stars 0 forks source link

Hackathon Ideas #72

Open kuzdogan opened 2 years ago

kuzdogan commented 2 years ago

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.

kuzdogan commented 2 years ago

A web UI to interact with contracts verified on Sourcify

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.

image

image

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.

Features

Maybe this could added to Otterscan as a feature too