Architecture

Learn about the architecture of Zenlink DEX Protocol.

Parachains on Polkadot are essentially a collection of completely independent and freely programmable Runtime Modules. Compared with Ethereum's smart contract, parachains are more completely isolated, and the running calculations between parachains can be independently parallelized. This allows Polkadot's comprehensive performance to increase by several levels, but it will also make the interaction between parachains more complicated.

The team led by Gavin is vigorously developing the communication protocol XCMP on the parachains, but even if the development of the XCMP protocol is completed, we still need to develop various application-related general protocols on the XCMP protocol. Zenlink DEX Protocol is to implement a protocol for parachains to interoperate and share the liquidity pool.

The cross-chain protocol on Polkadot can be compared to the traditional TCP/IP protocol. The XCMP protocol is similar to the data link layer on TCP/IP, which solves the transmission function of the indiscriminate perception protocol between each chain (route).

Zenlink DEX Protocol is similar to the application layer on TCP/IP. As long as each parachain implements Zenlink DEX Protocol, it can share all the liquidity pool of parachains on Polkadot.

Zenlink DEX functionalities can be imported into parachains in the following three ways.

  1. Integrated with parachains as a substrate module.

  2. Deployed to the Wasm Contract module on parachains.

  3. Deployed to the EVM Contract module on parachains.

Zenlink has specifically implemented the above three ways to facilitate the parachains one-click integration of Zenlink DEX Protocol.

Last updated