Signature and verification
Contract Wallet
https://eips.ethereum.org/EIPS/eip-12711. encode the call data use:
encodeInputs(
"isValidSignature(bytes32,bytes)",
{
_data: hash,
_signature: toBuffer(sig),
}
hash is the message, sig is the signature
2. If the return value is 0x1626ba7e, means verify success, else the signature is not correct or the wallet is locked can not use now.Counterfactual Wallet
Endpoint
Response:
Test Env: Goerli
Last updated