Overview
There are three ways to validate EVM signatures: Using Viem helpers, Manual validation, and EIP 6492 (necessary if you are using Kernel clients).Validate with Viem
Viem providesverifyMessage
(EIP‑191) and verifyTypedData
(EIP‑712). When you pass a PublicClient
, Viem can automatically validate contract wallet signatures via ERC‑1271.