Learn the best practices for signature validation when building smart contract accounts on Abstract.
isValidSignature
, that can contain any arbitrary logic
to validate a given signature and largely depends on how you have implemented your smart contract account.
isValidSignature
function in your smart contract account:
isMessageSignatureCorrect
for verifying a message signature.isTypedDataSignatureCorrect
for verifying a typed data signature.