Request signing
The Loopring API involves two different categories of signatures.
API Request Signature - is used to verify that the API invocations have been authenticated
Off-chain Request Signature - is used by Loopring to verify that off-chain requests have been authenticated. We will explain each of these two categories separately.
References
You can learn more about the Poseidon hash and EdDSA signature through the following literature and github repositories.
ethsnarks: https://github.com/HarryR/ethsnarks.git
SHA256 Hash: https://en.wikipedia.org/wiki/SHA-2
Poseidon Hash: https://www.poseidon-hash.info/
You can also refer to our example code for more details.
Last updated