https://github.com/patrickalphac/signatureverification
https://github.com/patrickalphac/signatureverification
Last synced: 11 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/patrickalphac/signatureverification
- Owner: PatrickAlphaC
- Created: 2024-01-26T19:49:48.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-07-12T02:11:23.000Z (12 months ago)
- Last Synced: 2025-07-12T04:18:05.316Z (12 months ago)
- Language: Solidity
- Size: 260 KB
- Stars: 19
- Watchers: 2
- Forks: 5
- 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.*