You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Data availability in blockchain technology refers to whether or not transaction data is available on-chain or off-chain.
3
2
3
+
If data is available on-chain, then each node has to store every piece of data related to every transaction. This can be costly for node operators as hardware and storage requirements are high. Moving data off-chain streamlines node architecture and operations.
4
4
5
-
A data availability committee (DAC) is an optional offchain network of nodes that provides data to a blockchain network. The advantages are:
5
+
!!! info "Recommended resource"
6
+
See Ethereum.org's discussion on [data availability](https://ethereum.org/en/developers/docs/data-availability/).
6
7
7
-
-**Lower transaction fees**: Reduced computational requirements lead to lower fees.
8
-
-**State privacy**: A secure copy of state transitions ensures data integrity and privacy.
8
+
## What is a validium?
9
9
10
-
DACs store the data required to reconstruct the state of the blockchain and make that data accessible so that, if the blockchain goes down, users can still access their assets and data.
10
+
Validiums are blockchain solutions that do not store transaction data.
11
11
12
-
Delegating blockchain data to a DAC in this way can be costly. However, a DAC improves finality and thus supports Enterprise use cases which require cheap and fast transactions with a private and secure data layer.
12
+
!!! info "Recommended resource"
13
+
See Ethereum.org's glossary [definition of validiums](https://ethereum.org/en/developers/docs/scaling/validium/).
14
+
15
+
## What is a DAC?
16
+
17
+
Polygon's CDK validium has an optional data availability committee (DAC).
18
+
19
+
A DAC is an off-chain network of nodes that implements a data storage layer in a modular chain architecture like CDK. Some advantages are:
20
+
21
+
-**Lower transaction fees**: Reduced computational requirements lead to lower fees and faster finality on the main network.
22
+
-**Privacy and security**: The DAC stores secure and private transaction data.
23
+
-**Trustless**: Data owners do not have to trust the blockchain operator.
24
+
-**Scalable**: Decoupling data storage from the main chain supports more scalable networks.
25
+
26
+
DACs store the data required to reconstruct the state of the blockchain and make that data accessible so that, if the main blockchain network goes down, users can still access their assets and data.
27
+
28
+
Setting up a DAC can be costly and therefore DACs mostly support Enterprise use cases which require cheap and fast transactions with a private and secure data layer.
13
29
14
30
The CDK validium DAC is a secure consortium of nodes that ensures off-chain data access.
15
31
@@ -31,5 +47,4 @@ The DAC works together with the sequencer to control the flow of data. The proce
31
47
32
48
6.**Verification on Ethereum**: A designated smart contract on Ethereum verifies the submitted signatures against a list of valid DAC members and confirms that sufficient approval has been provided for the batch hash.
33
49
34
-
7.**Final settlement with zero-knowledge proof**: The aggregator prepares a proof for the batch via the prover and submits it to Ethereum. This proof confirms the validity of the batch's transactions without revealing their details. The chain state updates on Ethereum.
35
-
50
+
7.**Final settlement with zero-knowledge proof**: The aggregator prepares a proof for the batch via the prover and submits it to Ethereum. This proof confirms the validity of the batch's transactions without revealing their details. The chain state updates on Ethereum.
Copy file name to clipboardExpand all lines: docs/cdk/get-started/quickstart-validium.md
+28-22Lines changed: 28 additions & 22 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,8 +1,5 @@
1
1
This quickstart guides you through the process of setting up a CDK validium on your local machine.
2
2
3
-
!!! danger "Is it true?"
4
-
Please note that the current Data Availability (DA) configuration in Polygon CDK is using a Data Availability Committee (DAC) node with a local Geth client as the L1. However, the integration with Layer 1 testnets, including Sepoilla, is actively being pursued.
5
-
6
3
## Prerequisites
7
4
8
5
### System requirements
@@ -12,7 +9,7 @@ This quickstart guides you through the process of setting up a CDK validium on y
12
9
- An AMD64 architecture system.
13
10
14
11
!!! warning
15
-
CDK does not support ARM-based Macs
12
+
CDK does not support ARM-based Macs.
16
13
17
14
### Software requirements
18
15
@@ -41,7 +38,7 @@ cp .env.example .env
41
38
sudo docker-compose pull
42
39
```
43
40
44
-
2.2 After pulling the images, start your local CDK Validium:
41
+
2.2 After pulling the images, start your local CDK validium:
45
42
46
43
```bash
47
44
sudo make run
@@ -98,7 +95,7 @@ zkevm-bridge-ui /bin/sh /app/scripts/deploy.sh Up
98
95
```
99
96
</details>
100
97
101
-
2.3.1 If a service isn't running (i.e. it is in Exit 1 state), investigate further using the logs:
98
+
2.3.1 If a service isn't running (i.e. it is in `Exit 1` state), investigate further using the logs:
102
99
103
100
```bash
104
101
sudo docker-compose logs <container_name>
@@ -121,6 +118,9 @@ To restart all services:
121
118
sudo make restart
122
119
```
123
120
121
+
!!! note
122
+
This local deployment runs on an L1 Geth instance.
123
+
124
124
## 3. Test validium
125
125
126
126
3.1 Verify the block explorer is running by navigating to [localhost:4001](http://localhost:4001/).
@@ -131,7 +131,7 @@ You should see a page similar to this:
4.1 Follow MetaMask's instructions on [how to set up a network manually](https://support.metamask.io/hc/en-us/articles/360043227612-How-to-add-a-custom-network-RPC).
137
137
@@ -159,6 +159,9 @@ You should see a page similar to this:
5.12 Click **Finalise** and approve the transaction (Note: MetaMask will pop up a window to ask you to switch to the L1 network first). Then you will see this once the bridging is completed:
246
+
5.2.4 Click **Finalise** and approve the transaction (Note: MetaMask will pop up a window to ask you to switch to the L1 network first). Then you will see this once the bridging is completed:
0 commit comments