Cointime

Download App
iOS & Android

Automated Market Makers (AMM): Facilitating Trades in DeFi

Validated Project

Key Takeaways:

  • An automated market maker is a model that offers liquidity in decentralized finance.
  • It facilitates automated trading of cryptocurrencies through liquidity pools instead of traditional order books. 
  • The model incentivizes crypto users to become liquidity providers in return for a share of transaction fees. 
  • Kyber Network, Uniswap, Balancer, Curve, and Bancor are the common AMM protocols.

Decentralized finance (DeFi) has emerged as one of the most innovative landscapes in web3. The introduction of decentralized exchanges (DEXs) has democratized the mainstream adoption of crypto and contributed to new and revolutionary methods of accessing financial products and services with automated market makers (AMM) being among the numerous ways that were initially impossible. 

Traditionally, the intermediary holds the sovereign power to either serve or deny you financial products and services, and they also serve as custodians of the funds deposited with them. In recent times, due to the mismanagement of user funds, there has been a demand for these exchanges to share their Proof of Reserves. 

This leads to the biggest appeal of DeFi: there is no such centralized institution. Instead, the decentralized setup works through peer-to-peer interaction, letting you access various financial products and services, such as borrowing, lending, staking, etc., in the crypto space without an intermediary or custodian.

This article digs deep into automated market makers, how they work, liquidity pools and liquidity providers, types of automatic market makers, and the risk of impermanent loss. 

What are Automated Market Makers? 

Suppose you are a farmer and you want to sell your produce. Who do you sell to? A buyer, of course. Now, suppose you are a consumer who wants to purchase some vegetables for use. Who do you buy from? A seller, who may or may not be a farmer. In this case, let’s think of a conventional method of buying and selling the farm produce. 

Delivering the vegetables directly to the consumers would involve complex planning and logistics. After all, packaging, transporting, storing, shipping, and taking payments from individual consumers requires more labor and time. Besides, these steps can be an additional financial burden on the farmer. So, how do the farmers sell their produce without involving all the above steps? The answer is intermediaries. These middlemen buy the produce from farmers in bulk, run the intermediate processes, factor in their profit, and sell it to end consumers like you and me.  

The primary objective of an AMM in crypto is to offer much-needed liquidity. Think of a farmer who has harvested a bumper crop but has nobody to sell to, or a consumer who wants to buy farm produce but has no direct access to farms! Market makers ensure the smooth buying and selling of cryptocurrencies in DeFi. 

An AMM is a crypto trading method that works autonomously to incentivize cryptocurrency users to become liquidity providers (LPs) in return for a portion of the transaction fees and/or the distribution of the protocol’s native token. The makers remove the need for intermediaries and traditional market-making mechanisms, such as order-matching systems and other custodial methods. 

How it works: a cryptocurrency AMM provides liquidity autonomously through smart contracts. LPs provide liquidity by locking assets into these self-governing contracts, while DEX buyers and sellers trade against this liquidity and pay transaction fees. DEXs then share the accumulated transaction fees with the LPs based on LPs’ token shares in the pools. 

How do AMMs Work?

The primary role of an AMM is to facilitate the smooth trading of crypto in DeFi without the use of order books. Moreover, though AMMs have trading pairs, there are no counterparties with matching offers. Instead, they leverage smart contracts to regulate liquidity pools and ensure seamless trading. 

Basically, a liquidity pool comprises two cryptocurrencies in the form of a trading pair, for instance, BNB and BUSD. AMMs use algorithms to control the value of assets in the pools and conform to the market prices of the assets. The standard formula used by most DEXs is:

X is the amount of asset A, Y is the amount of asset B, and k is the fixed constant. The formula fundamentally ensures the total liquidity in a pool remains the same and lets smart contracts regulate the pair’s price ratio. For example, when a trader purchases BNB (paying with BUSD) from a BNB-BUSD liquidity pool, the amount of BNB in the pool reduces while the amount of BUSD increases. The pool’s algorithm adjusts the pair’s price ratio according to the market valuation, maintaining the x*y = k formula. Some DeFi protocols, such as Curve, utilize more complicated formulas, but the concept remains the same.

Liquidity 

As mentioned, the main role of AMMs is to provide liquidity in DeFi. So, how does an AMM obtain liquidity? The standard method incentivizes crypto investors to deposit assets in a liquidity pool in return for a portion of the generated transaction fees. Any crypto investor from any part of the world can lock them in a given pool and start generating passive returns. 

Recently, DeFi protocols like Olympus have emerged, which strive to establish “protocol-based liquidity” solutions. They are part of the emerging trend known as DeFi 2.0. Indeed, creating high liquidity is essential for the mainstream adoption of DeFi as it reduces the price slippage brought by big trades. 

Slippage

Slippage is a sudden change in the price of a token caused by a big trade. 

Slippage does not only affect AMM protocols – it can also affect order book exchanges. But AMMs are more vulnerable to slippage as their price-adjusting algorithms rely on the ratio between the tokens in a pool. As such, higher liquidity implies minor price swings. You can also mitigate slippage via the protocol itself. For instance, Curve Finance focuses on like assets; such as pools featuring stablecoins like USDT and USDC, or only wrapped bitcoin tokens. This reduces the risk of impermanent loss since the assets in the pool are all trending towards the same price, and the lower fluctuations also result in a smaller fee and a lower risk of slippage due to the low price volatility of the tokens in the pool. 

Impermanent Loss 

Another problem plaguing the AMM mechanism is the risk of impermanent loss, which adversely affects LPs. Impermanent loss is when an asset’s price change causes your assets in a liquidity pool to be worth less than the original value deposited. It’s impermanent since you can recover the loss if the token pair regains the initial market price. The CoinGecko Impermanent Loss Calculator makes it easy for LPs to calculate impermanent losses when they offer liquidity. 

Locking assets in a pool is mainly incentivized by the opportunity of yield farming through the transaction fees accumulated by the pool. But due to impermanent loss, liquidity provision is sometimes less profitable. Besides, the AMM algorithm only balances the values of token pairs. This means the same assets can have different market prices; hence, withdrawing them from the pool could bring you losses. However, by refusing to cash out your funds – with a view of waiting for them to regain their initial price – you may hinder your ability to explore other lucrative opportunities. 

Examples of AMMs

There are two primary types of AMMs in crypto. First, there are AMMs created and controlled by professional market makers. Secondly, some AMMs are completely automated through algorithms, enabling any crypto holder to participate by locking assets into smart contracts. With that in mind, we will discuss the five common AMM protocols. 

Kyber Network 

Kyber Network was one of the first AMMs to utilize automated liquidity pools in 2018. The Kyber team or specialist market makers deploy Kyber’s liquidity pools. Unlike other makers, like Uniswap, the Kyber pools have limited access. External oracles or smart contract features regulate the prices of the assets in the pools during setup.  

Uniswap

Uniswap was the first DEX to embrace decentralized AMMs in 2019. It lets anyone run a liquidity pool on the protocol and allows any crypto investor to contribute liquidity. Unlike Kyber Network, token prices in Uniswap liquidity pools are not configured or controlled. Instead, the token prices are based on the balance ratio between the assets.   

Balancer 

Balancer is a newer protocol with unique features, unlike the above two protocols. It works similarly to Uniswap but provides more dynamic features, enabling it to have more applications besides acting as a simple liquidity pool. For example, it supports custom pool ratios, multi-asset pools, and dynamic pool fees. Multi-asset pools function as an index in crypto and act as a distinct feature of Balancer.  

Curve 

Curve is among the newest AMM protocols in the DeFi space. It launched in 2020 and contains admin-only-based liquidity pools. Anyone can contribute to the pools, and they only support stablecoins. The protocol regards its decision to support only stablecoins as a feature and not a hindrance. By supporting stablecoin-only or wrapped-coin-only pools (e.g. WETH/ETH or WBTC/SBTC), Curve can handle big trade requests effectively with minimal slippage.   

Bancor 

You can offer liquidity to a Bancor pool using one token and maintain 100% exposure to the asset. This is unlike other AMM protocols that require you to maintain exposure to many tokens. With single-token-based liquidity, you can stay long on an asset and qualify for “HODL” returns while earning transaction fees. The fees auto-compound in the pools and are paid in the staked assets. 

Conclusion

As DeFi goes mainstream, you can anticipate more innovations to further democratize financial products and services. The core objective of web3 is to empower people to be their own banks. AMMs will continue to play their role in creating utilities to offer permissionless access to finance beyond limits. Indeed, the future of decentralized finance is quite exciting!

Comments

All Comments

Recommended for you

  • Vitalik: Ethereum Foundation is Not the Central Manager of the ETH Ecosystem, Future Development Will Shift to 'Small and Long-term' Approach

    On May 25, Ethereum founder Vitalik shared his views on the future development direction of the Ethereum Foundation in a post on the X platform. He emphasized that this is just his personal opinion. The board does not consist solely of him, and he does not have more special powers than other board members. Aya Miyaguchi is leading most of the execution work for this transformation, while his own involvement is more focused on technical issues. The board is currently expanding, and his influence within the organization will continue to decline in the future, which, frankly, is what he hopes to see. By 2025, the Ethereum Foundation has made significant improvements in its execution capabilities. Many issues have been resolved, and the foundation continues to benefit from greater efficiency and a stronger focus on specific goals. However, as these issues were addressed, he began to care more about another concern: he often sees people saying, 'Vitalik has always talked about Ethereum needing to be decentralized, having privacy, and becoming a shelter technology, but why do the actions of the Ethereum Foundation not reflect these ideals?' Of course, there are those who hold completely different views. Some do not feel there is a crisis at all, but rather believe that the Ethereum Foundation has finally begun to take execution and business development seriously, and the next focus should be to continue along this path faster and stronger. Vitalik believes that this difference essentially reflects varying sensitivities to different types of criticism, and he is more easily hurt by criticisms regarding deviations from values. Vitalik stated that the Ethereum Foundation should not be 'the center of Ethereum,' but rather 'a node with clear responsibilities, existing alongside other nodes.' In the past, they have always said this, but many people in the ecosystem, including some within the foundation, hoped the foundation would become a true center. Now, they are taking concrete actions to ensure the foundation becomes the latter. This is particularly important because the Ethereum Foundation is essentially a resource-limited and organizationally limited entity. The foundation currently holds only about 0.16% of all ETH, which is even lower than many large ETH holders; whereas many other blockchain projects' 'central foundations' typically control 10%-50% of their tokens. The current Ethereum Foundation has decided to use its remaining resources to pursue 'long-term viability' rather than continuous expansion (which also means they will sell less ETH). The foundation will focus on those things that are crucial for Ethereum to become a censorship-resistant, control-resistant, open, private, and secure system, but that no one else would do if the foundation does not. This means they must make difficult choices. Some projects and individuals they highly respect may no longer belong to the foundation's system in the future. In fact, if they want important tasks to attract external capital, it may be necessary to keep some talented individuals, influential public figures, and those who share the mission and CROPS philosophy outside the foundation. This also means that the Ethereum Foundation will take a clearer and more principled stance on a cultural level.

  • ETH Surpasses $2100

    Market data shows that ETH has surpassed $2100, currently priced at $2101.04, with a 24-hour increase of 1.9%. The market is experiencing significant volatility, so please ensure proper risk management.

  • U.S. Officials: Agreement with Iran Expected Not to Be Signed on Sunday, Some Issues Remain

    On May 24, Axios reported, citing a U.S. official, that Iran's Supreme Leader has approved the overall framework of the agreement. There are some important statements for us and some significant wording for Iran. It is expected that the agreement with Iran will not be signed on Sunday, as there are still some issues that need to be resolved. The current status of the Iranian regime is progressing slowly, and completing the necessary approvals will take a few days.

  • ETH Falls Below $2100

    Market data shows that ETH has fallen below $2100, currently priced at $2096.81, with a 24-hour increase of 2.47%. The market is experiencing significant volatility, so please ensure proper risk management.

  • PAYS Officially Launches on Nivex, Surges 100% on Debut

    At 15:18 on May 24, 2026, PAYS officially launched on the Nivex exchange and opened for trading globally.

  • U.S. Secretary of State: Announcement on Agreement with Iran Possible Later Sunday

    On May 24, U.S. Secretary of State Rubio stated that an announcement regarding an agreement with Iran may be made later on Sunday.

  • BTC Surpasses $77,000

    Market data shows that BTC has surpassed $77,000, currently priced at $77,073.6, with a 24-hour increase of 1.32%. The market is experiencing significant volatility, so please ensure proper risk management.

  • Trump: Calls with Multiple World Leaders, Iran Agreement Nearly Finalized

    On May 24, Trump stated on social media that he had "very good calls" in the Oval Office with leaders from Saudi Arabia, the UAE, Qatar, Pakistan, Turkey, Egypt, Jordan, Bahrain, and others regarding Iran and a peace memorandum. Trump claimed that the agreement has been largely negotiated and is pending finalization by the U.S., Iran, and other relevant countries. Additionally, his call with Israeli Prime Minister Netanyahu was also "very smooth." The final details of the agreement are under discussion and will be announced soon. Trump specifically noted that, in addition to several aspects of the agreement, the Strait of Hormuz will be opened.

  • BTC Surpasses $76,000

    Market data shows that BTC has surpassed $76,000, currently priced at $76,001.27, with a 24-hour increase of 0.05%. The market is experiencing significant volatility, so please ensure proper risk management.

  • US and Iran Expected to Announce Final Peace Agreement Within 24 Hours

    On May 24, according to the Washington Times citing sources close to the negotiations, the United States and Iran are expected to announce the finalization of a peace agreement within 24 hours after negotiating representatives approved a draft agreement to end all combat on the front lines. The agreement still awaits final approval from both governments.