The xlayer-data-availability project is a specialized Data Availability Node (DA Node) that is part of Polygon's CDK (Chain Development Kit) Validium.
For a full overview of the Polygon CDK Validium, please reference the CDK documentation.
The CDK Validium solution is made up of several components; start with the CDK Validium Node. For quick reference, the complete list of components are outlined below:
Component | Description |
---|---|
CDK Validium Node | Node implementation for the CDK networks in Validium mode |
CDK Validium Contracts | Smart contract implementation for the CDK networks in Validium mode |
CDK Data Availability | Data availability implementation for the CDK networks |
Prover / Executor | zkEVM engine and prover implementation |
Bridge Service | Bridge service implementation for CDK networks |
Bridge UI | UI for the CDK networks bridge |
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 Polygon'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.
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.
Instructions on how to run this software can be found here
For more discussions, please head to the R&D Discord
The cdk-validium-node project is licensed under the GNU Affero General Public License free software license.