This site uses cookies. Browsing the site, you agree to the use of cookies. If you need more information, please visit the Cookies Policy page
Cryptocurrencies: 5307 / Markets: 30042
Market Cap: $ 339 598 364 250 / 24h Vol: $ 92 282 154 606 / BTC Dominance: 58.3045%

Н News

Uniswap and automated market makers, explained

528_aHR0cHM6Ly9zMy5jb2ludGVsZWdyYXBoLmNvbS9zdG9yYWdlL3VwbG9hZHMvdmlldy80NmI4ZDgzMDQxYjFkNTU2MTNiMjI3NzNjN2JjZWMwNi5qcGc=.jpg

Decentralized exchanges such as Uniswap have now become popular thanks to automated market makers, but what does it all mean?

What are the risks and limitations of AMMs?

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.

Why are AMMs becoming popular?

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.

How does one use an automated market maker?

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.

How do smart contracts automate trading on AMMs?

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.

Why do these exchanges exist?

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.

What are automated market makers?

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.

Source

  • 14.09.20 17:15 Юрий Ник

    Шалом

  • 14.09.20 17:20 Захар Трофимов

    Отличные эфиры у вас

  • 14.09.20 17:21 Попков С.А.

    ​здарова бандиты

  • 14.09.20 17:30 Серега Бумер

    Привет из Москвы

  • 14.09.20 17:35 Анастасия

    Давайте биткоин по 20к

  • 14.09.20 17:40 Лысый Боб

    Подарите книгу)))

  • 14.09.20 17:41 Светлана П

    Hello

  • 14.09.20 17:48 Николаев

    Понеслась

  • 14.09.20 17:53 Щука А

    Слава эфиру

  • 14.09.20 17:58 Захар Трофимов

    Надо изучать Defi , интересно

  • 14.09.20 17:59 Павел Павлов

    15$. профита всем

  • 14.09.20 18:01 Попко Колян

    Давайте биткоин по 20к

  • 14.09.20 18:08 Попков С.А.

    Круто

  • 14.09.20 18:13 Алексей С.

    ​гуд

  • 14.09.20 18:18 Попков С.А.

    Как успехи?

  • 14.09.20 18:24 Попко Колян

    👍👍👍👍👍

  • 14.09.20 18:26 Егор Шетюк

    Понеслась

  • 14.09.20 18:26 Захар Трофимов

    15$. Тюмень рулит😁

  • 14.09.20 18:35 Константин В.В

    Биток и эфир держу до лучших времён)

  • 14.09.20 18:38 Попко Колян

    ​ДОБРОГО

  • 14.09.20 18:43 Даниил

    Рига смотрит

  • 14.09.20 18:46 Вадим Никулин

    Всегда смотрю Вас!

  • 14.09.20 18:55 Захар Трофимов

    Минск на проводе

  • 14.09.20 18:56 Щука А

    Спасибо за ваш труд

  • 14.09.20 19:01 Никита

    Хай

  • 14.09.20 19:06 Вячеслав Левков

    Отложил биток на пенсию

  • 14.09.20 19:13 Попков С.А.

    Отличные эфиры у вас

  • 14.09.20 19:20 Щука А

    Привет из Москвы

  • 14.09.20 19:25 Алексей С.

    Всем РЕСПЕКТ

  • 14.09.20 19:27 Николай

    Вперед криптаны

  • 14.09.20 19:34 КРИПТАН

    Слышно гуд

  • 14.09.20 19:36 Егор Шетюк

    Подарите книгу)))

  • 14.09.20 19:44 Светлана П

    миллионерам привет

  • 14.09.20 19:48 Вячеслав Левков

    Крипта скам=)

  • 14.09.20 19:53 Тоха

    Понеслась

  • 14.09.20 19:57 Носов А.А

    Рига смотрит

  • 14.09.20 20:04 Прокоп

    Донаты принемаете?

  • 14.09.20 20:06 Носов А.А

    спасибо

  • 14.09.20 20:12 Юрий Ник

    Тюмень рулит😁

  • 14.09.20 20:18 Даниил

    миллионерам привет

  • 14.09.20 20:18 Нина

    17$. Биток и эфир держу до лучших времён)

  • 14.09.20 20:24 Никита

    18$. Задонатю вам баблишка)

  • 14.09.20 20:25 Вячеслав Левков

    Поможем парням лайками, я уже свой поставил

  • 14.09.20 20:26 Павел Скоровойтов

    Слава эфиру

  • 14.09.20 20:35 Носов А.А

    Привет, пацаны. Слышно, видно хорошо

  • 14.09.20 20:36 Тоха

    Шалом

  • 14.09.20 20:44 Лена

    Биток и эфир держу до лучших времён)

  • 14.09.20 20:47 Нина

    ​ку-ку)

  • 14.09.20 20:53 Попков С.А.

    Все good. Ростем потихоньку и падаем, как всегда

  • 14.09.20 20:58 Санек

    Всем РЕСПЕКТ

  • 14.09.20 21:01 Славка Орехов

    Спасибо за ваш труд

  • 14.09.20 21:10 Ваня А,

    Привет, пацаны. Слышно, видно хорошо

  • 14.09.20 21:13 Нина

    ​ДОБРОГО

  • 14.09.20 21:20 Никита

    Привет парни!

  • 14.09.20 21:25 Егор Шетюк

    Hello

  • 14.09.20 21:27 Вячеслав Левков

    ​ку-ку)

  • 14.09.20 21:33 Попков С.А.

    Тамбов с вами братва

  • 14.09.20 21:37 Серега Бумер

    Слава эфиру

  • 14.09.20 21:42 Ваня А,

    Подарите книгу)))

  • 14.09.20 21:50 Павел Скоровойтов

    Поможем парням лайками, я уже свой поставил

  • 14.09.20 21:54 Захар Трофимов

    Привет парни!

  • 14.09.20 21:56 Санек

    Отложил биток на пенсию

  • 14.09.20 22:03 Носов А.А

    Привет, пацаны. Слышно, видно хорошо

  • 14.09.20 22:03 Попков С.А.

    14$. Надо изучать Defi , интересно

  • 14.09.20 22:09 Николай

    Поможем парням лайками, я уже свой поставил

  • 14.09.20 22:14 Вадим Никулин

    Я из РБ слежу за вами давно💰

  • 14.09.20 22:17 Николай

    Поможем парням лайками, я уже свой поставил

  • 14.09.20 22:24 Лена

    ​Я снова с вами)))

  • 14.09.20 22:28 Носов А.А

    Отложил биток на пенсию

  • 14.09.20 22:31 Серега Бумер

    Тюмень рулит😁

  • 14.09.20 22:40 Светлана П

    Сморгонь 👍

  • 14.09.20 22:43 Вадим Никулин

    Отложил биток на пенсию

  • 14.09.20 22:46 Николаев

    Круто

  • 14.09.20 22:53 Ваня А,

    Люблю ваши трансляции, вы крутые!

  • 14.09.20 22:58 Вячеслав Левков

    Биток вперед!!!

  • 14.09.20 23:05 Носов А.А

    ​Привет всем с Украины!

  • 14.09.20 23:06 Носов А.А

    12$. ​здарова бандиты

  • 14.09.20 23:09 Константин В.В

    Отложил биток на пенсию

  • 14.09.20 23:14 Прокоп

    Екатеринбург на связи

  • 14.09.20 23:18 Николаев

    Круто

  • 14.09.20 23:25 Тоха

    ​здарова бандиты

  • 14.09.20 23:27 Попков С.А.

    Отличные эфиры у вас

  • 14.09.20 23:33 Лена

    Поможем парням лайками, я уже свой поставил

  • 14.09.20 23:39 Николаев

    Доброе утречко

  • 14.09.20 23:45 Лена

    Как успехи?

  • 14.09.20 23:49 Павел Скоровойтов

    ​ку-ку)

  • 14.09.20 23:51 Ваня А,

    Привет, пацаны. Слышно, видно хорошо

  • 14.09.20 23:57 Попков С.А.

    Хомяки тут

  • 15.09.20 00:01 Лысый Боб

    Привет, пацаны. Слышно, видно хорошо

  • 15.09.20 00:07 Санек

    Слава эфиру

  • 15.09.20 00:12 Щука А

    Екатеринбург на связи

  • 15.09.20 00:14 Нина

    23$. Лайк

  • 15.09.20 00:16 Юрий Ник

    Вперед криптаны

  • 15.09.20 00:25 Лена

    Биток и эфир держу до лучших времён)

  • 15.09.20 00:26 Попков С.А.

    Как успехи?

  • 15.09.20 00:33 Попко Колян

    Я из РБ слежу за вами давно💰

  • 15.09.20 00:40 Даниил

    миллионерам привет

  • 15.09.20 00:50 Константин В.В

    11$. Круто

  • 17.09.20 15:31 Trident

    купил билет на семинар который изначально планировался в субботу.... в пятницу не смогу послушать, гле посмотреть запись?

  • 24.09.20 12:08 Серго1985

    Как бабло зарабатывается??

To join the Chat, you need a free pro-blockchain.com account. Enter Registration