Open sourcing Lisk DEX SDK

Jonathan Gros-Dubois
2 min readDec 31, 2020

We have just open sourced 3 new project repositories as part of Lisk DEX SDK:

1. https://github.com/Leasehold/ldpos-chain
2. https://github.com/Leasehold/ldpos-client-js
3. https://github.com/Leasehold/ldpos-chain-crypto

The goal of this SDK are to provide:

  • A blueprint for building new kinds of DEX-compatible sidechains for Lisk and Leasehold.
  • Test suites to allow developers to easily test their blockchains to ensure that they are compatible with the DEX (without having to deploy an entire network).

This SDK ships with a new chain module called LDPoS which can be customized and used to launch any Lisk DEX market. We hope that this new chain module will be used to launch new sidechains on Lisk and Leasehold.

Some features of LDPoS:

  • Fully compatible with LDEX (supports decentralized cross-chain trading against Lisk 2.0 and Leasehold).
  • Completely different address system from Lisk and Leasehold.
  • Designed to run on LDEM engine as an independent process to make use of all CPU cores.
  • Simple consensus protocol with instant finality.
  • Multisig wallet members can be added and removed over time (this will provide more fluidity in the membership structure of DEX federations which rely on multisig).
  • Quantum-resistant, hash-based signatures (Lamport OTS with Merkle Signature Scheme).
  • Stateful signatures will allow you to change your wallet passphrase.
  • Dynamic fees.
  • Deflationary (no block rewards aside from transaction fees).
  • Only forges a block if there is at least 1 transaction.
  • Database adapter can be swapped out so that different databases/storage engines can be used (first adapter will be Postgres).
  • Configurable via LDEM config.json; config can be used as a template to launch multiple blockchain instances with different parameters.
  • 30 second block time.
  • Small number of dependencies.

Note that LDPoS is still in pre-alpha phase so please do not use it in production yet but feel free to start looking at the code, ask questions, share feedback and get involved. Stay tuned for additional info and opportunities.

Happy New Year from the Leasehold team!

--

--