Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
zjg555543 committed Nov 8, 2023
1 parent f6ba56e commit d2e1606
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 14 deletions.
22 changes: 11 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,32 +1,32 @@
# Xgon Data Availability
### Data Availability Layer for Xgon Validium
# XGON Data Availability
### Data Availability Layer for XGON Validium

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

## Overview of Validium
The Xgon Validium solution is made up of several components; start with the [Xgon Node](https://github.com/okx/Xgon-node). For quick reference, the complete list of components are outlined below:
The XGON Validium solution is made up of several components; start with the [XGON Node](https://github.com/okx/xgon-node). For quick reference, the complete list of components are outlined below:

| Component | Description |
| ----------------------------------------------------------------------------- | -------------------------------------------------------------------- |
| [Xgon Node](https://github.com/okx/Xgon-node) | Node implementation for the Xgon networks in Validium mode |
| [Xgon Contracts](https://github.com/okx/Xgon-contracts) | Smart contract implementation for the Xgon networks in Validium mode |
| [Xgon Data Availability](https://github.com/okx/Xgon-data-availability) | Data availability implementation for the Xgon networks |
| [Prover / Executor](https://github.com/okx/Xgon-prover) | zkEVM engine and prover implementation |
| [Bridge Service](https://github.com/okx/Xgon-bridge-service) | Bridge service implementation for Xgon networks |
| [XGON Node](https://github.com/okx/xgon-node) | Node implementation for the XGON networks in Validium mode |
| [XGON Contracts](https://github.com/okx/xgon-contracts) | Smart contract implementation for the XGON networks in Validium mode |
| [XGON Data Availability](https://github.com/okx/xgon-data-availability) | Data availability implementation for the XGON networks |
| [Prover / Executor](https://github.com/okx/xgon-prover) | zkEVM engine and prover implementation |
| [Bridge Service](https://github.com/okx/xgon-bridge-service) | Bridge service implementation for XGON 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 Xgon's CDK, Data Availability Committees (DAC) members run DA nodes to ensure the security, accessibility, and reliability of off-chain data.
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 XGON'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](https://wiki.polygon.technology/docs/cdk/dac-overview/).

### 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](https://github.com/okx/Xgon-contracts/blob/main/contracts/DataCommittee.sol). This is crucial for the Validium model, where data computation happens off-chain but needs to be verifiable on-chain.
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](https://github.com/okx/xgon-contracts/blob/main/contracts/DataCommittee.sol). This is crucial for the Validium model, where data computation happens off-chain but needs to be verifiable on-chain.

## License

Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,6 @@ require (
rsc.io/tmplfunc v0.0.3 // indirect
)

replace github.com/0xPolygonHermez/zkevm-node => github.com/okx/Xgon-node v0.2.6-RC3.0.20231023052616-8330009ec637
replace github.com/0xPolygonHermez/zkevm-node => github.com/okx/xgon-node v0.2.6-RC3.0.20231023052616-8330009ec637

replace github.com/0xPolygon/cdk-data-availability => ./
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -551,8 +551,8 @@ github.com/nats-io/nuid v1.0.1/go.mod h1:19wcPz3Ph3q0Jbyiqsd0kePYG7A95tJPxeL+1OS
github.com/nxadm/tail v1.4.4/go.mod h1:kenIhsEOeOJmVchQTgglprH7qJGnHDVpk1VPCcaMI8A=
github.com/nxadm/tail v1.4.8 h1:nPr65rt6Y5JFSKQO7qToXr7pePgD6Gwiw05lkbyAQTE=
github.com/nxadm/tail v1.4.8/go.mod h1:+ncqLTQzXmGhMZNUePPaPqPvBxHAIsmXswZKocGu+AU=
github.com/okx/Xgon-node v0.2.6-RC3.0.20231023052616-8330009ec637 h1:/ZxAgoMycmuVJ0tN6FjBGU1w0fsP4pAkoW3g2Z8VnIs=
github.com/okx/Xgon-node v0.2.6-RC3.0.20231023052616-8330009ec637/go.mod h1:n3w21Wec5I+ISPbcMhThQd/CPuzwpSjt7HEz1VwnoFo=
github.com/okx/xgon-node v0.2.6-RC3.0.20231023052616-8330009ec637 h1:KU4O/X+SpVmFIVsBk4eGH0hSd8VhWQW0GFeDUssEw1I=
github.com/okx/xgon-node v0.2.6-RC3.0.20231023052616-8330009ec637/go.mod h1:n3w21Wec5I+ISPbcMhThQd/CPuzwpSjt7HEz1VwnoFo=
github.com/olekukonko/tablewriter v0.0.5 h1:P2Ga83D34wi1o9J6Wh1mRuqd4mF/x/lgBS7N7AbDhec=
github.com/olekukonko/tablewriter v0.0.5/go.mod h1:hPp6KlRPjbx+hW8ykQs1w3UBbZlj6HuIJcUGPhkA7kY=
github.com/onsi/ginkgo v1.6.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE=
Expand Down

0 comments on commit d2e1606

Please sign in to comment.