nuxt-box
nuxt-box copied to clipboard
Demo page for signing transactions
Create a dedicated page in the site template that demonstrates the process of performing a transaction signing (personal sign or eth sign) using metamask. The idea is to give a user an out of the box example of this standard and to promote the usage of signing while using nuxt-box.
[ ] Create a new page called 'signing' [ ] Create a neat UI aesthetic for the demo ( nothing too crazy ) [ ] Create a new store called 'utils' for all the function handling [ ] Create a button that invokes metamask to sign a simple message with a couple of data fields (maybe time?) [ ] Display the signed hash [ ] Recover the public key from the hash and display the address [ ] Be creative on what a developer could find most useful on learning this concept on this page.
Useful Resources
- https://ethereum.stackexchange.com/questions/12033/sign-message-with-metamask-and-verify-with-ethereumjs-utils
- https://medium.com/metamask/the-new-secure-way-to-sign-data-in-your-browser-6af9dd2a1527