Human-friendly contract interactions with Sourcify verification
Web3 users often sign transactions without knowing what they are doing. How can we let them take more informed decisions? Contracts verified on Sourcify (https://sourcify.dev) can be presented with human-friendly information via the ABI and the NatSpec documentation. This is made possible by Solidity's ""contract metadata"". Metadata also allows an improved way to verify contracts i.e. ""full verification"", which are cryptographically guaranteed byte-by-byte matches of the deployed contract's source code. The talk will outline what you can do as a contract developer and as a wallet developer for human-friendly contract interactions. We will walk through the building blocks towards this goal: What is NatSpec and how to make use of it? What is contract metadata and how does it cryptographically guarantee full verification? How does contract verification work? And finally, how do we make use of Natspec and ABI to show the user meaningful information?
Speaker
Event
EthCC[5]
Date
July 21, 2022
Category
dApps & UX/UI
Type
Talk
Language
EN