roundedWritten by: 100y Compiled by: Yangz, Techub News   A few years ago, I predicted the possibility of Uniswap developing its own network, but I thought it was unlikely at the time due to potential user experience issues. However, just last night, Uniswap officially announced the launch of its own L2 solution Unichain, and my prediction was immediately overturned.   Although Unichain's white paper is only three pages, a closer look will reveal that it is a masterpiece. It brings together Uniswap's long-standing focus on user experience, Flashbots' latest MEV research, and the huge ecosystem built by OP-Stack. Although the content is brief, the white paper touches on complex topics such as TEE, prioritization, and MEV tax, which may be challenging for readers who are not familiar with the basics of MEV. Therefore, this article aims to quickly and simply decompose the main functions of Unichain to facilitate readers' understanding.   Problems with Uniswap   Uniswap is the leading AMM DEX in the Ethereum ecosystem, currently deployed to 25 networks with a total TVL of approximately US$4.5 billion. Although Uniswap has been regarded as one of the most successful protocols, it still faces the limitations of the networks it runs on. For example, although Ethereum provides huge liquidity, it suffers from low scalability and susceptibility to malicious MEV (maximum extractable value). Various Rollup solutions have emerged to address these issues, but most Rollups are currently operated by a single sorter, which is prone to potential single points of failure such as validity failure and censorship. In addition, the block construction process of Ethereum and Rollup involves a public mempool, which creates an environment for users (searchers) to extract MEV (for good or bad) from other users. In addition, due to the structure of the MEV value chain, there is an imbalance in which proposers can obtain different proportions of value while users cannot benefit. Enter Unichain OverviewUnichain is an Ethereum Optimistic Rollup based on OP Stack, launched by Uniswap, Flashbots, OP Labs and Paradigm, to solve the above problems. Unichain provides several key advantages through verifiable block construction and the Unichain Verification Network (UVN):

  • Quick status updates

  • Enable applications to extract and internalize MEV

  • Fast settlement through rapid economic closing

 

In addition to being an upgraded version based on OP Stack, Unichain also plans to participate in Optimism's Superchain ecosystem. In addition to its native fast settlement function, the integration is expected to provide users with a seamless liquidity experience through cross-chain solutions in the Superchain ecosystem.

 

Next, let’s take a closer look at how Unichain brings the above advantages.

 

Verifiable Block Construction

 

Verifiable block construction is achieved through Rollup-Boost, a feature developed in collaboration with Flashbots. Rollup-Boost provides two key features including Flashblocks and verifiable prioritization. Similar to MEV-Boost, Rollup-Boost is also available as auxiliary software.

 

Flashblocks

 

 

Flashblocks are a type of pre-confirmation issued by the TEE builder (which we will explore in more detail below). Unichain generates partial blocks, splitting a single block into four parts, each of which is generated every 250 milliseconds and sent to the sequencer.

 

The sorter continuously downloads these partial blocks while executing transactions, providing users with early execution confirmation. The sorter guarantees that these partial blocks will be included in the final proposed block. This process speeds up state updates, reduces latency, improves user experience, and reduces malicious MEVs.

 

Verifiable Prioritization

 

 

Priority Ordering

 

Prioritization is a block construction mechanism proposed by Dan Robinson and Dave White of Paradigm. It assumes that block proposers only order transactions based on priority fees, without engaging in censorship or delaying actions. This model is only feasible when there is a single or trusted block proposer. In a competitive environment like Ethereum L1, where there are multiple proposers building blocks, priority ordering is not feasible.

 

The purpose of prioritization is to allow DApps on the mainnet to levy a MEV tax on transactions that interact with them, thereby extracting some of the MEV value. This value can be used internally by the DApp or redistributed to users. The MEV tax is a fee imposed on transactions by the smart contract and can be set as a function of the transaction priority fee. Below is a simple example.

 

100y, a DEX on Unichain, wants to extract MEV directly from MEV transactions on its exchange. Since it knows that blocks on Unichain are built using priority ordering, this means that the MEV value of any transaction is determined entirely by its priority fee. Assume that 100y sets a MEV tax equal to 99 times the transaction priority fee. So, if an arbitrage opportunity worth 100 ETH arises, what is the maximum priority fee that a MEV seeker needs to submit to extract that MEV? The answer is 1 ETH. Setting the priority fee to 1 ETH results in a MEV tax of 99 ETH, for a total of 100 ETH. If the seeker sets a priority fee higher than 1 ETH, the total cost will exceed 100 ETH, resulting in a loss. Therefore, 100y can only capture a maximum of 99 ETH of the 100 ETH MEV value.

 

As for ordinary users who do not capture MEV value, the priority fee is set lower, which means that 100y does not capture value from these transactions. Instead, it only captures the MEV value represented by the priority fee. This setup allows applications on Unichain to directly extract MEV, opening up a variety of potential use cases.

 

Verifiability through TEE

 

The key here is to ensure that the entity responsible for block construction uses the prioritization mechanism. To this end, Unichain takes two measures. First, it separates the sequencer and the block builder, similar to the PBS model. Second, it forces block builders to use a TEE (Trusted Execution Environment), allowing anyone to verify that the prioritization mechanism is being used.

 

 

A TEE is a secure area in hardware such as a CPU that runs independently from the rest of the system and can securely process sensitive data. A TEE ensures that trusted code runs securely, even if the external environment is compromised. Prominent examples include ARM's TrustZone and Intel's SGX. A common example is how biometric data on mobile devices, such as fingerprint or facial recognition, is processed within a TEE.

 

This design prevents even the operating system or programs with administrator privileges from accessing the secure area. To ensure that the code running in the TEE is trustworthy, a verification process is used. This verification ensures that the TEE is always secure and has not been tampered with. For example, in Intel SGX, a hash value is generated to represent the code and data in SGX, and a hardware-managed private key proves the integrity of the code.

 

Unichain's block construction process is carried out in a trusted execution environment for TEE builders. Due to the characteristics of TEE, these builders can initially submit a proof to prove to users that they are using a prioritized block construction mechanism. This combination of features ensures that applications on Unichain can reliably extract a portion of MEV revenue.

 

Unichain Verification Network (UVN)

 

 

The Unichain Verification Network is a decentralized network of node operators responsible for verifying the latest state of Unichain and providing fast finality, enabling seamless cross-chain transactions through economic security. This concept is similar to AltLayer's MACH (using EigenLayer for fast finality), Nuffle's fast finality layer, and Symbiotic's recent fast finality concept.

 

To become a decentralized node of Unichain, participants must stake UNI on the Ethereum mainnet. Each epoch, the node with the highest staked UNI balance will be selected into the active node set and participate in validation by running the Reth Unichain client. In addition, similar to other networks, UNI holders can choose to delegate their stake.

 

Summarize

 

As a DApp, Uniswap has achieved strong product-market fit, and I am positive about its transition to an Ethereum-based application-specific L2, especially as it seeks to expand its ecosystem. However, liquidity fragmentation remains a challenge, and it will be important to see how the Uniswap team can provide a seamless cross-chain trading experience between Ethereum L1 and Unichain L2.

 

From an investment perspective, UNI tokens will now be used as collateral for UVN. Considering the strong performance of re-staking protocols such as EigenLayer, Symbiotic, and Karak, we can expect a large amount of UNI to be deposited into UVN, which will greatly promote the value accumulation of UNI. Since Unichain's announcement, UNI has risen by about 12% and entered the top 20 market cap rankings. Given that UNI's market cap is already high compared to other tokens, it will be interesting to further understand the impact of UNI staking on its future price.