Skip to content

okx/xlayer-data-availability

 
 

Repository files navigation

XLayer Data Availability

Data Availability Layer for XLayer Validium

The xlayer-data-availability project is a specialized Data Availability Node (DA Node) that is part of XLayer's CDK (Chain Development Kit) Validium.

Overview of Validium

The XLayer Validium solution is made up of several components; start with the XLayer Node. For quick reference, the complete list of components are outlined below:

Component Description
XLayer Node Node implementation for the XLayer networks in Validium mode
XLayer Contracts Smart contract implementation for the XLayer networks in Validium mode
XLayer Data Availability Data availability implementation for the XLayer networks
Prover / Executor zkEVM engine and prover implementation
Bridge Service Bridge service implementation for XLayer networks

Introduction

As blockchain networks grow, the volume of data that needs to be stored and validated increases, posing challenges in scalability and efficiency. Storing all data on-chain can lead to bloated blockchains, slow transactions, and high fees.

Data Availability Nodes facilitate a separation between transaction execution and data storage. They allow transaction data to reside off-chain while remaining accessible for validation. This significantly improves scalability and reduces costs. Within the framework of XLayer's CDK, Data Availability Committees (DAC) members run DA nodes to ensure the security, accessibility, and reliability of off-chain data.

To learn more about how the data availability layer works in the validium, please see the CDK documentation here.

Off-Chain Data

The off-chain data is stored in a distributed manner and managed by a data availability committee, ensuring that it is available for validation. The data availability committee is defined as a core smart contract, available here. This is crucial for the Validium model, where data computation happens off-chain but needs to be verifiable on-chain.

Running

Instructions on how to run this software can be found here

License

The xlayer-node project is licensed under the GNU Affero General Public License free software license.

Packages

No packages published

Languages

  • Go 97.2%
  • Makefile 2.4%
  • Other 0.4%