Home | Uniswap Protocol

Uniswap (UNI)

Uniswap is a well-known distributed trading platform that helps automate the exchanging of contributions to the group (DeFi) tokens. Uniswap seeks to maintain token exchange autonomous and available to anybody who owns tokens while enhancing transaction performance compared to conventional exchangers.

Uniswap Boosts Productivity

Uniswap boosts productivity by using computerized ways to solve availability difficulties, preventing the early decentralized swaps' drawbacks. Uniswap took a step much further in September 2020, establishing and giving its administration token, UNI, to former technology customers. This increased both the possibility of for-profit profit profit profit and the capacity for users to control the destiny of the entity – a desirable feature of decentralized organizations.

Uniswap Founding Members

Uniswap has created a way to provide AMMs to a broader audience on Ethereum. Hayden Adams, an Ethereum engineer, created the platform. During finalizing Uniswap, Adams worked on various technologies, and Cryptocurrency developer Vitalik Buterin's projects and Ethereum developer Vitalik Buterin Directly impacted his work Ethereum developer Vitalik Buterin. Buterin was also responsible for the method's name, which an organization was formerly known as Unipeg.

Adams has also stated that one of Buterin's blog entries was the source of motivation for the Uniswap platform. After a friend persuaded him to start investigating and comprehending the technology in 2017, he started to concentrate on Ethereum.

What Sets Uniswap Apart?

Uniswap was founded to give liquidity — and hence trade, and the benefits that exchanging brings — to the DeFi community. The protocol uses a formula for automatic exchange and is one of the most widely used AMMs today. Hayden Adams, the effect of the formation, claims to be the creator of the concept's unique embodiment on Uniswap. Uniswap is more than simply a decentralized exchange; it aims to overcome the financial difficulties that services like EtherDelta have had.

Protocol Of Uniswap

The protocol encourages participation by sensitizing and lowering costs for all participants by streamlining the market-making procedure. The approach also eliminates user identification, allowing anybody to construct a volatility pooling for any combination of tokens. The administration token (UNI) was designed by Uniswap to "formally enshrin[e] Uniswap as clearly and openly and self-sustaining equipment while carefully protecting its irreversible and sovereign attributes," as per the company.

Circulation Of Uniswap (Uni) Coins

Uniswap's democracy token has a total quantity of 1 billion units. These will be accessible over four years, after which Uniswap will implement a 2% "everlasting inflationary pressures" to ensure network membership. Uniswap concerned citizens, i.eUsers receive 60 percent of token distribution, while teammates receive 21.51 percent, shareholders invest 17.8 percent, and advisers receive 0.69 percent. The final three payments will be distributed over four years periods.

Benefits of UNI tokens

The UNI token allows the distributed blockchain's expansion to be shared by the whole network. This gives UNI holders an independent and immutable way to demonstrate the management of the Uniswap mechanism and larger ecosystem. The effectiveness and popularity of Uniswap goods will positively influence the Uniswap price, encouraging increased participation in a beneficial influence on the Uniswap price and encouraging increased participation to participate in the ecosystem's self-development.

In September 2024, four years following the debut of the UNI token, a 2% yearly inflation target will be implemented. Disincentivizing dormant shareholders guarantee that engagement in the Uniswap environment persists.

Security Is the Uniswap Platform

  • Swapping is a commodities markets technology with UNI as its internal administration token. UNI is an ERC-20 token, which means it runs on Ethereum.

  • ERC-20 is a set of regulations for currencies, and security issues are primarily focused on the Ethereum network's functionality.

  • Overload, for example, might raise the cost of the gas used to conduct transactions, resulting in delays and an unusual financial system that affects all players.

  • On the other hand, financial intermediaries might generate security difficulties; resulting in DeFi traders losing money; in fact, cybercriminals have already stolen millions of dollars in DeFi's brief history of September 2021.

You must be aware of the fact that the way our world functions has entirely changed and one of the major reasons making it possible was the emergence of digital currencies and tons of related services coming to life on the virtual platform.

There are trading or exchange platforms, there are crypto wallets, there are crypto payment applications and even liquidity pools- users availed the authority to take advantage of all of these services along with exploring the multiple crypto variants.

Here, we’ll be talking about the Uníswáp Exchánge as it is one of the best and offers you high standard liquidity pools to swap your crypto tokens as required- that is its superpower. Reading on, you’ll know the pros and cons, and the ways in which you can utilize the exchange.

Understanding the upsides and downfalls of Uniswap

This part of the read has been equipped with the two most important factors that define your experience on the Uniswap exchange platform:

Uniswap Upsides

  • Swap all tokens based on Ethereum

  • Registering isn’t necessitated

  • Support with a wallet service for crypto

  • Crypto staking to bring interests

  • Uncomplicated and facile interface

Uniswap Downfalls

  • Compatibility of fiat is not introduced

  • Gas fees are relatively higher

  • No KYC employed practice

  • High risk of short-term losses

Using the Uníswáp Exchánge with enlisted data

Well, there are two things you can do on the exchange platform after you’ve linked your Uniswap portal either to a pre-existing crypto wallet or create one to do so:

  • Make trade transactions- This is easy, all you have to do is get into the “Swap” option tab and head on to select the crypto pairs you want to make the swap for.

  • Settle for stake transactions- The staking procedure is lengthier but not difficult- Get into the “Pool”, go for creating a new position, and deposit crypto pairs of your choice (make sure they have a liquidity pool). Also, keep up with the instruction prompts that come up on the screen.

Conclusion

The detailed read here is directed to help you understand one of the recent but established developments in the crypto industry- the Uníswáp Exchánge, and let you know that the latest service that made to the surface in the crypto world is the liquidity pool.

Moving along the read, we think you are now aware of all the pros or upsides and cons or downfalls, which tells you what you can enjoy and what you to deal with. And in addition to that, you learned how to use the exchange service to benefit from it.

Uniswap is one of the most interesting projects to launch on Ethereum in recent times. It is a protocol for decentralized exchange of tokens, but very different from the traditional ones seen today. Inspired by one of Vitalik’s reddit posts a few years ago, creator Hayden Adams initially sought to gain some Solidity practice. Soon after, though, this training exercise evolved into receiving a grant from the Ethereum Foundation. Uniswap is a set of smart contracts deployed to the Ethereum network, which means the entirety of this process takes place on-chain. There is no token, no centralization, and no fees going to any of the founders. The mechanics of Uniswap take some getting used to, but afterwards we’ll see that this protocol for trading tokens has some nifty advantages over traditional DEXes.

Uniswap’s unique architecture sheds the concept of a limit order book entirely. Strangely, market makers no longer specify price when providing liquidity. Instead, they merely supply the funds and Uniswap takes cares of the rest.

On a typical traditional exchange such as Coinbase, market makers are familiar with supplying liquidity at various price points. For example, let’s say a trader has $1,000 dollars and 10 ETH at their disposal. On the buy side, they might bid $80 for 5 ETH and $60 for 10 ETH. On the sell side, they may offer 4 ETH at $120 and 6 ETH at $140. They’ve chosen to make markets at various price points they would be happy to transact. Collectively, all of the traders’ orders comprise the limit order book. As markets move up or down, traders may or may not get filled depending on the prices they’ve specified. Typically, the ‘price’ of ETH is quoted as the mid-market between the highest bid and lowest ask.

Now imagine hypothetically that Coinbase were to take everyone’s bids and offers and pool them into two giant buckets. Understandably, a trader might not be too enthused with this idea. They wouldn’t want their orders commingled with other peoples’, or for Coinbase to execute trades on their behalf at arbitrary price points.

Yet this is essentially what occurs in Uniswap. A market maker no longer specifies which prices they are willing to buy or sell ETH at. Instead, Uniswap pools everyone’s liquidity together and makes markets according to a deterministic algorithm. This algorithm, known as an automated market maker (AMM), quotes prices to the end user according to some pre-defined rule set. An example of a very simple AMM is a bot strategy that puts bids and offers every $1 away from the mid-market price, and constantly revises the order placement as the market moves around.

Not all AMMs are the same, and different strategies come with their own sets of trade-offs. Uniswap uses a variant they call the “Constant Product Market Maker Model.” This AMM has a particularly desirable feature where it can always provide liquidity, no matter how large the order size nor how tiny the liquidity pool. The trick is to asymptotically increase the price of the coin as the desired quantity increases. While larger orders tend to suffer (as we’ll see in a moment), the system never has to worry about running out of liquidity. It will quite literally always work.

For Traders

Let’s go through a simple numerical example using the ETH/DAI trading pair. Let’s assume market makers have collectively funded this pool with 100,000 DAI and 1,000 ETH. Uniswap takes these two quantities and multiplies them together (100,000 x 1,000 = 100,000,000).

Uniswap’s goal for this particular trading pair is to keep this product equal to 100 million no matter how much trading activity occurs (hence the name Constant Product Market Maker). The key formula to keep in mind is x * y = k, where x and y are the coin quantities in the liquidity pool, and k is the product. In order to keep k constant x and y can only move inverse each other. When a trader makes a purchase of ETH into this contract, they are increasing x (as they add DAI to the liquidity pool) and decreasing y (as they remove ETH from the liquidity pool). However, this does not scale linearly. Trying to buy 100 ETH instead of 10 ETH does not require merely 10x the DAI. In fact, it increases asymptotically. The easiest way to see this is by plotting out the curve x * y = k.

What’s absolutely essential to notice in this system is that the price quoted is directly dependent on the size of the order. The further one moves along the curve, the less bang they get for their buck. Here’s a chart of the premiums one must pay for larger order sizes assuming a current ETH / DAI price of 100.

As you can see, purchasing a significant portion of ETH in the pool is an expensive idea if it’s more than ~2% of the liquidity pool. Keep in mind, though, that these premiums are based on the current size of the liquidity pool. If the pool were 100x larger (i.e., 10 million DAI and 100,000 ETH), it wouldn’t be nearly as expensive to buy a mere 50 ETH. Ultimately, the price paid reflects how much the trade size shifts the x/ y ratio. When the liquidity pool is larger, it’s much easier to process larger orders (which is what you’d expect, of course).

One caveat to keep in mind is front running, which is an issue for all DEXes on Ethereum today. To help mitigate, Uniswap allows one to specify a maximum price when placing an order. Therefore, if a miner front runs an order, the user cannot be forced into accepting the worse price. They might miss the trade, unfortunately, but they won’t get a costlier price. Another feature Uniswap implements is expiring orders which prevent miners from withholding signed transactions and processing them later when the price has moved.

ERC-20 to ERC-20 swaps are also possible without requiring a separate liquidity pool. An order for REP <> ZRX, for example, would route through the REP/ETH pair, and then automatically through the ZRX/ETH pair.

For Liquidity Providers

Liquidity providers have an even more confusing task at hand. Let’s walk through the inception of the ETH/DAI market. The first thing to note for liquidity providers (and traders, too), is that the x / y ratio represents the price of the trading pair. In our case, x / y = 100,000 DAI / 1,000 ETH = 100. Let’s also assume the Coinbase price of ETH is $100. If x / y didn’t equal 100, there would be an arbitrage opportunity between Uniswap and Coinbase.

When a liquidity provider adds liquidity to the pool, he cannot only supply liquidity to one side of the pair. Otherwise, he will be shifting the ratio, and essentially setting a new price (which is dangerous, as he will be arbitraged away immediately and lose money). For example, if a liquidity provider only adds 1,000 ETH and 0 DAI, then the contract’s new ratio is 100,000 / 2,000 = 50. Arbitrageurs will push that market into line until the ratio is 100:1 again. Liquidity providers must supply an equal amount of both sides of a trading pair (and the Uniswap interface helps ensure no mistakes are made).

So let’s assume that after adding 10,000 DAI and 100 ETH (total market value of $20,000), the liquidity pool is now 100,000 DAI and 1,000 ETH in total. Because the amount supplied is equal to 10% of the total liquidity, the contract mints and sends the market maker “liquidity tokens” which entitle them to 10% of the liquidity available in the pool. These are not speculative tokens to be traded. They are merely an accounting or bookkeeping tool to keep track of how much the liquidity providers are owed. If others subsequently add/withdraw coins, new liquidity tokens are minted/burned such that the everyone’s relative percentage share of the liquidity pool remains the same.

Now let’s assume the price trades on Coinbase from $100 to $150. The Uniswap contract should reflect this change as well after some arbitrage. Traders will add DAI and remove ETH until the new ratio is now 150:1. What happens to the liquidity provider? The contract reflects something closer to 122,400 DAI and 817 ETH (to check these numbers are accurate, 122,400 * 817 = 100,000,000 (our constant product) and 122,400 / 817 = 150, our new price). Withdrawing the 10% that we are entitled to would now yield 12,240 DAI and 81.7 ETH. The total market value here is $24,500. Roughly $500 worth of profit was missed out on as a result of the market making.

Obviously no one wants to provide liquidity out of charitable means, and the revenue isn’t dependent on the ability to flip out of good trades (there is no flipping). Instead, 0.3% of all trade volume is distributed proportionally to all liquidity providers. By default, these fees are put back into the liquidity pool, but can be collected any any time. It’s difficult to know what the trade off is between revenues from fees and losses from directional movements without knowing the amount of in-between trades. The more chop and back and forth, the better.

The Big Idea

Alright, so this sounds a lot more complicated than a regular exchange with a normal limit order book. The premiums also make it prohibitively expensive for whales to transact large size. So what is so great about this style of exchange? In a nutshell, the pooled liquidity smooths out the depth of the order book. There are no more large holes or large bid/ask spreads. This is preferable for small traders who don’t want to have to deal with limit order books (the Uniswap UX is one of the slickest we’ve seen in all of crypto). No more having to make bids or offers or doing heavy calculations. Liquidity providers can also “set it and forget it.” There’s significantly less overhead in terms of management of orders and positions. It’s an incredibly passive way to provide liquidity and earn some fees.

Uniswap also breathes life back into app-to-app (or machine to machine) transactions. In a world with millions of microtransactions, it makes a lot more sense to dip into one giant liquidity pool than to have to be conscious of price specific liquidity needs. Lifting the best offer on a small order size isn’t dangerous anymore(imagine a DEX with an empty sell side order book). Another use case is for security tokens to utilize Uniswap to pay out dividends.

For the astute reader, this model is very similar to the Bancor network which launched last year. However, Uniswap charges no listing fee, costs significantly less gas, and is more decentralized. Bancor requires staking BNT tokens to create a market, along with filling out an application form. The BNT token is also susceptible to being frozen at will. Uniswap contains no such frictions. Uniswap will run in perpetuity as long as the Ethereum network is running.

Currently Uniswap has less than a couple thousand ETH of liquidity spread across all its contracts, so we’re still in the early days. And Uniswap is unlikely to replace other types of DEXes due to whales wanting to trade large size orders. Its unique capabilities, however, will definitely lead to a lot of usage for everyday traders who are looking to get quick and easy access to various tokens.

Big shoutout and thanks to Hayden Adams, Ameen Soleimani, Linda Xie, and Jordan Clifford for their valuable feedback.

Cyrus Younessi is Director of Research and Trading at Scalar Capital Management, LLC, an investment manager focused on cryptographic and blockchain related assets. Scalar Capital holds or may invest in the assets or asset classes described in this article.

Last updated