Signature Request & JSON Format for Records #9
0xc0de4c0ffee
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
signed <record>.json format
a) 4+n..
"data": "0x+ <_abi.encodePacked(bytes4 __callback.selector, abi.encode(abi.encode(bytes _result), bytes signature, address signer))>"
b) 4+20+ ?8=uint64 _validity? all packed in bytes32;
"data": "0x+ <_abi.encodePacked(bytes4 __callback.selector, address signer, uint64 _validity, abi.encode(abi.encode(bytes _result), bytes signature))>"
Format/template for signature request on wallet side with crazy EIP151 validation in solidity. * not tested outside of head :p
I'll update this in namesys-eth/ccip2-eth-resolver#3 , peek in for review to make proper sig/req formats.
Full
__callback
function for context;Beta Was this translation helpful? Give feedback.
All reactions