ERC-7739
Understand ERC-7739 defensive rehashing for alternative signer validation in Uniswap smart wallet accounts.
ERC-7739 is a standard which defines a defensive rehashing model for external signers on smart contract accounts. This does not apply to signatures from the root EOA (the one delegated to the implementation), but is enforced for all alternative keys which have been added to an account.
Draft Status
The ERC is still in draft here, with example implementations in Solady and OpenZeppelin.
Client-Side Tooling
Viem has a client-side implementation here.