Example Code

https://github.com/Loopring/hello_loopring contains some simple examples to help you quickly get started using the Loopring API. Among them:

Now it's in loopring-v3 branch, will merge to master soon

  • hash_and_sign/: Use Python and the ethsnarks to calculate the Poseidon hash of any strings; sign and verify EdDSA signatures.
  • v3explorer/: Everything you can do in Loopring3.6, include but not limited to order, swap, join/exit AMM, transfer, withdrawal, etc.
  • trading/: Legacy 3.1 API, deprecated.

We will continue to improve and open source more example code in the future. Stay tuned.

results matching ""

    No results matching ""