Skip to main content

Zenlink DEX Smart Contract

  • Team Name: Zenlink
  • Payment Address: 3FyMZ4Y6wFXkaSzdBPetizppR5bD6BVLUy

Project Overview πŸ“„β€‹

Overview​

Based on the prediction of the further growth of the DEX ecosystem in the future and the rapid development of the public blockchain technology, we propose a Polkadot network-based, high-liquidity, cross-chain DEX Network, Zenlink.

It is a decentralized exchange network that consists of Zenlink DEX Module, Zenlink DEX Aggregator and other DEX Application on parachains.

System Components​

In general, Zenlink project consists of the following parts:

  • Zenlink DEX Protocol: The top-level unified general DEX protocol which can be implemented by the following ways. We prefer to make it to have Auto Market Maker(AMM) function and be easy imported into parachain in multiple ways.
    • Module: it's implemented as a Substrate pallet which can be imported into the runtime of a parachain.
    • Smart Contract: it's implemented as a smart contract which can be deployed into the ink! pallet of a parachain.
  • Zenlink DEX Aggregator: A simple and user-friendly entrance of DEX world which is able to connect with most of DEX on Polkadot, so that user can do one-click trade with multiple DEX on low slippage
  • Zenlink Token(ZLK): The native token of Zenlink DEX Protocol which can be used to distribute liquidity benefits and governance, etc

Zenlink Ecosystem

As a result of the above components, a decentralized exchange network, Zenlink DEX Network, will be established.

Benefit​

Parachains don't need to implement dex functionality by themselves since Zenlink DEX Protocol has two implementations so it is easy to be integrated. After that, the tokens of parachains would be involved into Zenlink DEX Network by trading with other tokens of other parachains. The more parachains integrate with the protocol, the more tokens users can exchange, so that they would be like to be a market maker and benefit from the value of the flow.

Firstly, Zenlink DEX Module and Smart Contract will be implemented based on Zenlink DEX Protocol. In order to complete the Zenlink ecosystem, we would like to deploy it to a substrate blockchain and build a front-end website application, Zenlink DEX Dapp, for test.

Secondly, we would like to build another important component, Zenlink DEX Aggregator. It will connect to Zenlink DEX Dapp.

Thirdly, we will test the full function of Zenlink DEX Module and Aggregator on Kusama. Users also can try it on Zenlink DEX Dapp.

Finally, the whole infrastructure(Zenlink DEX Module and Aggregator) will be deployed to Polkadot, so that Zenlink DEX Dapp will be switched to Polkadot network and published.

Zenlink Architecture

What we will implement in this grant​

We will implement the protocol as a smart contract in this grant.

In the last grant, Zenlink DEX Module has been delivered within a docker image which has Auto Market Maker(AMM) function and is easy imported into parachain. Zenlink DEX Smart contract is not obsolete since those two implementation could be used by different cases. If a parachain doesn't want to integrate with Zenlink DEX Module into its runtime, it also has another option -- deploying the Zenlink DEX Smart Contract into its smart contract pallet, like ink!.

The purpose of this grant is to offer more options for parachain projects to introduce Zenlink in a friendly way.

Ecosystem Fit​

no

Team πŸ‘₯​

Team members​

  • Hui Guo(Leo Guo), Team Leader
  • Tianling, Principal Blockchain Expert
  • Jianbin Zhao, Senior Backend Engineer
  • Rui Shi, Senior Backend Engineer
  • Hui Yuan, Senior Product Manager

Contact​

Team Website​

  • Registered Address: Address: 3 FRASER STREET #05-25 DUO TOWER SINGAPORE(189352)
  • Registered Legal Entity: ZENLINK FOUNDATION LTD.
  • UEN: 202029221W

Team's experience​

The team is made up of many experienced professionals in the blockchain industry.

Guo hui(Leo Guo) is the project leader. He joined imToken very early (June 2017) and worked for 3 years as a data analyst and marketing operation specialist. He is very good at trading quotes and user data analysis which helps imToken get 10m users and Tokenlon, imToken’s DEX, achieve 600m trading volume as well.

Tianling was a former senior expert of Alibaba. After leaving it, he joined a blockchain company as the core developer for 3 years. He is familiar with the underlying blockchain design and substrate development and also was in charge of the architecture design. Now, he is the principal blockchain expert of Zenlink team.

Jianbin Zhao is a senior backend dev with 5 years experience, and he is helping the team build the first DEX web application.

Rui shi is a senior backend dev with 5 years experience. He is not only familiar with C++/Rust, but also has good project experience on Substrate development.

Hui Yuan has rich experience in product design and management. She has built many nice and user-friendly internet application.

Team Code Repos​

Team LinkedIn Profiles​

no

Development Roadmap​

Overview​

  • Total Estimated Duration: 2 weeks
  • Full-time equivalent (FTE): 4
  • Total Costs: 0.3 btc
  • Estimated Duration: 2 weeks
  • FTE: 4
  • Costs: 0.3 btc
DeliverableSpecification
Technical specifications and Zenlink DEX Module designThese spec should be included in the whitepaper. For details, please see the section 'Zenlink DEX Protocol' and 'Zenlink DEX Module'
Zenlink DEX Smart Contract RepositoryA git repository containing the dex smart contract source code. The smart contract can be deployed to a substrate chain using ink! which is a smart contract substrate pallet. The smart contract will has Automate Market Maker(AMM) function.
TestsThe code will have proper unit-test coverage to ensure functionality and robustness
DockerDocker image with a Substrate chain using our module, demonstrating its functionality
TutorialThe tutorial will not only indicate that how to use set up and deploy it into the ink! module, and also introduce special user cases and potential extensibility. It will be be published on Medium.

Community engagement​

The tutorials and Documentation that we provide will be published as articles in Zenlink Medium and other social media platforms with due mention about Web3 grant.

We also intend to engage community by running range of user testing to get more feedback from the real end-users to improve our product.

Future Plans​

  • Migrate the above basic components to Kusama/Rococo for test
  • Build & deploy Zenlink DEX Aggregator on Kusama/Rococo.
  • Full function test on Kusama/Rococo.
  • Deploy the whole components to Polkadot including Zenlink DEX Module, DEX Dapp and DEX Aggregator.

Additional Information βž•β€‹