Signature
Last updated
Last updated
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.
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.
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".
The struct defined by this SNIP can be obtained from our smart contract available on GitHub
Examples of this implementation can also be found in our , as well as in our and . These examples provide a clear guide on how to interact with the SNIP-12 compliant metadata, ensuring seamless integration and usage on our exchange.