Skip to content

Commit

Permalink
update proto for signature verification (#173)
Browse files Browse the repository at this point in the history
  • Loading branch information
37ng authored Apr 23, 2024
1 parent d6726db commit 0228519
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions proto/identity/associations/signature.proto
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,17 @@ message RecoverableEcdsaSignature {

// EdDSA signature for 25519
message RecoverableEd25519Signature {
// 64 bytes [R(32 bytes) || S(32 bytes)]
bytes bytes = 1;
// 32 bytes
bytes public_key = 2;
}

// Smart wallet signature
message Erc1271Signature {
// CAIP-10 contract address
// CAIP-10
// https://github.com/ChainAgnostic/CAIPs/blob/main/CAIPs/caip-10.md
string contract_address = 1;
string account_id = 1;
// Specify the block number to verify the signature against
uint64 block_number = 2;
// The actual signature bytes
Expand Down

0 comments on commit 0228519

Please sign in to comment.