Duck Exchange

Last Updated on Mar. 6, 2024

General Introduction

Duck.ex is a decentralized exchange that can operate independently and perfectly. We have completed the construction of a generalized liquidity trading pool by deploying a complete AMM decentralized exchange.

Duck.ex is also the underlying architecture of Ducklend. The Ducklend protocol can control the permissions of the liquidity trading pool in Duck.ex and connect it with the decentralized pawnshop.

Concentration

The constant product model (x ⋅ y = k) provides liquidity across the price range from 0 to infinity. In contrast, concentrated liquidity adds depth to a market by providing capital in a limited price range, thereby improving capital efficiency.

There are several methods of concentrating liquidity, but Ducklend takes the simple yet unique approach of applying leverage to the value of k. This is achieved by simply multiplying k by the desired amount of concentration c, which determines the amount of liquidity provided:

xy=ck=Kx * y = c * k = K

Duck.ex command line tools

Although Duck.ex is a decentralized exchange that works well, we do not provide an interface for users to interact with it. To make it easier for users to conduct arbitrage to achieve Ducklend price stability, we provide a complete set of command-line tools for interaction.

You can install the command line tool using the following command:

npm install duck

Last updated