skip to Main Content
bitcoin
Bitcoin (BTC) $ 95,976.71 1.48%
ethereum
Ethereum (ETH) $ 3,320.44 1.31%
tether
Tether (USDT) $ 0.997897 0.05%
xrp
XRP (XRP) $ 2.25 0.13%
bnb
BNB (BNB) $ 657.87 0.51%
solana
Solana (SOL) $ 182.82 0.50%
dogecoin
Dogecoin (DOGE) $ 0.318983 0.37%
usd-coin
USDC (USDC) $ 1.00 0.17%
staked-ether
Lido Staked Ether (STETH) $ 3,312.16 1.42%
cardano
Cardano (ADA) $ 0.894794 0.98%

Uniswap and automated market makers, explained

You must confirm the subscription in your inbox.”,”subscribe_email_required”:”Email required”,”subscribe_email_invalid”:”A valid email address must be provided. “,”shares”:”Total shares”,”views”:”Total views”,”sponsoredBadge”:”stretch_banners.sponsored.badge”}” :post=”{“id”:51800,”seo_title”:”Uniswap and automated market makers, explained”,”seo_description”:”Decentralized exchanges such as Uniswap have now become popular thanks to automated market makers, but what does it all mean?”,”keywords”:”Blockchain,DeFi,Decentralized exchanges,Uniswap,Bancor,Exchange,Explained”,”canonical”:”https://cointelegraph.com/explained/uniswap-and-automated-market-makers-explained”,”thumb”:”https://images.cointelegraph.com/images/1024_aHR0cHM6Ly9zMy5jb2ludGVsZWdyYXBoLmNvbS9zdG9yYWdlL3VwbG9hZHMvdmlldy80NmI4ZDgzMDQxYjFkNTU2MTNiMjI3NzNjN2JjZWMwNi5qcGc=.jpg”,”img”:”https://images.cointelegraph.com/images/2048_aHR0cHM6Ly9zMy5jb2ludGVsZWdyYXBoLmNvbS9zdG9yYWdlL3VwbG9hZHMvdmlldy80NmI4ZDgzMDQxYjFkNTU2MTNiMjI3NzNjN2JjZWMwNi5qcGc=.jpg”,”youtube”:””,”og_title”:”Uniswap and automated market makers, explained”,”og_description”:”Decentralized exchanges such as Uniswap have now become popular thanks to automated market makers, but what does it all mean?”,”twitter_title”:”Uniswap and automated market makers, explained”,”twitter_description”:”Decentralized exchanges such as Uniswap have now become popular thanks to automated market makers, but what does it all mean?”,”published”:”2020-08-29T07:30:00+01:00″,”noindex”:0,”modified”:”2020-08-29T07:14:21+01:00″,”title”:”Uniswap and automated market makers, explained”,”leadtext”:”Decentralized exchanges such as Uniswap have now become popular thanks to automated market makers, but what does it all mean?”,”amp”:”https://cointelegraph.com/explained/uniswap-and-automated-market-makers-explained/amp”,”alternates”:[],”alternatesLinks”:[],”url”:”uniswap-and-automated-market-makers-explained”,”url_full”:”/explained/uniswap-and-automated-market-makers-explained”,”category”:{“id”:65,”url”:”explained”,”priority”:0,”created”:null,”modified”:null,”parent_id”:0,”is_hidden”:0,”created_at”:”-0001-11-30 00:00:00″,”updated_at”:”2019-03-12 14:52:37″,”deleted_at”:null,”admin_weight”:30,”enabled”:1,”is_blog”:0,”category_id”:65,”language_id”:1,”title”:”Explained”,”alt”:””,”keywords”:””,”seo_title”:”Explained: articles for beginners about cryptocurrency and blockchain.”,”description”:”

What is Bitcoin? How does blockchain work? How to mine cryptocurrency? We are glad to help you answer these questions with our quick guides in Explained section.

n”,”seo_description”:”What is Bitcoin? How does blockchain work? How to mine cryptocurrency? We are glad to help you answer these questions with our quick guides in Explained section.”},”words_count”:754,”description”:”Decentralized exchanges such as Uniswap have now become popular thanks to automated market makers, but what does it all mean?”,”author”:{“id”:845,”title”:”Andrey Shevchenko”,”url”:”andrey-shevchenko”,”twitter”:”https://twitter.com/shvandrew”,”google_plus”:””,”photo”:”https://s3.cointelegraph.com/storage/uploads/view/72b6f5609f089e70fc24137368db9042.jpg”,”gender”:”male”,”description”:”Based in Italy with Russian roots, Andrey discovered the world of crypto by hunting for cybersecurity bounties. He worked at several blockchain startups before turning to journalism, almost by chance. He’s passionate about technology and business in equal measure, and sees blockchain as a potential driver of deep societal change.”,”facebook”:””,”email”:”andrey@cointelegraph.com”,”linkedin”:”https://www.linkedin.com/in/shvandrew/”,”created_at”:”2020-01-07 21:22:10″,”updated_at”:”2020-06-15 16:38:55″,”deleted_at”:null,”avatar”:”https://images.cointelegraph.com/images/150_aHR0cHM6Ly9zMy5jb2ludGVsZWdyYXBoLmNvbS9zdG9yYWdlL3VwbG9hZHMvdmlldy83MmI2ZjU2MDlmMDg5ZTcwZmMyNDEzNzM2OGRiOTA0Mi5qcGc=.jpg”,”hash”:”aHR0cHM6Ly9jb2ludGVsZWdyYXBoLmNvbS9hdXRob3JzL2FuZHJleS1zaGV2Y2hlbmtv”,”relativeUrl”:”https://cointelegraph.com/authors/andrey-shevchenko”,”user_id”:845,”language_id”:1,”name”:”Andrey Shevchenko”,”desc”:”Based in Italy with Russian roots, Andrey discovered the world of crypto by hunting for cybersecurity bounties. He worked at several blockchain startups before turning to journalism, almost by chance. He’s passionate about technology and business in equal measure, and sees blockchain as a potential driver of deep societal change.”,”seo_title”:””,”seo_description”:””,”enabled”:1,”show_in_authors”:1,”show_in_experts”:0},”category_id”:65,”audio”:”https://s3.cointelegraph.com/audio/51800.74cffe40-17b5-473c-96d9-4b72f26cd5cf.mp3″,”tags”:[{“name”:”Blockchain”,”uri”:”/tags/blockchain”,”super”:1,”page_title”:”Blockchain News”},{“name”:”Explained”,”uri”:”/tags/explained”,”super”:0,”page_title”:”Explained News”},{“name”:”Bancor”,”uri”:”/tags/bancor”,”super”:0,”page_title”:”Bancor News”},{“name”:”Exchange”,”uri”:”/tags/exchange”,”super”:0,”page_title”:”Exchange News”},{“name”:”DeFi”,”uri”:”/tags/defi”,”super”:0,”page_title”:””}],”tag_title”:”Blockchain”,”date”:”14 MINUTES AGO”,”badge”:{“title”:”Explained”,”label”:”default”},”qty”:2,”stats_pixel”:”“,”stats_pixel_url”:”https://zoa.cointelegraph.com/pixel?postId=51800&regionId=1″,”shares”:0,”infographic”:false,”sponsored”:false,”explained”:true,”press_release”:false,”show_referral”:false,”social_description”:””,”social_translators”:{“clipboard_popup_label”:”Link copied”,”socialWechatFooterError”:”WeChat error”,”socialWechatFooterText”:”WeChat share”,”socialWechatHeaderText”:”WeChat share”},”social_shares”:{“post_id”:51800,”post_url”:”https://cointelegraph.com/explained/uniswap-and-automated-market-makers-explained”,”post_titles”:{“normal”:”Uniswap and automated market makers, explained”,”twitter”:”Uniswap and automated market makers, explained”},”post_text”:{“normal”:”Uniswap and automated market makers, explained”,”twitter”:”Uniswap and automated market makers, explained https://cointelegraph.com/explained/uniswap-and-automated-market-makers-explained via @cointelegraph”},”accounts”:{“twitter”:”@cointelegraph”}},”socials”:{“facebook”:{“url”:”https://www.facebook.com/sharer/sharer.php?u=https%3A%2F%2Fcointelegraph.com%2Fexplained%2Funiswap-and-automated-market-makers-explained”,”count”:null,”short”:”fb”,”fa”:”facebook”},”twitter”:{“url”:”https://twitter.com/intent/tweet?text=Uniswap+and+automated+market+makers%2C+explained https%3A%2F%2Fcointelegraph.com%2Fexplained%2Funiswap-and-automated-market-makers-explained via @cointelegraph”,”count”:null,”short”:”tw”,”fa”:”twitter”},”telegram”:{“url”:”https://telegram.me/share/url?url=https%3A%2F%2Fcointelegraph.com%2Fexplained%2Funiswap-and-automated-market-makers-explained &text=Uniswap+and+automated+market+makers%2C+explained”,”count”:null,”short”:”tg”,”fa”:”paper-plane”},”whatsapp”:{“url”:”https://api.whatsapp.com/send?text=Uniswap+and+automated+market+makers%2C+explained&href=https%3A%2F%2Fcointelegraph.com%2Fexplained%2Funiswap-and-automated-market-makers-explained”,”count”:null,”short”:”wu”,”fa”:”whatsapp”},”gplus”:{“url”:”https://plus.google.com/share?url=https%3A%2F%2Fcointelegraph.com%2Fexplained%2Funiswap-and-automated-market-makers-explained”,”count”:null,”short”:”gplus”,”fa”:”google-plus”},”reddit”:{“url”:”https://www.reddit.com/submit?url=https%3A%2F%2Fcointelegraph.com%2Fexplained%2Funiswap-and-automated-market-makers-explained&title=Uniswap+and+automated+market+makers%2C+explained”,”count”:null,”short”:”reddit”,”fa”:”reddit-alien”},”linkedin”:{“url”:”https://www.linkedin.com/shareArticle?mini=true&url=https%3A%2F%2Fcointelegraph.com%2Fexplained%2Funiswap-and-automated-market-makers-explained&title=Uniswap+and+automated+market+makers%2C+explained”,”count”:null,”short”:”li”,”fa”:”linkedin”}},”hide_disclaimer”:false,”elink”:”https://cointelegraph.com”,”etitle”:”Cointelegraph”,”elogo_x2″:”https://images.cointelegraph.com/images/528_aHR0cHM6Ly9zMy5jb2ludGVsZWdyYXBoLmNvbS9zdG9yYWdlL3VwbG9hZHMvdmlldy9hYjAzYTJhMmNlOWEyMWRjMWYwOTYxZDkxNzMxYzhiYS5wbmc=.png”,”elogo_x1″:”https://images.cointelegraph.com/images/260_aHR0cHM6Ly9zMy5jb2ludGVsZWdyYXBoLmNvbS9zdG9yYWdlL3VwbG9hZHMvdmlldy9hYjAzYTJhMmNlOWEyMWRjMWYwOTYxZDkxNzMxYzhiYS5wbmc=.png”,”elogo_svg”:false,”content”:[{“id”:1856,”post_id”:51800,”title”:”What are automated market makers?”,”content”:”

Decentralized exchanges where one trades with a smart contract, not other people

nn

Automated market makers, or AMMs, are a class of decentralized exchanges that rely on mathematical formulas to set the price of a token. Like normal exchanges, they have various trading pairs: for example, Ether (ETH) to Dai.

nn

But there are no buy or sell orders, and traders don’t need to find someone else to sell their coins to. Instead, a smart contract acts as the maker in an exchange transaction. The concept is similar to quick-swap services like ShapeShift and Changelly, but the difference is that the company’s reserves are replaced with liquidity pools based on smart contracts.

nn

A liquidity pool contains two assets in a trading pair. The relative percentage of each token in that pool is what determines the theoretical price of a particular asset. The first live AMM was Bancor, launched in 2017, but the most popular platforms today are Uniswap, Curve, Kyber and Balancer.

nnn”,”created_at”:”2020-08-29 07:10:48″,”updated_at”:”2020-08-29 07:14:27″,”sort”:1,”translations”:{“id”:1849,”explained_post_id”:1856,”title_en”:”What are automated market makers?”,”content_en”:”

Decentralized exchanges where one trades with a smart contract, not other people

nn

Automated market makers, or AMMs, are a class of decentralized exchanges that rely on mathematical formulas to set the price of a token. Like normal exchanges, they have various trading pairs: for example, Ether (ETH) to Dai.

nn

But there are no buy or sell orders, and traders don’t need to find someone else to sell their coins to. Instead, a smart contract acts as the maker in an exchange transaction. The concept is similar to quick-swap services like ShapeShift and Changelly, but the difference is that the company’s reserves are replaced with liquidity pools based on smart contracts.

nn

A liquidity pool contains two assets in a trading pair. The relative percentage of each token in that pool is what determines the theoretical price of a particular asset. The first live AMM was Bancor, launched in 2017, but the most popular platforms today are Uniswap, Curve, Kyber and Balancer.

nnn”,”title_es”:””,”content_es”:”n”,”title_cn”:””,”content_cn”:”n”,”title_de”:””,”content_de”:”n”,”title_it”:””,”content_it”:”n”,”title_ar”:””,”content_ar”:”n”,”title_br”:””,”content_br”:”n”,”title_jp”:””,”content_jp”:”n”,”created_at”:”2020-08-29 07:10:48″,”updated_at”:”2020-08-29 07:14:27″,”title_kr”:””,”content_kr”:”n”,”title_tr”:””,”content_tr”:”n”}},{“id”:1857,”post_id”:51800,”title”:”Why do these exchanges exist?”,”content”:”

They make providing liquidity much simpler and cheaper

nn

Automated market makers are an attempt to work around the performance restrictions of smart contract blockchains, especially Ethereum. Before AMMs came into prominence, decentralized exchanges built on Ethereum, like EtherDelta or 0x, attempted to use a classical order book mechanism.

nn

However, they suffered from liquidity issues, as placing each order required spending gas and waiting for block confirmation times. Ethereum’s low throughput also meant that only a small number of transactions could be submitted before the blockchain would be completely swamped by these orders.

nn

This was especially problematic for market makers, the liquidity providers on order book exchanges. “Making” a market typically requires constantly adjusting buy and sell orders to the latest price, even if they do not get filled. When each submitted order costs money and time, they may lose more than they gain from the bid-ask spread, which is the difference between the highest offered buy price and lowest sell price.

nn

AMMs make providing liquidity cheaper and simpler through a completely automated one-time process — hence the name. Even average users can pitch in with their liquidity, while doing so on traditional exchanges requires advanced technical knowledge.

nnn”,”created_at”:”2020-08-29 07:11:31″,”updated_at”:”2020-08-29 07:14:27″,”sort”:2,”translations”:{“id”:1850,”explained_post_id”:1857,”title_en”:”Why do these exchanges exist?”,”content_en”:”

They make providing liquidity much simpler and cheaper

nn

Automated market makers are an attempt to work around the performance restrictions of smart contract blockchains, especially Ethereum. Before AMMs came into prominence, decentralized exchanges built on Ethereum, like EtherDelta or 0x, attempted to use a classical order book mechanism.

nn

However, they suffered from liquidity issues, as placing each order required spending gas and waiting for block confirmation times. Ethereum’s low throughput also meant that only a small number of transactions could be submitted before the blockchain would be completely swamped by these orders.

nn

This was especially problematic for market makers, the liquidity providers on order book exchanges. “Making” a market typically requires constantly adjusting buy and sell orders to the latest price, even if they do not get filled. When each submitted order costs money and time, they may lose more than they gain from the bid-ask spread, which is the difference between the highest offered buy price and lowest sell price.

nn

AMMs make providing liquidity cheaper and simpler through a completely automated one-time process — hence the name. Even average users can pitch in with their liquidity, while doing so on traditional exchanges requires advanced technical knowledge.

nnn”,”title_es”:””,”content_es”:”n”,”title_cn”:””,”content_cn”:”n”,”title_de”:””,”content_de”:”n”,”title_it”:””,”content_it”:”n”,”title_ar”:””,”content_ar”:”n”,”title_br”:””,”content_br”:”n”,”title_jp”:””,”content_jp”:”n”,”created_at”:”2020-08-29 07:11:32″,”updated_at”:”2020-08-29 07:14:27″,”title_kr”:””,”content_kr”:”n”,”title_tr”:””,”content_tr”:”n”}},{“id”:1858,”post_id”:51800,”title”:”How do smart contracts automate trading on AMMs?”,”content”:”

A mathematical formula defines the price of a particular token

nn

When trading on an AMM, users interact with the liquidity pool. Under the hood, when the user instructs the smart contract to perform a trade, the contract sends their tokens, such as ETH, to the liquidity pool. A mathematical formula then decides how many tokens from the other side of the pair — for example, Dai — they should receive in return.

nn

The simplest practical formula is X multiplied by Y equals K, where the X and Y represent the amount of each token in the pool and K is a predefined constant. This equation defines a hyperbola: a smooth geometric shape that approaches both infinity and zero at its extremes but never quite reaches them.

nn

Each trade has some amount of slippage — how much the size of the order affects the ultimate price at which a token was bought or sold. The hyperbola shape means that slippage will be low with small orders, but with large orders, slippage rises exponentially. Uniswap is known for using this simple formula, but other platforms may use more complicated math to fine-tune the slippage.

nnn”,”created_at”:”2020-08-29 07:12:01″,”updated_at”:”2020-08-29 07:14:27″,”sort”:3,”translations”:{“id”:1851,”explained_post_id”:1858,”title_en”:”How do smart contracts automate trading on AMMs?”,”content_en”:”

A mathematical formula defines the price of a particular token

nn

When trading on an AMM, users interact with the liquidity pool. Under the hood, when the user instructs the smart contract to perform a trade, the contract sends their tokens, such as ETH, to the liquidity pool. A mathematical formula then decides how many tokens from the other side of the pair — for example, Dai — they should receive in return.

nn

The simplest practical formula is X multiplied by Y equals K, where the X and Y represent the amount of each token in the pool and K is a predefined constant. This equation defines a hyperbola: a smooth geometric shape that approaches both infinity and zero at its extremes but never quite reaches them.

nn

Each trade has some amount of slippage — how much the size of the order affects the ultimate price at which a token was bought or sold. The hyperbola shape means that slippage will be low with small orders, but with large orders, slippage rises exponentially. Uniswap is known for using this simple formula, but other platforms may use more complicated math to fine-tune the slippage.

nnn”,”title_es”:””,”content_es”:”n”,”title_cn”:””,”content_cn”:”n”,”title_de”:””,”content_de”:”n”,”title_it”:””,”content_it”:”n”,”title_ar”:””,”content_ar”:”n”,”title_br”:””,”content_br”:”n”,”title_jp”:””,”content_jp”:”n”,”created_at”:”2020-08-29 07:12:01″,”updated_at”:”2020-08-29 07:14:27″,”title_kr”:””,”content_kr”:”n”,”title_tr”:””,”content_tr”:”n”}},{“id”:1859,”post_id”:51800,”title”:”How does one use an automated market maker?”,”content”:”

Connect the wallet, and confirm the transactions

nn

Using an AMM protocol is quite simple: Users visit the protocol’s website or other front ends, connect a DeFi-enabled wallet to the protocol, choose the asset they wish to buy or sell, hit “swap,” and confirm the transaction on their wallet.

nn

Providing liquidity works similarly to trading. After connecting a wallet, users can go to the “liquidity provider” section and select how much they want to commit to the pool. In most protocols, they need to have both types of assets available. For example, if ETH is trading for 400 Dai, they will need to simultaneously provide 1 ETH and 400 Dai.

nn

After confirming the transactions, users receive a token representing their ownership in the liquidity pool. It can then be transferred to anyone or redeemed once again for the underlying tokens, plus any fees they might have accumulated.

nnn”,”created_at”:”2020-08-29 07:12:30″,”updated_at”:”2020-08-29 07:14:24″,”sort”:4,”translations”:{“id”:1852,”explained_post_id”:1859,”title_en”:”How does one use an automated market maker?”,”content_en”:”

Connect the wallet, and confirm the transactions

nn

Using an AMM protocol is quite simple: Users visit the protocol’s website or other front ends, connect a DeFi-enabled wallet to the protocol, choose the asset they wish to buy or sell, hit “swap,” and confirm the transaction on their wallet.

nn

Providing liquidity works similarly to trading. After connecting a wallet, users can go to the “liquidity provider” section and select how much they want to commit to the pool. In most protocols, they need to have both types of assets available. For example, if ETH is trading for 400 Dai, they will need to simultaneously provide 1 ETH and 400 Dai.

nn

After confirming the transactions, users receive a token representing their ownership in the liquidity pool. It can then be transferred to anyone or redeemed once again for the underlying tokens, plus any fees they might have accumulated.

nnn”,”title_es”:””,”content_es”:”n”,”title_cn”:””,”content_cn”:”n”,”title_de”:””,”content_de”:”n”,”title_it”:””,”content_it”:”n”,”title_ar”:””,”content_ar”:”n”,”title_br”:””,”content_br”:”n”,”title_jp”:””,”content_jp”:”n”,”created_at”:”2020-08-29 07:12:30″,”updated_at”:”2020-08-29 07:14:24″,”title_kr”:””,”content_kr”:”n”,”title_tr”:””,”content_tr”:”n”}},{“id”:1860,”post_id”:51800,”title”:”Why are AMMs becoming popular?”,”content”:”

Decentralization and permissionless use are powerful improvements

nn

Automated market makers are, arguably, already solving the biggest obstacle to the widespread adoption of decentralized exchanges: liquidity. Without that issue, the natural benefits of a DEX can shine through.

nn

Unlike traditional centralized exchanges, there are no gatekeepers that could exclude projects or users. AMM protocols are permissionless and do not require users to set up specific accounts or pass stringent Know Your Customer checks. A wallet address is all that is necessary to interact with the protocols.

nn

From the perspective of a project, DEXs are also a great way to release a token to the market and bootstrap liquidity. There are no listing fees or admission criteria, as anyone, even an outsider, could set up a liquidity pool for any token.

nn

Democratizing the act of providing liquidity also means that the project’s fans and holders can help create a liquid market on new tokens without requiring the assistance of specialized market makers. Finally, AMM decentralized exchanges generally have very simple interfaces, as they do not need to pack advanced order options or price charts into one dashboard.

nnn”,”created_at”:”2020-08-29 07:13:03″,”updated_at”:”2020-08-29 07:14:24″,”sort”:5,”translations”:{“id”:1853,”explained_post_id”:1860,”title_en”:”Why are AMMs becoming popular?”,”content_en”:”

Decentralization and permissionless use are powerful improvements

nn

Automated market makers are, arguably, already solving the biggest obstacle to the widespread adoption of decentralized exchanges: liquidity. Without that issue, the natural benefits of a DEX can shine through.

nn

Unlike traditional centralized exchanges, there are no gatekeepers that could exclude projects or users. AMM protocols are permissionless and do not require users to set up specific accounts or pass stringent Know Your Customer checks. A wallet address is all that is necessary to interact with the protocols.

nn

From the perspective of a project, DEXs are also a great way to release a token to the market and bootstrap liquidity. There are no listing fees or admission criteria, as anyone, even an outsider, could set up a liquidity pool for any token.

nn

Democratizing the act of providing liquidity also means that the project’s fans and holders can help create a liquid market on new tokens without requiring the assistance of specialized market makers. Finally, AMM decentralized exchanges generally have very simple interfaces, as they do not need to pack advanced order options or price charts into one dashboard.

nnn”,”title_es”:””,”content_es”:”n”,”title_cn”:””,”content_cn”:”n”,”title_de”:””,”content_de”:”n”,”title_it”:””,”content_it”:”n”,”title_ar”:””,”content_ar”:”n”,”title_br”:””,”content_br”:”n”,”title_jp”:””,”content_jp”:”n”,”created_at”:”2020-08-29 07:13:03″,”updated_at”:”2020-08-29 07:14:24″,”title_kr”:””,”content_kr”:”n”,”title_tr”:””,”content_tr”:”n”}},{“id”:1861,”post_id”:51800,”title”:”What are the risks and limitations of AMMs?”,”content”:”

Bugs, improper pricing and impermanent loss

nn

Despite some positive qualities, AMMs present certain risks and limitations. Hacks and vulnerabilities have already affected exchanges such as Uniswap and Balancer, where some liquidity providers saw their money stolen due to complex smart contract interactions. On the other hand, traders are exposing their strategy for the world to see, enabling front-runners to get their orders in first and exploit legitimate users.

nn

Related: Figuring Out Who’s to Blame for DeFi’s Persistent Security Issues

nn

Automated market makers also cannot exist without traditional order book exchanges being relied upon for arbitrage. The mathematical formulas, despite their elegance, cannot truly represent market sentiment. Arbitrage traders are necessary to correct the pricing of assets in an AMM, but this results in the issue of impermanent loss on many platforms.

nn

In a nutshell, arbitrage traders make a profit by bringing the price in balance, but this profit is extracted from the liquidity providers. Despite the trading fees they receive, liquidity providers may actually lose money if the price moves too far in a certain direction. The loss is “impermanent” because the price could always move in the opposite direction, but in practice, this will not always happen.

nn

While there are certain improvements being made, the volume and liquidity of AMMs still pale in comparison with the largest centralized exchanges. Gas congestion in the summer of 2020 also showed that they are starting to hit their use ceiling, and better scaling solutions will be required in the future to facilitate further growth.

nnn”,”created_at”:”2020-08-29 07:13:40″,”updated_at”:”2020-08-29 07:14:24″,”sort”:6,”translations”:{“id”:1854,”explained_post_id”:1861,”title_en”:”What are the risks and limitations of AMMs?”,”content_en”:”

Bugs, improper pricing and impermanent loss

nn

Despite some positive qualities, AMMs present certain risks and limitations. Hacks and vulnerabilities have already affected exchanges such as Uniswap and Balancer, where some liquidity providers saw their money stolen due to complex smart contract interactions. On the other hand, traders are exposing their strategy for the world to see, enabling front-runners to get their orders in first and exploit legitimate users.

nn

Related: Figuring Out Who’s to Blame for DeFi’s Persistent Security Issues

nn

Automated market makers also cannot exist without traditional order book exchanges being relied upon for arbitrage. The mathematical formulas, despite their elegance, cannot truly represent market sentiment. Arbitrage traders are necessary to correct the pricing of assets in an AMM, but this results in the issue of impermanent loss on many platforms.

nn

In a nutshell, arbitrage traders make a profit by bringing the price in balance, but this profit is extracted from the liquidity providers. Despite the trading fees they receive, liquidity providers may actually lose money if the price moves too far in a certain direction. The loss is “impermanent” because the price could always move in the opposite direction, but in practice, this will not always happen.

nn

While there are certain improvements being made, the volume and liquidity of AMMs still pale in comparison with the largest centralized exchanges. Gas congestion in the summer of 2020 also showed that they are starting to hit their use ceiling, and better scaling solutions will be required in the future to facilitate further growth.

nnn”,”title_es”:””,”content_es”:”n”,”title_cn”:””,”content_cn”:”n”,”title_de”:””,”content_de”:”n”,”title_it”:””,”content_it”:”n”,”title_ar”:””,”content_ar”:”n”,”title_br”:””,”content_br”:”n”,”title_jp”:””,”content_jp”:”n”,”created_at”:”2020-08-29 07:13:40″,”updated_at”:”2020-08-29 07:14:24″,”title_kr”:””,”content_kr”:”n”,”title_tr”:””,”content_tr”:”n”}}],”is_partner_material”:false,”commentsSection”:{“schemaEntityUrl”:”//cointelegraph.com/explained/uniswap-and-automated-market-makers-explained”,”list”:[],”amount”:0,”i18n”:{“addComment”:”Add a comment…”,”amountOnePostfix”:”Comment”,”amountPostfix”:”Comments”,”cancel”:”Cancel”,”delete”:”Delete”,”edit”:”Edit”,”errorBig”:”Comment text cannot be longer than 2000 characters”,”errorDuplicate”:”Duplicate comment”,”errorSmall”:”Comment text must be at least 2 characters long”,”hideButton”:”Hide comments”,”noComments”:” “,”commentOnModeration”:”Comment on moderation”,”postComment”:”Post”,”reply”:”Reply”,”showAllComments”:”Show All Comments”,”showButtonPostfix”:”comments”,”showButtonPrefix”:”Show”,”signIn”:”Sign in”,”update”:”Update comment”,”commentWasDeleted”:”This comment has been deleted”}},”related”:[{“id”:48227,”retina”:”https://images.cointelegraph.com/images/1480_aHR0cHM6Ly9zMy5jb2ludGVsZWdyYXBoLmNvbS9zdG9yYWdlL3VwbG9hZHMvdmlldy8zODI1MDU0NjJmMGUwMjcwM2NiMmJkNzJhNmM5YmI4Ny5qcGc=.jpg”,”img”:”https://images.cointelegraph.com/images/740_aHR0cHM6Ly9zMy5jb2ludGVsZWdyYXBoLmNvbS9zdG9yYWdlL3VwbG9hZHMvdmlldy8zODI1MDU0NjJmMGUwMjcwM2NiMmJkNzJhNmM5YmI4Ny5qcGc=.jpg”,”thumb”:”https://images.cointelegraph.com/images/370_aHR0cHM6Ly9zMy5jb2ludGVsZWdyYXBoLmNvbS9zdG9yYWdlL3VwbG9hZHMvdmlldy8zODI1MDU0NjJmMGUwMjcwM2NiMmJkNzJhNmM5YmI4Ny5qcGc=.jpg”,”thumb370″:”https://images.cointelegraph.com/images/370_aHR0cHM6Ly9zMy5jb2ludGVsZWdyYXBoLmNvbS9zdG9yYWdlL3VwbG9hZHMvdmlldy8zODI1MDU0NjJmMGUwMjcwM2NiMmJkNzJhNmM5YmI4Ny5qcGc=.jpg”,”amp_thumb”:”https://images.cointelegraph.com/images/150_aHR0cHM6Ly9zMy5jb2ludGVsZWdyYXBoLmNvbS9zdG9yYWdlL3VwbG9hZHMvdmlldy8zODI1MDU0NjJmMGUwMjcwM2NiMmJkNzJhNmM5YmI4Ny5qcGc=.jpg”,”thumb150″:”https://images.cointelegraph.com/images/150_aHR0cHM6Ly9zMy5jb2ludGVsZWdyYXBoLmNvbS9zdG9yYWdlL3VwbG9hZHMvdmlldy8zODI1MDU0NjJmMGUwMjcwM2NiMmJkNzJhNmM5YmI4Ny5qcGc=.jpg”,”url”:”https://cointelegraph.com/news/bitcoin-price-rally-by-2021-looks-likely-from-five-fundamental-factors”,”title”:”Bitcoin Price Rally by 2021 Looks Likely From Five Fundamental Factors”,”lead”:”Five key fundamental factors suggest that Bitcoin is preparing for an extended uptrend by 2021.”,”leadfull”:””,”category_id”:83,”category_url”:”https://cointelegraph.com/category/follow-up”,”category_title”:”Follow-Up”,”author_url”:”https://cointelegraph.com/authors/joseph-young”,”author_hash”:”aHR0cHM6Ly9jb2ludGVsZWdyYXBoLmNvbS9hdXRob3JzL2pvc2VwaC15b3VuZw==”,”author_title”:”Joseph Young”,”author_img”:”https://images.cointelegraph.com/images/32_aHR0cHM6Ly9zMy5jb2ludGVsZWdyYXBoLmNvbS9zdG9yYWdlL3VwbG9hZHMvdmlldy9kOWZhZGFkODIzZDVhZmE2ODk3ZDRlODUwODMwZmYyZi5qcGc=.jpg”,”date”:”JUL 02, 2020″,”flash_date”:”JUL 02, 2020″,”sponsored”:false,”press_release”:false,”sponsored_label”:”Sponsored”,”explained”:false,”badge”:{“title”:”Follow up”,”label”:”info”},”published”:{“date”:”2020-07-02 17:07:00.000000″,”timezone_type”:3,”timezone”:”Europe/London”},”stat_uniqs”:37534,”rss_date”:”Thu, 02 Jul 2020 17:07:00 +0100″,”publishedW3″:”2020-07-02T17:07:00+01:00″,”show_referral”:true,”isMagazine”:false},{“id”:48840,”retina”:”https://images.cointelegraph.com/images/1480_aHR0cHM6Ly9zMy5jb2ludGVsZWdyYXBoLmNvbS9zdG9yYWdlL3VwbG9hZHMvdmlldy9mZjlkZjZjMjRiOGZkM2Y2ZGJmYTVmN2M3MjIzY2M5Yy5qcGc=.jpg”,”img”:”https://images.cointelegraph.com/images/740_aHR0cHM6Ly9zMy5jb2ludGVsZWdyYXBoLmNvbS9zdG9yYWdlL3VwbG9hZHMvdmlldy9mZjlkZjZjMjRiOGZkM2Y2ZGJmYTVmN2M3MjIzY2M5Yy5qcGc=.jpg”,”thumb”:”https://images.cointelegraph.com/images/370_aHR0cHM6Ly9zMy5jb2ludGVsZWdyYXBoLmNvbS9zdG9yYWdlL3VwbG9hZHMvdmlldy9mZjlkZjZjMjRiOGZkM2Y2ZGJmYTVmN2M3MjIzY2M5Yy5qcGc=.jpg”,”thumb370″:”https://images.cointelegraph.com/images/370_aHR0cHM6Ly9zMy5jb2ludGVsZWdyYXBoLmNvbS9zdG9yYWdlL3VwbG9hZHMvdmlldy9mZjlkZjZjMjRiOGZkM2Y2ZGJmYTVmN2M3MjIzY2M5Yy5qcGc=.jpg”,”amp_thumb”:”https://images.cointelegraph.com/images/150_aHR0cHM6Ly9zMy5jb2ludGVsZWdyYXBoLmNvbS9zdG9yYWdlL3VwbG9hZHMvdmlldy9mZjlkZjZjMjRiOGZkM2Y2ZGJmYTVmN2M3MjIzY2M5Yy5qcGc=.jpg”,”thumb150″:”https://images.cointelegraph.com/images/150_aHR0cHM6Ly9zMy5jb2ludGVsZWdyYXBoLmNvbS9zdG9yYWdlL3VwbG9hZHMvdmlldy9mZjlkZjZjMjRiOGZkM2Y2ZGJmYTVmN2M3MjIzY2M5Yy5qcGc=.jpg”,”url”:”https://cointelegraph.com/news/is-bitcoin-the-credit-card-killer-this-furniture-retailer-thinks-so”,”title”:”Is Bitcoin the Credit Card Killer? This Furniture Retailer Thinks so”,”lead”:”Watch out credit cards: A furniture retailer says it believes crypto offers big benefits for businesses and consumers that an old-fashioned plastic card can’t m…”,”leadfull”:””,”category_id”:62,”category_url”:”https://cointelegraph.com/category/sponsored”,”category_title”:”Sponsored”,”author_url”:”https://cointelegraph.com/authors/connor-blenkinsop”,”author_hash”:”aHR0cHM6Ly9jb2ludGVsZWdyYXBoLmNvbS9hdXRob3JzL2Nvbm5vci1ibGVua2luc29w”,”author_title”:”Connor Blenkinsop”,”author_img”:”https://cointelegraph.com/assets/img/icons/author_male.jpg”,”date”:”JUL 13, 2020″,”flash_date”:”JUL 13, 2020″,”sponsored”:true,”press_release”:false,”sponsored_label”:”Sponsored”,”explained”:false,”badge”:{“title”:”Sponsored”,”label”:”default”},”published”:{“date”:”2020-07-13 16:48:00.000000″,”timezone_type”:3,”timezone”:”Europe/London”},”stat_uniqs”:11932,”rss_date”:”Mon, 13 Jul 2020 16:48:00 +0100″,”publishedW3″:”2020-07-13T16:48:00+01:00″,”show_referral”:true,”isMagazine”:false},{“id”:50971,”retina”:”https://images.cointelegraph.com/images/1480_aHR0cHM6Ly9zMy5jb2ludGVsZWdyYXBoLmNvbS9zdG9yYWdlL3VwbG9hZHMvdmlldy80ZmM5MTg0ODMyNjA5ZjdjN2ZiOGJiYmIxNTQwNzllYy5qcGc=.jpg”,”img”:”https://images.cointelegraph.com/images/740_aHR0cHM6Ly9zMy5jb2ludGVsZWdyYXBoLmNvbS9zdG9yYWdlL3VwbG9hZHMvdmlldy80ZmM5MTg0ODMyNjA5ZjdjN2ZiOGJiYmIxNTQwNzllYy5qcGc=.jpg”,”thumb”:”https://images.cointelegraph.com/images/370_aHR0cHM6Ly9zMy5jb2ludGVsZWdyYXBoLmNvbS9zdG9yYWdlL3VwbG9hZHMvdmlldy80ZmM5MTg0ODMyNjA5ZjdjN2ZiOGJiYmIxNTQwNzllYy5qcGc=.jpg”,”thumb370″:”https://images.cointelegraph.com/images/370_aHR0cHM6Ly9zMy5jb2ludGVsZWdyYXBoLmNvbS9zdG9yYWdlL3VwbG9hZHMvdmlldy80ZmM5MTg0ODMyNjA5ZjdjN2ZiOGJiYmIxNTQwNzllYy5qcGc=.jpg”,”amp_thumb”:”https://images.cointelegraph.com/images/150_aHR0cHM6Ly9zMy5jb2ludGVsZWdyYXBoLmNvbS9zdG9yYWdlL3VwbG9hZHMvdmlldy80ZmM5MTg0ODMyNjA5ZjdjN2ZiOGJiYmIxNTQwNzllYy5qcGc=.jpg”,”thumb150″:”https://images.cointelegraph.com/images/150_aHR0cHM6Ly9zMy5jb2ludGVsZWdyYXBoLmNvbS9zdG9yYWdlL3VwbG9hZHMvdmlldy80ZmM5MTg0ODMyNjA5ZjdjN2ZiOGJiYmIxNTQwNzllYy5qcGc=.jpg”,”url”:”https://cointelegraph.com/news/the-importance-of-developing-the-decentralized-finance-space”,”title”:”The Importance of Developing the Decentralized Finance Space”,”lead”:”Developing the DeFi space is perhaps the most important task that lies ahead for the crypto community in the coming years.”,”leadfull”:””,”category_id”:81,”category_url”:”https://cointelegraph.com/category/opinion”,”category_title”:”Opinion “,”author_url”:”https://cointelegraph.com/authors/jay-hao”,”author_hash”:”aHR0cHM6Ly9jb2ludGVsZWdyYXBoLmNvbS9hdXRob3JzL2pheS1oYW8=”,”author_title”:”Jay Hao”,”author_img”:”https://images.cointelegraph.com/images/32_aHR0cHM6Ly9zMy5jb2ludGVsZWdyYXBoLmNvbS9zdG9yYWdlL3VwbG9hZHMvdmlldy8zZWE1ZWI3M2Y0YzIxOTRkNjllNjQ5ODIyN2M4NjM3Ny5qcGc=.jpg”,”date”:”AUG 16, 2020″,”flash_date”:”AUG 16, 2020″,”sponsored”:false,”press_release”:false,”sponsored_label”:”Sponsored”,”explained”:false,”badge”:{“title”:”Opinion”,”label”:”success”},”published”:{“date”:”2020-08-16 12:00:00.000000″,”timezone_type”:3,”timezone”:”Europe/London”},”stat_uniqs”:5939,”rss_date”:”Sun, 16 Aug 2020 12:00:00 +0100″,”publishedW3″:”2020-08-16T12:00:00+01:00″,”show_referral”:true,”isMagazine”:false},{“id”:51601,”retina”:”https://images.cointelegraph.com/images/1480_aHR0cHM6Ly9zMy5ldS1jZW50cmFsLTEuYW1hem9uYXdzLmNvbS9zMy5jb2ludGVsZWdyYXBoLmNvbS91cGxvYWRzLzIwMjAtMDgvOWU5MmJhNmUtNTYzZi00MzNlLThkMDgtOGY2YTA0NzE1OGU0LmpwZw==.jpg”,”img”:”https://images.cointelegraph.com/images/740_aHR0cHM6Ly9zMy5ldS1jZW50cmFsLTEuYW1hem9uYXdzLmNvbS9zMy5jb2ludGVsZWdyYXBoLmNvbS91cGxvYWRzLzIwMjAtMDgvOWU5MmJhNmUtNTYzZi00MzNlLThkMDgtOGY2YTA0NzE1OGU0LmpwZw==.jpg”,”thumb”:”https://images.cointelegraph.com/images/370_aHR0cHM6Ly9zMy5ldS1jZW50cmFsLTEuYW1hem9uYXdzLmNvbS9zMy5jb2ludGVsZWdyYXBoLmNvbS91cGxvYWRzLzIwMjAtMDgvOWU5MmJhNmUtNTYzZi00MzNlLThkMDgtOGY2YTA0NzE1OGU0LmpwZw==.jpg”,”thumb370″:”https://images.cointelegraph.com/images/370_aHR0cHM6Ly9zMy5ldS1jZW50cmFsLTEuYW1hem9uYXdzLmNvbS9zMy5jb2ludGVsZWdyYXBoLmNvbS91cGxvYWRzLzIwMjAtMDgvOWU5MmJhNmUtNTYzZi00MzNlLThkMDgtOGY2YTA0NzE1OGU0LmpwZw==.jpg”,”amp_thumb”:”https://images.cointelegraph.com/images/150_aHR0cHM6Ly9zMy5ldS1jZW50cmFsLTEuYW1hem9uYXdzLmNvbS9zMy5jb2ludGVsZWdyYXBoLmNvbS91cGxvYWRzLzIwMjAtMDgvOWU5MmJhNmUtNTYzZi00MzNlLThkMDgtOGY2YTA0NzE1OGU0LmpwZw==.jpg”,”thumb150″:”https://images.cointelegraph.com/images/150_aHR0cHM6Ly9zMy5ldS1jZW50cmFsLTEuYW1hem9uYXdzLmNvbS9zMy5jb2ludGVsZWdyYXBoLmNvbS91cGxvYWRzLzIwMjAtMDgvOWU5MmJhNmUtNTYzZi00MzNlLThkMDgtOGY2YTA0NzE1OGU0LmpwZw==.jpg”,”url”:”https://cointelegraph.com/news/what-binance-s-choice-of-integration-protocol-tells-us-about-defi-projects”,”title”:”What Binance’s choice of integration protocol tells us about DeFi projects”,”lead”:”How do Compound and Kava differ from other popular DeFi projects, and why did Binance select them as its first DeFi integration protocols?”,”leadfull”:””,”category_id”:81,”category_url”:”https://cointelegraph.com/category/opinion”,”category_title”:”Opinion “,”author_url”:”https://cointelegraph.com/authors/andrew-rossow”,”author_hash”:”aHR0cHM6Ly9jb2ludGVsZWdyYXBoLmNvbS9hdXRob3JzL2FuZHJldy1yb3Nzb3c=”,”author_title”:”Andrew Rossow”,”author_img”:”https://images.cointelegraph.com/images/32_aHR0cHM6Ly9zMy5jb2ludGVsZWdyYXBoLmNvbS9zdG9yYWdlL3VwbG9hZHMvdmlldy9lZTgxNzE3ZTk5YWMzOGUzNTJkMGNhNzQ5NjJhYmE1MC5qcGc=.jpg”,”date”:”AUG 26, 2020″,”flash_date”:”AUG 26, 2020″,”sponsored”:false,”press_release”:false,”sponsored_label”:”Sponsored”,”explained”:false,”badge”:{“title”:”Opinion”,”label”:”success”},”published”:{“date”:”2020-08-26 11:43:02.000000″,”timezone_type”:3,”timezone”:”Europe/London”},”stat_uniqs”:7740,”rss_date”:”Wed, 26 Aug 2020 11:43:02 +0100″,”publishedW3″:”2020-08-26T11:43:02+01:00″,”show_referral”:true,”isMagazine”:false},{“id”:51653,”retina”:”https://images.cointelegraph.com/images/1480_aHR0cHM6Ly9zMy5jb2ludGVsZWdyYXBoLmNvbS9zdG9yYWdlL3VwbG9hZHMvdmlldy83OGU3ZjNmNzc1NDA3ZDdjYjYxZjdiY2QwNzY5ZTIzMC5qcGc=.jpg”,”img”:”https://images.cointelegraph.com/images/740_aHR0cHM6Ly9zMy5jb2ludGVsZWdyYXBoLmNvbS9zdG9yYWdlL3VwbG9hZHMvdmlldy83OGU3ZjNmNzc1NDA3ZDdjYjYxZjdiY2QwNzY5ZTIzMC5qcGc=.jpg”,”thumb”:”https://images.cointelegraph.com/images/370_aHR0cHM6Ly9zMy5jb2ludGVsZWdyYXBoLmNvbS9zdG9yYWdlL3VwbG9hZHMvdmlldy83OGU3ZjNmNzc1NDA3ZDdjYjYxZjdiY2QwNzY5ZTIzMC5qcGc=.jpg”,”thumb370″:”https://images.cointelegraph.com/images/370_aHR0cHM6Ly9zMy5jb2ludGVsZWdyYXBoLmNvbS9zdG9yYWdlL3VwbG9hZHMvdmlldy83OGU3ZjNmNzc1NDA3ZDdjYjYxZjdiY2QwNzY5ZTIzMC5qcGc=.jpg”,”amp_thumb”:”https://images.cointelegraph.com/images/150_aHR0cHM6Ly9zMy5jb2ludGVsZWdyYXBoLmNvbS9zdG9yYWdlL3VwbG9hZHMvdmlldy83OGU3ZjNmNzc1NDA3ZDdjYjYxZjdiY2QwNzY5ZTIzMC5qcGc=.jpg”,”thumb150″:”https://images.cointelegraph.com/images/150_aHR0cHM6Ly9zMy5jb2ludGVsZWdyYXBoLmNvbS9zdG9yYWdlL3VwbG9hZHMvdmlldy83OGU3ZjNmNzc1NDA3ZDdjYjYxZjdiY2QwNzY5ZTIzMC5qcGc=.jpg”,”url”:”https://cointelegraph.com/news/audits-first-no-strings-attached-grants-to-prevent-defi-debacles”,”title”:”Audits first: ‘No strings-attached grants’ to prevent DeFi debacles”,”lead”:”Fair Launch Capital’s business model may help prevent future YAM DeFi debacles.”,”leadfull”:””,”category_id”:2,”category_url”:”https://cointelegraph.com/category/latest-news”,”category_title”:”Latest News”,”author_url”:”https://cointelegraph.com/authors/turner-wright”,”author_hash”:”aHR0cHM6Ly9jb2ludGVsZWdyYXBoLmNvbS9hdXRob3JzL3R1cm5lci13cmlnaHQ=”,”author_title”:”Turner Wright”,”author_img”:”https://images.cointelegraph.com/images/32_aHR0cHM6Ly9zMy5jb2ludGVsZWdyYXBoLmNvbS9zdG9yYWdlL3VwbG9hZHMvdmlldy82ZGNkNThhZmJlYWRmOGVkZmVjNDY4Y2ZkNmI1MDUwZC5qcGc=.jpg”,”date”:”AUG 27, 2020″,”flash_date”:”AUG 27, 2020″,”sponsored”:false,”press_release”:false,”sponsored_label”:”Sponsored”,”explained”:false,”badge”:{“title”:”News”,”label”:”default”},”published”:{“date”:”2020-08-27 01:32:00.000000″,”timezone_type”:3,”timezone”:”Europe/London”},”stat_uniqs”:3393,”rss_date”:”Thu, 27 Aug 2020 01:32:00 +0100″,”publishedW3″:”2020-08-27T01:32:00+01:00″,”show_referral”:true,”isMagazine”:false},{“id”:51661,”retina”:”https://images.cointelegraph.com/images/1480_aHR0cHM6Ly9zMy5jb2ludGVsZWdyYXBoLmNvbS9zdG9yYWdlL3VwbG9hZHMvdmlldy9lYzdiMmZhYjBkYTE5ZDYzNDQ2NjY3MjkzY2E0YTRkZC5qcGc=.jpg”,”img”:”https://images.cointelegraph.com/images/740_aHR0cHM6Ly9zMy5jb2ludGVsZWdyYXBoLmNvbS9zdG9yYWdlL3VwbG9hZHMvdmlldy9lYzdiMmZhYjBkYTE5ZDYzNDQ2NjY3MjkzY2E0YTRkZC5qcGc=.jpg”,”thumb”:”https://images.cointelegraph.com/images/370_aHR0cHM6Ly9zMy5jb2ludGVsZWdyYXBoLmNvbS9zdG9yYWdlL3VwbG9hZHMvdmlldy9lYzdiMmZhYjBkYTE5ZDYzNDQ2NjY3MjkzY2E0YTRkZC5qcGc=.jpg”,”thumb370″:”https://images.cointelegraph.com/images/370_aHR0cHM6Ly9zMy5jb2ludGVsZWdyYXBoLmNvbS9zdG9yYWdlL3VwbG9hZHMvdmlldy9lYzdiMmZhYjBkYTE5ZDYzNDQ2NjY3MjkzY2E0YTRkZC5qcGc=.jpg”,”amp_thumb”:”https://images.cointelegraph.com/images/150_aHR0cHM6Ly9zMy5jb2ludGVsZWdyYXBoLmNvbS9zdG9yYWdlL3VwbG9hZHMvdmlldy9lYzdiMmZhYjBkYTE5ZDYzNDQ2NjY3MjkzY2E0YTRkZC5qcGc=.jpg”,”thumb150″:”https://images.cointelegraph.com/images/150_aHR0cHM6Ly9zMy5jb2ludGVsZWdyYXBoLmNvbS9zdG9yYWdlL3VwbG9hZHMvdmlldy9lYzdiMmZhYjBkYTE5ZDYzNDQ2NjY3MjkzY2E0YTRkZC5qcGc=.jpg”,”url”:”https://cointelegraph.com/news/celsius-network-raises-more-than-20m-via-equity-crowdfunding”,”title”:”Celsius Network raises more than $20M via equity crowdfunding”,”lead”:”After numerous extensions, Celsius’s equity crowdfunding raise has attracted 1,000 investors and more than $20 million.”,”leadfull”:””,”category_id”:2,”category_url”:”https://cointelegraph.com/category/latest-news”,”category_title”:”Latest News”,”author_url”:”https://cointelegraph.com/authors/joshua-mapperson”,”author_hash”:”aHR0cHM6Ly9jb2ludGVsZWdyYXBoLmNvbS9hdXRob3JzL2pvc2h1YS1tYXBwZXJzb24=”,”author_title”:”Joshua Mapperson”,”author_img”:”https://cointelegraph.com/assets/img/icons/author_male.jpg”,”date”:”AUG 27, 2020″,”flash_date”:”AUG 27, 2020″,”sponsored”:false,”press_release”:false,”sponsored_label”:”Sponsored”,”explained”:false,”badge”:{“title”:”News”,”label”:”default”},”published”:{“date”:”2020-08-27 05:09:00.000000″,”timezone_type”:3,”timezone”:”Europe/London”},”stat_uniqs”:4970,”rss_date”:”Thu, 27 Aug 2020 05:09:00 +0100″,”publishedW3″:”2020-08-27T05:09:00+01:00″,”show_referral”:true,”isMagazine”:false}]}” :shares=”{“facebook”:{“url”:”https://www.facebook.com/sharer/sharer.php?u=%URL%”,”icon”:”facebook”,”title”:”Facebook”,”sizesAllowed”:[{“size”:”lg”,”label”:”Large devices”,”breakpoint”:”> 1200px”},{“size”:”md”,”label”:”Medium devices”,”breakpoint”:”> 992px”},{“size”:”sm”,”label”:”Small tablets”,”breakpoint”:”> 768px”},{“size”:”xs”,”label”:”Smartphones”,”breakpoint”:”> 480px”},{“size”:”xxs”,”label”:”Extra small devices”,”breakpoint”:”< 480px"}],"position":1,"status":true},"twitter":{"url":"https://twitter.com/intent/tweet?text=%TEXT%","icon":"twitter","title":"Twitter","position":2,"status":true,"sizesAllowed":[{"size":"xxs","label":"Extra small devices","breakpoint":"< 480px"},{"size":"xs","label":"Smartphones","breakpoint":"> 480px”},{“size”:”sm”,”label”:”Small tablets”,”breakpoint”:”> 768px”},{“size”:”md”,”label”:”Medium devices”,”breakpoint”:”> 992px”},{“size”:”lg”,”label”:”Large devices”,”breakpoint”:”> 1200px”}]},”telegram”:{“url”:”https://t.me/share/url?url=%URL%&text=%TEXT%”,”icon”:”telegram”,”title”:”Telegram”,”position”:3,”status”:true,”sizesAllowed”:[{“size”:”xxs”,”label”:”Extra small devices”,”breakpoint”:”< 480px"},{"size":"xs","label":"Smartphones","breakpoint":"> 480px”},{“size”:”sm”,”label”:”Small tablets”,”breakpoint”:”> 768px”},{“size”:”md”,”label”:”Medium devices”,”breakpoint”:”> 992px”},{“size”:”lg”,”label”:”Large devices”,”breakpoint”:”> 1200px”}]},”pocket”:{“url”:”https://getpocket.com/save?url=%URL%”,”icon”:”pocket”,”title”:”Pocket”,”position”:4,”status”:true,”sizesAllowed”:[{“size”:”xxs”,”label”:”Extra small devices”,”breakpoint”:”< 480px"},{"size":"xs","label":"Smartphones","breakpoint":"> 480px”},{“size”:”sm”,”label”:”Small tablets”,”breakpoint”:”> 768px”},{“size”:”md”,”label”:”Medium devices”,”breakpoint”:”> 992px”},{“size”:”lg”,”label”:”Large devices”,”breakpoint”:”> 1200px”}]},”linkedin”:{“url”:”https://www.linkedin.com/shareArticle?mini=true&url=%URL%&title=%TITLE%”,”icon”:”linked-in”,”title”:”LinkedIn”,”position”:5,”status”:true,”sizesAllowed”:[{“size”:”xxs”,”label”:”Extra small devices”,”breakpoint”:”< 480px"},{"size":"xs","label":"Smartphones","breakpoint":"> 480px”},{“size”:”sm”,”label”:”Small tablets”,”breakpoint”:”> 768px”},{“size”:”md”,”label”:”Medium devices”,”breakpoint”:”> 992px”},{“size”:”lg”,”label”:”Large devices”,”breakpoint”:”> 1200px”}]},”copy”:{“url”:”%URL%”,”icon”:”copy”,”position”:7,”title”:”Copy Link”,”sizesAllowed”:[{“size”:”xxs”,”label”:”Extra small devices”,”breakpoint”:”< 480px"},{"size":"xs","label":"Smartphones","breakpoint":"> 480px”},{“size”:”sm”,”label”:”Small tablets”,”breakpoint”:”> 768px”},{“size”:”md”,”label”:”Medium devices”,”breakpoint”:”> 992px”},{“size”:”lg”,”label”:”Large devices”,”breakpoint”:”> 1200px”}],”status”:true},”whatsapp”:{“url”:”https://wa.me/?text=%TITLE% %URL%”,”icon”:”whats-app”,”title”:”Whatsapp”,”sizesAllowed”:[{“size”:”xxs”,”label”:”Extra small devices”,”breakpoint”:”< 480px"},{"size":"xs","label":"Smartphones","breakpoint":"> 480px”},{“size”:”sm”,”label”:”Small tablets”,”breakpoint”:”> 768px”},{“size”:”md”,”label”:”Medium devices”,”breakpoint”:”> 992px”},{“size”:”lg”,”label”:”Large devices”,”breakpoint”:”> 1200px”}],”position”:6,”status”:true}}” is=”ExplainedPostPage”>

Decentralized exchanges where one trades with a smart contract, not other people

Automated market makers, or AMMs, are a class of decentralized exchanges that rely on mathematical formulas to set the price of a token. Like normal exchanges, they have various trading pairs: for example, Ether (ETH) to Dai.

But there are no buy or sell orders, and traders don’t need to find someone else to sell their coins to. Instead, a smart contract acts as the maker in an exchange transaction. The concept is similar to quick-swap services like ShapeShift and Changelly, but the difference is that the company’s reserves are replaced with liquidity pools based on smart contracts.

A liquidity pool contains two assets in a trading pair. The relative percentage of each token in that pool is what determines the theoretical price of a particular asset. The first live AMM was Bancor, launched in 2017, but the most popular platforms today are Uniswap, Curve, Kyber and Balancer.

They make providing liquidity much simpler and cheaper

Automated market makers are an attempt to work around the performance restrictions of smart contract blockchains, especially Ethereum. Before AMMs came into prominence, decentralized exchanges built on Ethereum, like EtherDelta or 0x, attempted to use a classical order book mechanism.

However, they suffered from liquidity issues, as placing each order required spending gas and waiting for block confirmation times. Ethereum’s low throughput also meant that only a small number of transactions could be submitted before the blockchain would be completely swamped by these orders.

This was especially problematic for market makers, the liquidity providers on order book exchanges. “Making” a market typically requires constantly adjusting buy and sell orders to the latest price, even if they do not get filled. When each submitted order costs money and time, they may lose more than they gain from the bid-ask spread, which is the difference between the highest offered buy price and lowest sell price.

AMMs make providing liquidity cheaper and simpler through a completely automated one-time process — hence the name. Even average users can pitch in with their liquidity, while doing so on traditional exchanges requires advanced technical knowledge.

A mathematical formula defines the price of a particular token

When trading on an AMM, users interact with the liquidity pool. Under the hood, when the user instructs the smart contract to perform a trade, the contract sends their tokens, such as ETH, to the liquidity pool. A mathematical formula then decides how many tokens from the other side of the pair — for example, Dai — they should receive in return.

The simplest practical formula is X multiplied by Y equals K, where the X and Y represent the amount of each token in the pool and K is a predefined constant. This equation defines a hyperbola: a smooth geometric shape that approaches both infinity and zero at its extremes but never quite reaches them.

Each trade has some amount of slippage — how much the size of the order affects the ultimate price at which a token was bought or sold. The hyperbola shape means that slippage will be low with small orders, but with large orders, slippage rises exponentially. Uniswap is known for using this simple formula, but other platforms may use more complicated math to fine-tune the slippage.

Connect the wallet, and confirm the transactions

Using an AMM protocol is quite simple: Users visit the protocol’s website or other front ends, connect a DeFi-enabled wallet to the protocol, choose the asset they wish to buy or sell, hit “swap,” and confirm the transaction on their wallet.

Providing liquidity works similarly to trading. After connecting a wallet, users can go to the “liquidity provider” section and select how much they want to commit to the pool. In most protocols, they need to have both types of assets available. For example, if ETH is trading for 400 Dai, they will need to simultaneously provide 1 ETH and 400 Dai.

After confirming the transactions, users receive a token representing their ownership in the liquidity pool. It can then be transferred to anyone or redeemed once again for the underlying tokens, plus any fees they might have accumulated.

Decentralization and permissionless use are powerful improvements

Automated market makers are, arguably, already solving the biggest obstacle to the widespread adoption of decentralized exchanges: liquidity. Without that issue, the natural benefits of a DEX can shine through.

Unlike traditional centralized exchanges, there are no gatekeepers that could exclude projects or users. AMM protocols are permissionless and do not require users to set up specific accounts or pass stringent Know Your Customer checks. A wallet address is all that is necessary to interact with the protocols.

From the perspective of a project, DEXs are also a great way to release a token to the market and bootstrap liquidity. There are no listing fees or admission criteria, as anyone, even an outsider, could set up a liquidity pool for any token.

Democratizing the act of providing liquidity also means that the project’s fans and holders can help create a liquid market on new tokens without requiring the assistance of specialized market makers. Finally, AMM decentralized exchanges generally have very simple interfaces, as they do not need to pack advanced order options or price charts into one dashboard.

Bugs, improper pricing and impermanent loss

Despite some positive qualities, AMMs present certain risks and limitations. Hacks and vulnerabilities have already affected exchanges such as Uniswap and Balancer, where some liquidity providers saw their money stolen due to complex smart contract interactions. On the other hand, traders are exposing their strategy for the world to see, enabling front-runners to get their orders in first and exploit legitimate users.

Related: Figuring Out Who’s to Blame for DeFi’s Persistent Security Issues

Automated market makers also cannot exist without traditional order book exchanges being relied upon for arbitrage. The mathematical formulas, despite their elegance, cannot truly represent market sentiment. Arbitrage traders are necessary to correct the pricing of assets in an AMM, but this results in the issue of impermanent loss on many platforms.

In a nutshell, arbitrage traders make a profit by bringing the price in balance, but this profit is extracted from the liquidity providers. Despite the trading fees they receive, liquidity providers may actually lose money if the price moves too far in a certain direction. The loss is “impermanent” because the price could always move in the opposite direction, but in practice, this will not always happen.

While there are certain improvements being made, the volume and liquidity of AMMs still pale in comparison with the largest centralized exchanges. Gas congestion in the summer of 2020 also showed that they are starting to hit their use ceiling, and better scaling solutions will be required in the future to facilitate further growth.

Loading data ...
Comparison
View chart compare
View table compare
Back To Top