Skip to content

Commit

Permalink
Link schema examples on spec
Browse files Browse the repository at this point in the history
Signed-off-by: ehanoc <[email protected]>
  • Loading branch information
ehanoc committed Nov 8, 2023
1 parent 6692a77 commit f459553
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ARCs/arc-0052.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ The function should check if the data, before and after decoding, isn't a regula
- `keyIndex`: The key index to be used for key derivation.
- `metadata`: Object to describe the type of data that is being signed. It should specify the encoding used (i.e msgpack, cbor, etc) and a schema so that the wallet can decode it to show the user.
- `encoding`: The encoding used for the data
- `schema`: The schema of the data in the form of a JSON schema. The schemas are an powerful tool for wallet providers to be able to enforce the type and format of the data that is being signed.
- `schema`: The schema of the data in the form of a JSON schema. The schemas are an powerful tool for wallet providers to be able to enforce the type and format of the data that is being signed. You can check schema examples [here](../assets/arc-0052/schemas/)
- **returns**: Byte array containing the signature. The signature is encoded as a 64-byte array (32 + 32 bytes). It holds a compressed point R + the integer s (confirming that the signer knows the msg and the privKey).
- Throws error if data doesn't match the schema

Expand Down

0 comments on commit f459553

Please sign in to comment.