Swap

Introduction of swapping KRC-20 in Boltr Platform (BoltrSwap).

BoltrSwap is an Automated Market Maker (AMM), and the Exchange is the heart of Boltr Platform. BoltrSwap is the premier AMM on the KuCoin Community Chain (KCC).

Swapping/Trading

Asset Swaps are the most common way of interacting with the BoltrSwap protocol. For end-users, swapping is straightforward: a user selects a KRC-20 token that they own and a token they would like to trade it for. Executing a swap sells the currently owned tokens for the proportional amount of the tokens desired, minus the swap fee, which is awarded to liquidity providers. Swapping with the BoltrSwap protocol is a permissionless process. Swaps using the BoltrSwap protocol are different from traditional order book trades in many centralize exchanges where they are not executed against discrete orders on a first-in-first-out basis — rather, swaps execute against a passive pool of liquidity, with liquidity providers earning fees proportional to their capital committed.

Price Impact

In a traditional order-book market, a sizeable market-buy order may deplete the available liquidity of a prior limit-sell and continue to execute against a subsequent limit-sell order at a higher price. The result is the final execution price of the order is somewhere in between the two limit-sell prices against which the order was filled.

Price impact affects the execution price of a swap similarly but is a result of a different dynamic. When using an automated market maker, the relative value of one asset in terms of the other continuously shifts during the execution of a swap, leaving the final execution price somewhere between where the relative price started - and ended.

This dynamic affects every swap using the BoltrSwap protocol, as it is an inextricable part of AMM design.

As the amount of liquidity available at different price points can vary, price impact for a given swap size will change relative to the amount of liquidity available at any given point in price space. The greater the liquidity available at a given price, the lower the price impact for a given swap size. The lesser the liquidity available, the higher the price impact.

Approximate price impact is anticipated in real-time via the BoltrSwap interface, and warnings appear if unusually high price impact will occur during a swap. Anyone executing a swap will have the ability to assess the circumstances of price impact when needed.

Last updated