extension icon indicating copy to clipboard operation
extension copied to clipboard

Use 4byte to look up all unknown transaction function signatures by selector

Open mhluongo opened this issue 3 years ago • 0 comments

Secure signing means users need to know the implication of what they're signing... otherwise the signature doesn't represent user consent. And for most users, a hex string ain't that.

We can use 4byte to look up function selectors to get additional metadata, making many otherwise inscrutable contract calls somewhat bearable. We can apply this in two places in the wallet to great success

  • [ ] Show function signatures before a user signs a transaction
  • [ ] Show function signatures in activities when we don't have a better visualization. More context on that problem space here

cc @henryboldi as I know you want to see more tx introspection / activity metadata.

mhluongo avatar Nov 30 '21 19:11 mhluongo