Bxpana
@bxpana
This Week I Learned (TWIL): Signature Standards in Ethereum and Diamond Proxies Letโs dive into two critical EIPs: EIP-191 and EIP-712. They play a key role in making Ethereum signatures more secure, readable, and versatile. ๐
1 reply
0 recast
4 reactions
Bxpana
@bxpana
Why do we need these standards? โ Human-readable messages: EIP-712 shows structured, user-friendly signing prompts. โ Security: EIP-712 prevents replay attacks. โ Sponsored transactions: EIP-191 enables sending transactions on behalf of users.
1 reply
0 recast
1 reaction
Bxpana
@bxpana
EIP-191: Basic Structure ๐ Format: 0x19<1 byte version><version specific data><data to sign> Examples of <1 byte version>: ๐น 0x00: Data with a validator ๐น 0x01: Structured data (EIP-712-compatible) ๐น 0x45: Personal_sign
1 reply
0 recast
2 reactions
Bxpana
@bxpana
EIP-712: Structured Data Signing EIP-712 improves traditional message signing by: ๐ผ๏ธ Adding structure for easier message readability. ๐ก๏ธ Defining fields explicitly to prevent signing unintended data. Letโs break it down! ๐
1 reply
0 recast
2 reactions