As DEXs struggle, new approaches kindle hope

Published at: Dec. 14, 2022

In May 2022, at the tail of the crypto bull market, economist Eswar Prasad wrote an op-ed for the Financial Times arguing that DeFi’s promise as a means of democratizing finance was a long way from being realized. In his words, “For all its promise in democratizing finance and broadening financial access, the emerging reality suggests a concentration of economic power, while the risks fall largely on those investors least able to handle them.”

Prasad is right that early DeFi projects catered almost exclusively to crypto natives, often called “degens” in Twitter parlance. However, he didn’t acknowledge that this is in fact a common pattern for any nascent industry crossing the chasm from fringe to mainstream adoption. New, transformative technology frequently starts out looking like a toy. The internet went through this same phase, as did many of its formative companies, such as Facebook, whose target audience grew from college students to anyone in the world with an internet connection.

This article explores how one foundational building block of DeFi — the decentralized exchange — emerged and continues to evolve from being a toy to a serious product that rivals traditional centralized exchanges.

The heart of DeFi — The decentralized exchange

At the core of any financial system, DeFi included, is the ability to exchange assets. In order for DeFi to rise from nothing to hundreds of billions of dollars in value, it required an easy way to trade tokens. This gave rise to the decentralized exchange, or DEX. The best example is  Uniswap, which is by far the most popular and successful DEX in DeFi.

The idea behind the exchange adheres to the tenets of DeFi: It serves as a transaction hub where users can exchange a variety of different currencies without the necessity of an intermediary. However, Uniswap acts as an automated market maker (or AMM), where users can trade against a smart contract acting as a counterparty.

While fulfilling those functions was enough for the platform to break out onto the world stage and carve out the biggest slice of the emerging market share — one that the exchange maintains today — Uniswap is not a perfect solution and the AMM model has several flaws.

The trade-off with AMMs

AMM exchanges pool the liquidity they get from liquidity providers, and employ algorithms to price their supported assets within that pool. This model proved hugely successful for Uniswap in its early days, as it allowed easy sourcing and aggregation of liquidity, against which trades were possible on Ethereum.

Source: Twitter

AMMs work great for two use cases: stable swaps between two stablecoins or price stable assets, and in the initial process of bootstrapping permissionless liquidity for long-tail assets. However, for use cases outside of these, AMMs are not ideal for either the liquidity provider or the trader.

For liquidity providers, AMMs can prove problematic due to toxic flaws where an overabundance of liquidity can get taken advantage of by arbitrageurs and impermanent loss risks. For traders, on the other hand, AMMs have another set of risks including MEV and slippage that can translate to significant losses.

On-chain settlement with off-chain pricing

The main issues with AMMs described above all owe to one simple fact: AMM-style exchanges price assets on chain. This means that smart contracts on Ethereum (or other chains) are required to determine the fair value of an asset via math formulas encoded on the chain. The beauty of this is that you need no additional infrastructure to facilitate a trade. However, the trade-off is that price discovery becomes muddled and a bevy of problems stemming from manipulating prices via transaction ordering end up impacting users.

An alternative approach is the RFQ (request-for-quote) model that allows users to get quotes directly from market makers and trade with zero slippage and full MEV protection. Instead of pricing assets on chain, RFQ-style exchanges handle the settlement and swapping of assets on the blockchain, but enable off-chain actors to price assets. This latter distinction enables far more capital efficiency as well, helping bring in market makers and traditional players unable to provide liquidity via AMMs.

Hashflow, one of the top-10 DEXs by transaction volume, has made it its goal to simplify the decentralized exchange experience with an eye to optimizing it for the retail user. Rather than employing an AMM system, Hashflow uses the RFQ model described above, and has demonstrated its success to the tune of over $11 billion transacted in just over a year.

Source: Hashflow trading metrics

Native, cross-chain swaps and the way forward

Beyond its model, Hashflow also introduces native cross-chain swaps. Hashflow was the first platform to introduce this technology and the end result is a reliable exchange model that is similar in practice to the more convenient experience offered by centralized exchanges, but carries with it all of the advantages that come with decentralized finance. Looking forward, after recently adding Wormhole’s messaging protocol, Hashflow will be integrating more non-EVM chains and introducing structured products along with limit orders.

If there is to be a true democratization of finance, DeFi as a whole needs to change and re-orient itself with retail users as its center of focus. To make that happen, platforms like Hashflow have taken steps to simplify and streamline the transaction process and make it less burdensome for the everyday user. Time will tell whether the rest of the industry follows suit.

Material is provided in partnership with Hashflow

Disclaimer. Cointelegraph does not endorse any content or product on this page. While we aim at providing you with all important information that we could obtain, readers should do their own research before taking any actions related to the company and carry full responsibility for their decisions, nor can this article be considered as investment advice.

Tags
Dex
Related Posts
Celo foundation proposes to deploy Uniswap V3 on its native blockchain
A new community proposal was introduced in the Uniswap governance forum to deploy the protocol on the Celo blockchain, which is a mobile-first, carbon-negative and Ethereum Virtual Machine-compatible network. The new proposal was created on behalf of Blockchain at Michigan, and in partnership with the Celo Foundation and the Celo Climate Collective. Once passed, Uniswap will be accessible to nearly six billion mobile phone users. Currently, MetaMask mobile app enables using Uniswap or other decentralized exchanges via an in-app browser. The Celo foundation will commit $10 million of CELO in Uniswap-specific user incentives and grants along with $10 million in …
Adoption / March 11, 2022
A feature allowing anonymous Uniswap trading has returned
Uniswap serves as a massive player in the decentralized finance, or DeFi, niche of the crypto space. Incognito, a blockchain focusing on crypto privacy, has reopened pUniswap, a way to participate on Uniswap privately. “Uniswap, Ethereum’s largest DEX, just went Incognito. Again,” Incognito announced in a blog post on Thursday. Aimed at enhancing the project, Incognito put pUniswap on hold back in September. Participating in the DeFi ecosystem often means interacting with the Ethereum blockchain, as many platforms operate on its network. That said, some folks value privacy. Without pUniswap, transactions on the DeFi exchange can be traced back to …
Decentralization / Dec. 10, 2020
DAOs, DEXs and whales? How Web3 organizations became the new crypto beasts
Web3 has brought a lot of excitement into the industry, as evidenced by the nearly $50 billion market capitalization Web3 tokens have grown in recent years. The very ethos of Web3 is one of its most attractive traits. It is an ecosystem free from barriers or intermediaries, welcoming to anyone from anywhere and open anytime. However, there is one massive problem: There is no infrastructure within decentralized finance (DeFi) robust enough to execute these large orders in an entirely decentralized manner, as the use of centralized exchanges contradicts the decentralized nature of the decentralized autonomous organization, or DAO. Let’s unpack …
Blockchain / May 15, 2022
1inch seeks to optimize gas costs with its new v5 router
According to 1inch, users' gas costs for swaps will be at least 10% lower than its previous offerings in the DEX segment, thereby, making swapping activity on the Ethereum network more profitable for its users. In the Router v5, 1inch estimated that swaps will be approximately 5% more gas efficient than in the previous version, and 10% more gas efficient, compared to the second best performing player in the DEX segment. New features and improvements made to the Router v5 from previous routers include; a new interaction logic, pre-/post-interactions, and an improved smart contract error processing system. The new edition …
Technology / Nov. 15, 2022
DeFi auditor nets $40,000 for identifying Uniswap vulnerability
Uniswap’s recently launched bug bounty program has led to the discovery of a now-fixed vulnerability of the protocol’s Universal Router smart contract. The automated market maker released two new smart contracts to its platform in November 2022. Permit2 allows token approvals to be shared and managed across different applications, while Universal Router unifies ERC-20 and nonfungible tokens (NFTs) swapping into a single swap router. Uniswap also advertised a lucrative bug bounty program to identify potential vulnerabilities in its smart contracts towards the end of 2022 as it looked to assure the safety and efficacy of its protocol. Smart contract security …
Blockchain / Jan. 4, 2023