Docs
Rooch Network

Rooch Network

Rooch Network provides robust, all-in-one services for Web3 DApps to easily and flexibly deploy. This allows Web3 developers to focus on building cool stuff without worrying about infrastructure.

Hello

Execution Layer

The Execution Layer consists of all the DApps using Rooch as containers and a smart contract execution environment.

Depending on the scenarios and resource requirements, there are three types of usage for Rooch:

  • General Purpose Platform - We will launch and maintain a Rooch instance that serves as a general purpose smart contract platform. DApps and developers will be able to deploy their smart contracts directly onto an existing platform. The development experience will be just like working on a Layer1 blockchain but with much higher TPS, lower Gas Fees, and larger and more convenient storage.
  • DApp Specific Platform - DApps that want to have a customized platform can launch a dedicated Rooch instance, where builders can define customized and other specialized features such as tokenomics.
  • Sector Specific Platform - Web3 builders who want to develop and scale their ecosystem with multiple DApps can also launch a Rooch instance where assets and functionalities of different DApps will have seamless interoperability and users can share accounts and profiles across different ecosystem DApps.

Network Middleware

The Rooch Network has several essential middleware services that are in charge of processing transactions and states for all the Rooch instances on the execution layer. Each of the services is based on the same core Rooch implementations.

  • Sequencer - The Sequencer is in charge of verifying incoming transactions and ordering them. The ordered transactions will be submitted to the DA Chain and Proposer.
  • Challenger - The Challenger is the guardian of the Rooch Layer2 network. It constantly monitors the transaction stream and also executes them to calculate state transitions. If the calculated state result does not match with the proposed state to the Arbitration Layer, the Challenger shall request the fraud proofs and submit them for arbitration. (See Fraud Proof for more information).
  • ZK Prover - The ZK Prover generates ZK Proofs for state transitions based on the batched transactions. The Proof will be sent to the Arbitration Layer to optimize the challenge period required by the security mechanism. (See Hybrid Security with ZK Proof for more information).
  • Proposer - The Proposer is responsible for executing all the ordered transactions and committing the resulting state to the Arbitration Layer.

DA Layer

The importance of DA (Data Availability) is to ensure anyone can get access to all the transactions that occurred in the off-chain environment.

Rooch Network will adopt a third-party solution to ensure the availability of the transactions and to maintain a high TPS. We are still researching different candidates, which include Celestia (opens in a new tab)Eigenlayer (opens in a new tab)Polygon Avail (opens in a new tab), and Arweave (opens in a new tab).

Arbitration Layer

The Arbitration Layer acts as the "court" for arbitrating and verifying all state transitions that happened in different Rooch instances containing different DApps.

In the Rooch Network, Ethereum takes the role of the arbitration layer and will be the sole source of security for all DApps in the Rooch Ecosystem. The rationale here is that Ethereum has the highest practical attack cost, measured by its market cap.

On Ethereum, there are three smart contracts serving different roles:

  • Fraud Proof Arbitration contract - This contract accepts fraud proofs and emulates the execution of the state transition to make a decision on slashing.
  • ZK Verifier contract - This contract is responsible for verifying the ZK Proofs submitted by the ZK Prover.
  • State Commitment Chain - This contract keeps a chain of record of all the states committed by the Proposer.

Settlement Layer

The Settlement Layer provides state settlement for all Rooch-based DApps. Every DApp using Rooch as the execution environment will be able to migrate assets (i.e., tokens) between their DApp and different Layer1s.

The Rooch Network supports integrating arbitrary Layer1s to be a part of the Settlement Layer, all using Ethereum as the source of security guarantee. (See Multi-Chain Settlement for more information).