What is Automated Market Makers (AMM)?

Update 10 Jun 2022 ‚ÄĘ Reading Time 7 Minute
Image What is Automated Market Makers (AMM)?
Reading Time: 7 minutes

In the early days of Bitcoin and the crypto world, buying and selling crypto were done using conventional order book mechanisms like stocks and other assets. In this system, all buying and selling require a third party to arrange and match the two parties who want to sell or buy an asset. All major crypto exchanges still use this system. However, the decentralized crypto industry also requires a decentralized trading system. Automated market maker (AMM) is the crypto world’s answer to conventional order book problems. Now, this system has become a crypto industry standard. So, what are automated market makers? What is its role and function in the crypto world? This article will dissect in full about AMM.

Article Summary

  • ūüď† Automated Market Makers is a mechanism that utilizes computer algorithms to enable the automation of digital asset exchange. AMM utilizes a decentralized liquidity pool to allow users to buy and sell crypto without a third party to manage transactions.
  • ÔłŹ ‚öĖÔłŹ The AMM mechanism is specifically made for buying and selling digital assets such as cryptocurrencies. AMM allows for decentralized and automated exchange of assets without the need for an intermediary to monitor the order book.
  • ‚õ≤ All cryptocurrency exchanges on a DEX platform using AMM require a liquidity pool. It acts as a source of liquidity for crypto-asset pairs to prevent high slippage. Liquidity providers are an important part of the automated market makers mechanism because they work as constant suppliers of crypto assets for trading.
  • ūüŹ¶ The AMM system and the DEX platform that uses it have their own advantages and disadvantages. These platforms are usually perfect if you want to invest in new and less popular crypto assets. However, you need to pay attention to the transaction volume and the depth of the liquidity pool to avoid slippage and transaction failures.

What are Automated Market Makers (AMM)?

Automated Market Makers is a mechanism that utilizes computer algorithms to enable the automation of digital asset exchange. AMM utilizes a decentralized liquidity pool to allow users to buy and sell crypto assets without the need for a third party to manage transactions.

Basically, the AMM system is a program that automatically matches two parties who wish to exchange their assets. Almost all decentralized crypto exchanges (DEX) use the AMM system to allow trading on their platforms.

The automated market makers system can only be applied to blockchain networks that have smart-contract capabilities such as Ethereum and Binance. In the AMM system, anyone can become a liquidity provider as long as he fulfills the requirements of the automated market makers algorithm. Some of the most popular AMM examples are Uniswap, Balancer, and Curve.

How Does AMM Work?

The automated market maker or AMM mechanism is specifically made for buying and selling digital assets such as cryptocurrencies. AMM allows for decentralized and automated exchange of assets without the need for an intermediary to monitor the order book. This mechanism was first utilized by DeFi products such as DEX. Uniswap, one of the earliest and most popular DEX platforms, first used the automated market makers mechanism to build a large liquidity pool that could be used by multiple users.

automated market makers execute a trade through the use of a liquidity pools.
How AMM executes a trade. Source: Shrimpy

The automated market makers algorithm regulates all aspects of asset exchange that occurs through smart contracts. It displays market prices that are always updated and carries out all trading. However, another important part of determining the mechanism of automated market makers is the liquidity pool and its liquidity providers.

One of the most important technical aspects of an AMM is ensuring the balance of each liquidity pool so that it does not affect the pricing of the assets within. AMM does this by using a mathematical calculation. UniSwap and other major DEXes use a simple x*y=k equation. X is the crypto asset A and y is crypto asset B while K is a constant number. Essentially, the goal is to always rebalance assets A and B whilst keeping the value of K the same.

Liquidity Pool

A liquidity pools settle all trades through an algorithm that determines price and match orders.
The liquidity pool contains an asset pair deposited by users. Source: Kesitys

The liquidity pool is an important pillar of the AMM system. All decentralized cryptocurrency exchanges that use AMM require a liquidity pool. It acts as a source of liquidity for crypto-asset pairs in a DEX and prevents high slippage. The liquidity pool is basically a place where all asset exchanges take place.

All trades occur by entering and withdrawing assets from the pool. People who provide assets into the pool for a certain period of time are referred to as liquidity providers. Liquidity providers play an important role because the more assets are stored in the pool, the smaller the slippage that occurs, reducing losses for users.

ūüí° Slippage

is the difference between the market price of an asset and the price of the asset we get when we trade. For example, we see the FTM price at 2.2 US dollars but when we trade an asset, we get the price FTM at 2.21 US dollars. This is the result of slippage that occurs but is still ideal because the difference is still small.

DEX wants each asset pair (Bitcoin-FTM) to have deep liquidity so that users do not suffer losses. DEX platforms offer various incentives to encourage their users to become liquidity providers. They incentivize liquidity providers by sharing a portion of the transaction fees collected by the platform.

Becoming a Liquidity Provider

As already explained, liquidity providers are an important part of the automated market makers mechanism because they work as suppliers of pairs of crypto assets to be traded. The DEX will reward liquidity providers with a percentage of the transaction fees that the platform earns or with their protocol tokens.

In addition, several DEX platforms also provide an opportunity for liquidity providers to do yield farming of the LP tokens they get. From here, they can get additional financial benefits from yield farming. Yield farming is a DeFi product where you lock your tokens to earn interest. Examples of DEXs that do this scheme are PancakeSwap and SpookySwap.

However, there is a risk of becoming a liquidity provider, especially if you store it on a platform with low transaction volume and liquidity. You also need to understand the concept of impermanent loss. Impermanent loss is a temporary loss commonly experienced by liquidity providers as a result of price fluctuations of crypto assets in the liquidity pool. This concept is referred to as ‚Äėimpermanent‚Äô because you will not incur a loss unless you withdraw the asset from the liquidity pool. So, you can wait until the value of your asset returns to avoid impermanent loss.

Advantages and Disadvantages of AMM on a DEX platform

Advantages

  • ūüíĽ Decentralized: DEX is a decentralized exchange platform that utilizes smart-contract programs to carry out trades and other activities such as being a liquidity provider. Some DEXs also have their own governance system where platform users can vote on various DEX policies such as transaction fee percentages and so on.
  • ‚ö° Non-Custodial: All DEX platforms are non-custodial which means they do not store and hold your assets while you use their services. In a centralized exchange or CEX, all your assets are temporarily stored and the exchange has the right to freeze assets in the event of a serious violation such as a criminal offense.
  • ūü™ô A wider selection of crypto assets: DEX is usually the first choice for the launch of new crypto assets. In fact, some DEXs have a dedicated section of tokens that are new or about to be launched. Therefore, it is the right platform if you want to invest in new and less popular crypto assets.

Weaknessess

  • ūüĆä Depth of liquidity: All DEX platforms use an AMM system that relies on liquidity providers to function optimally. A DEX requires large liquidity so that all transactions can be carried out quickly at the appropriate market price. If you use a DEX with too little liquidity, your transaction may not be processed or even fail.
  • ūüíł Transaction volume and slippage: The DEX platform also requires stable transaction volume to avoid high slippage rates. Using DEX with a small transaction volume will result in the price of your purchase is different from the market price.
  • ūü§Ď Limited purchase types: Currently, major crypto exchanges are able to offer various types of buy orders besides spot such as limit orders, OCO, and stop limit. Unlike CEX, most DEXs only support purchases at market price or spot buy.
Automated Market Makers now become the backbone of the DeFi industry as it is use by a large amount of applications.
Examples of several crypto apps that uses an AMM. Source: Decentralized Finance
  • Curve: Curve is one of the most popular DeFi apps specially created for creating multiple liquidity pools. The curve platform has succeeded in attracting a large number of users who want to become liquidity providers because it provides flexible incentives according to the investment preferences of the users. It is the largest AMM protocol with a TVL of $9,65 billion dollars.
  • AAVE: AAVE is a DeFi application for lending that utilizes the AMM system. It is the second AMM protocol with a TVL of $9,1 billion dollars.
  • UniSwap: UniSwap is a DEX platform on the Ethereum network. He was also one of the first DEXs to popularize the AMM system. In addition, UniSwap is a DEX platform with the largest TVL compared to others ($5,89 billion dollars).
  • Balancer: Balancer is a DeFi application that acts as an asset manager using a smart-contract system. This protocol uses AMM for all trading and swap activities on its platform. It has a TVL of $2,01 billion dollars.

Buying Cryptocurrency

You can buy various cryptocurrencies on the Pintu app such as ETH, TBC, FTM, and SOL. Through Pintu, you can buy cryptocurrency in a safe and convenient way.

In addition, the Pintu application is compatible with various popular digital wallets such as Metamask to facilitate your transactions. You can download the Pintu app on Play Store and App Store! Your security is guaranteed because Pintu is regulated and supervised by Bappebti and Kominfo.

You can also learn more about crypto through the various Pintu Academy articles which are updated every week! All Pintu Academy articles are made for educational purposes, not financial advice.

References

Author:Ari Budi Santosa

Rate this article

Your rating will help us improve.

What's not good?

Any suggestions for this article?

Thank you for your review!Close
Failed to send review. Please try again.Close

Share