You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 13, 2022. It is now read-only.
trust-free user signatures for the balance proof messages used in doing a micropayment - user sees what he signs in a readable format (Ethereum addresses, how many tokens he owes the receiver, data for the open micropayment channel). This data is encoded by web3.js, not by the Dapp, making it safe from malicious Dapp implementations.
using the old signature formats, the user would have been shown an unreadable message and would not have been able to know what he signs.
our initial pre-EIP712 approach for the above issue was using the contract to encode the message, while still showing readable data to the user. This meant having complicated string concatenation code inside the contract, that could have hidden vulnerabilities.
Documenting our issues, PRs and approaches on this: