https://github.com/patrickalphac/signatureverification
https://github.com/patrickalphac/signatureverification
Last synced: 2 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/patrickalphac/signatureverification
- Owner: PatrickAlphaC
- Created: 2024-01-26T19:49:48.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-06-13T01:39:30.000Z (11 months ago)
- Last Synced: 2024-06-13T06:13:26.754Z (11 months ago)
- Language: Solidity
- Size: 251 KB
- Stars: 14
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Wtf is EIP-712?
When signing messages in our wallets, our web3 wallets would ask us to sign the raw unreadable data:
![]()
So, we as a community decided we would format our data the exact same way, so that wallets had an easier time showing us what we are signing. Like the image here.
![]()
Check out the comments for more information.
Openzeppelin makes all of this easier with `MessageHashUtils.sol`
# Disclosure
*This code has not undergone a thorough security review, do not use it as production code.*