Official Interpretation of UniswapX and How Does UniswapX Work

UniswapX Official Interpretation & Functionality

Author: Uniswap blog; Translator: LianGuai0xxz

Since the launch of the first version of the Uniswap protocol in 2018, on-chain transactions have grown explosively, with support for millions of users, hundreds of use cases, and $1.5 trillion in trading volume on Uniswap alone.

To further develop on-chain transactions and improve self-custodial swaps, Uniswap is pleased to announce the launch of a new permissionless, open-source (GPL), Dutch auction-based protocol for trading across AMMs and other liquidity sources.

On July 17, 2023, we introduced an optional test version of the UniswapX protocol on the Uniswap Labs interface, which is applicable to the Ethereum mainnet and will be expanded to other chains and Uniswap wallets in the future.

UniswapX is optional in the settings

UniswapX will improve swaps in multiple ways:

  • Get better prices through aggregated liquidity sources

  • Gasless swaps

  • Prevent MEV (Miner Extracted Value)

  • No cost for failed transactions

  • In the coming months, UniswapX will expand to gasless cross-chain swaps.

Aggregation at the next level

On-chain routing is an increasingly important and complex problem. Innovations in on-chain transactions have led to explosive growth in liquidity pools. New fee tiers, new L2 solutions, and more on-chain protocols will result in fragmented liquidity.

In the future, it is expected that thousands of custom pools will be designed and built on Uniswap v4, making routing more challenging. However, as liquidity sources grow, providing competitive prices requires manual integration and extensive ongoing maintenance and work.

UniswapX aims to address this problem by outsourcing routing complexity to third-party fillers (note: anyone can become a third-party filler for UniswapX swaps), who then compete using AMM pools or their own private inventory of on-chain liquidity to complete swaps.

With UniswapX, swappers will be able to use the Uniswap interface without worrying about getting the best prices, and transactions will always be transparently recorded and settled on-chain. All orders are supported by the Uniswap smart order router, which forces Swap Fillers to compete with Uniswap v1, v2, v3, and future v4.

Understanding how UniswapX works in one graph

Gasless Swaps – No cost for failed transactions

With UniswapX, the swapper signs a unique off-chain order, which is then submitted on-chain by the filler who pays the gas on behalf of the swapper. Because the swapper does not need to pay for gas, they do not need the native network token of the chain (such as ETH, MATIC) to trade or pay any fees for failed transactions. The filler includes the gas fee in the swap price but can lower transaction costs by competing for the best price through batching multiple orders.

In certain cases, users still need to pay gas, such as the initial token approval for Permit2. In addition, native network tokens need to be packaged when sold, which consumes gas fees.

MEV Protection

MEV is one of the biggest problems faced by on-chain exchanges today, leading to worse prices for traders.

With UniswapX, MEV that could have been captured through arbitrage trades is returned to traders by increasing the price. UniswapX also helps users avoid more explicit forms of MEV extraction: orders executed using the filler inventory cannot be sandwiched in the middle, and the filler is incentivized to use private transaction relays when routing orders to on-chain liquidity venues.

Future: UniswapX’s Move Towards Cross-Chain

A cross-chain version of UniswapX will be launched later in 2023, combining exchange and bridging into a seamless operation. With cross-chain UniswapX, traders will be able to swap between chains in a matter of seconds. Traders will also have the option to receive assets on the target chain, rather than specific bridge tokens.

Illustration of cross-chain transactions on UniswapX, Source: UniswapX Whitepaper

Launching UniswapX on the Uniswap Labs Interface

UniswapX brings the ideas and models of DeFi and digital markets into a new system, built on the same principles of security, self-custody, and community that have made Uniswap a trusted brand in DeFi.

UniswapX is an immutable smart contract that is fully permissionless. No one, including Uniswap Labs, can modify or pause the contract. The earliest fillers are on standby to ensure proper auction start prices and fast order execution, and the Filler network is expected to rapidly expand with user adoption.

In line with Uniswap’s commitment to security, the code has undergone extensive testing and auditing by ABDK and offers bug bounties. Traders always maintain self-custody of their funds. Assets are only transferred out of their accounts once orders are executed and they receive trading profits.

Like the Uniswap protocol, UniswapX includes a protocol fee switch that can only be activated by Uniswap governance (Uniswap Labs does not participate in this process).

We will continue to update Blocking; if you have any questions or suggestions, please contact us!

Share:

Was this article helpful?

93 out of 132 found this helpful

Discover more

Web3

Binance Launches Web3 Wallet: Your Passport to the Expansive World of Digital Assets

Binance, a leading cryptocurrency exchange, has just unveiled a new self-custody Web3 wallet that can be accessed dir...

Blockchain

Nuggets and Avalanches: A Tale of Crypto Adventures

Polygon's zkEVM is the reason why NFT sales have been able to remain strong despite recent slumps.

Market

Alchemy Pay takes the magic to Europe and the UK Expanding crypto payment options

Alchemy Pay, the popular cryptocurrency payment platform, has recently integrated the Euro Instant solution, as well ...

DeFi

Jellyverse: Funding the DeFi 3.0 Revolution

Fashionistas, you'll be excited to hear that Jellyverse not only offers portfolio management, but also houses JellySw...

Blockchain

The Avalanche AVAX Price Rally Soars to New Heights

The value of Avalanche's AVAX cryptocurrency has increased by an impressive 25% in a day, reaching a high of $22.57.

Market

Bakkt Receives SEC Approval for Universal Shelf Registration, Sets Stage for Future Growth 🚀

Great news! Bakkt has received approval from the SEC for its universal shelf registration in Form S-3. This will allo...