UniFi is a based rollup solution designed to enhance Ethereum's scalability while maintaining its core principles.
A based rollup is an L1-sequenced rollup that leverages Ethereum's existing validator set for block production, offering improved liveness guarantees and simplified architecture compared to traditional rollups.
This repository contains all the pieces that make up UniFi.
Pre-confs are a mechanism in Ethereum where validators commit to including transactions in their blocks before proposing them to L1. This process significantly improves user experience by providing near-instant transaction confirmations (~100ms instead of 12s).
The UniFi AVS is the core component of our based rollup solution. It's an Eigenlayer AVS and is managed primarily through the UniFiAVSManager contract, which handles critical functions such as:
- Registration and deregistration of operators and validators
- Implementation of the pre-confirmation system for faster transaction finality
- Slashing mechanism to ensure accountability
- Rewards distribution for distributing validator rewards
To learn more about the UniFi AVS components and how to interact with the AVS contracts, check the documentation here.
UniFi AVS integrates Commit-Boost, an open-source component that enhances proposer commitment protocols. This integration allows for standardization and easier implementation of pre-confirmation services.
Validators participating in UniFi AVS run Commit-Boost alongside their standard validator stack. This setup enables seamless participation in the pre-confirmation process while maintaining regular validation duties.
For detailed information on deployments (Mainnet, Testnet, etc.) and ABIs, please check our Deployments and ACL doc.
- Audit reports will be listed here once available.
- Clone this repository
- Install dependencies:
yarn install
- Run tests:
cd l1-contracts/ && forge test
UniFi AVS is designed with a strong commitment to neutrality. It ensures permissionless participation, integrates with a neutral registry, and avoids requiring specific governance tokens for participation.