Signature
SNIP-12: Off-chain Signatures for LayerAkira Exchange
Overview
We use SNIP-12, a standard for hashing and signing typed structured data, for our exchange entries. This standard, inspired by EIP-712, ensures that the data signed off-chain is user-friendly and secure. Currently, we are using revision 0 of SNIP-12.
Motivation
SNIP-12 addresses the issues of signing random hexadecimal values by allowing users to sign understandable and structured data. This enhances both security and user experience by providing clear and readable values to sign.
Current Implementation
Our current implementation of SNIP-12 Metadata for the LayerAkira Exchange is:
This specifies our exchange name as "LayerAkira Exchange" and the version as "0.0.1".
Accessing Struct Information
The struct defined by this SNIP can be obtained from our smart contract available on GitHub here.
Sample Implementations
Examples of this implementation can also be found in our Swagger documentation, as well as in our TypeScript and Python SDKs. These examples provide a clear guide on how to interact with the SNIP-12 compliant metadata, ensuring seamless integration and usage on our exchange.
Last updated