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
Copy file name to clipboardExpand all lines: docs/cdk/concepts/dac.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
Data availability in blockchain technology refers to whether or not transaction data is available on-chain or off-chain.
1
+
Data availability in blockchain technology refers to whether or not transaction data is available on-chain or off-chain.
2
2
3
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
@@ -14,13 +14,13 @@ A DAC is an off-chain network of nodes that implements a data storage layer in a
14
14
-**Lower transaction fees**: Reduced computational requirements lead to lower fees and faster finality on the main network.
15
15
-**Privacy and security**: The DAC stores secure and private transaction data.
16
16
-**Trustless**: Data owners do not have to trust the blockchain operator.
17
-
-**Scalable**: Decoupling data storage from the main chain supports more scalable networks.
17
+
-**Scalable**: Decoupling data storage from the main chain supports more scalable networks.
18
18
19
19
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.
20
20
21
21
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.
22
22
23
-
The CDK validium DAC is a secure consortium of nodes that ensures off-chain data access.
23
+
The CDK validium DAC is a secure consortium of nodes that ensures off-chain data access.
24
24
25
25
## DAC data flow
26
26
@@ -40,4 +40,4 @@ The DAC works together with the sequencer to control the flow of data. The proce
40
40
41
41
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.
42
42
43
-
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.
43
+
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.
Rollups are blockchain layer 2 scaling solutions that speed up the network by *rolling up* multiple transactions into batches which are eventually committed to the layer 1.
1
+
Rollups are blockchain layer 2 scaling solutions that speed up the network by *rolling up* multiple transactions into batches which are eventually committed to the layer 1.
2
2
3
3
CDK provides zkEVM rollup solutions.
4
4
5
5
!!! info "Recommended resource"
6
-
See Ethereum.org's detailed [description of zero-knowledge rollups](https://ethereum.org/en/developers/docs/scaling/zk-rollups/).
6
+
See Ethereum.org's detailed [description of zero-knowledge rollups](https://ethereum.org/en/developers/docs/scaling/zk-rollups/).
Copy file name to clipboardExpand all lines: docs/cdk/get-started/deploy-rollup.md
-1Lines changed: 0 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,4 +4,3 @@
4
4
## Deploy a CDK rollup locally
5
5
6
6
The [zkEVM deployment quickstart documentation](../../zkEVM/get-started/deploy-zkevm/index.md) shows you how to deploy a zkEVM rollup on your local machine.
Copy file name to clipboardExpand all lines: docs/cdk/get-started/quickstart-validium.md
+9-7Lines changed: 9 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,6 +26,7 @@ cd zkValidium-quickstart
26
26
```
27
27
28
28
Create the `.env` file by copying the example:
29
+
29
30
```bash
30
31
cp .env.example .env
31
32
```
@@ -93,6 +94,7 @@ zkevm-bridge-service /bin/sh -c /app/zkevm-brid ... Up
93
94
0.0.0.0:9090->9090/tcp,:::9090->9090/tcp
94
95
zkevm-bridge-ui /bin/sh /app/scripts/deploy.sh Up 0.0.0.0:8088->80/tcp,:::8088->80/tcp
95
96
```
97
+
96
98
</details>
97
99
98
100
2.3.1 If a service isn't running (i.e. it is in `Exit 1` state), investigate further using the logs:
@@ -123,7 +125,7 @@ sudo make restart
123
125
124
126
## 3. Test validium
125
127
126
-
3.1 Verify the block explorer is running by navigating to [localhost:4001](http://localhost:4001/).
128
+
3.1 Verify the block explorer is running by navigating to [localhost:4001](http://localhost:4001/).
127
129
128
130
You should see a page similar to this:
129
131
@@ -135,8 +137,8 @@ You should see a page similar to this:
135
137
136
138
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
139
138
-
- Set the chain ID to **1001**.
139
-
- The currency symbol can be anything but we will use **POL** by default.
140
+
- Set the chain ID to **1001**.
141
+
- The currency symbol can be anything but we will use **POL** by default.
140
142
- The RPC node and block explorer containers can be found at ports **8123** and **4001**, respectively.
141
143
142
144
<divalign="center">
@@ -191,7 +193,7 @@ CDK has a native bridge with UI that allows you to transfer funds between the L1
191
193
192
194
5.1.2 Switch to the L1 network and you will see the previously imported account with ~999 POL on the L1 chain.
193
195
194
-
5.1.3 Verify the bridge UI by navigating to [localhost:8088](http://localhost:8088/).
196
+
5.1.3 Verify the bridge UI by navigating to [localhost:8088](http://localhost:8088/).
195
197
196
198
5.1.4 Click on **Connect a wallet > MetaMask**.
197
199
@@ -205,7 +207,7 @@ CDK has a native bridge with UI that allows you to transfer funds between the L1
Copy file name to clipboardExpand all lines: docs/cdk/how-to/manage-allowlists.md
+3-4Lines changed: 3 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ Managing allowlists, denylists, and ACLs is done with policies.
5
5
6
6
## Policy overview
7
7
8
-
A **policy** is a set of rules that govern what actions are allowed or denied in the transaction pool.
8
+
A **policy** is a set of rules that govern what actions are allowed or denied in the transaction pool.
9
9
10
10
-**Fine-grained control**: Developers can specify policies at a granular level, allowing or denying specific actions for specific addresses.
11
11
-**Dynamic updates**: Policies and ACLs can be updated on-the-fly without requiring a node restart.
@@ -21,7 +21,7 @@ Currently, there are two defined policies:
21
21
-**SendTx**: governs whether an address may send transactions to the pool.
22
22
-**Deploy**: governs whether an address may deploy a contract.
23
23
24
-
The CDK validium node offers policy management features that include allowlisting[^1], denylisting[^2], and access control lists (ACLs)[^3]. These features are beneficial for validium-based app-chains that require fine-grained control over transaction pools.
24
+
The CDK validium node offers policy management features that include allowlisting[^1], denylisting[^2], and access control lists (ACLs)[^3]. These features are beneficial for validium-based app-chains that require fine-grained control over transaction pools.
|**Infrastructure**| Standard infrastructure | Dedicated infrastructure for data availability layer and DACs |
14
-
| **Tx flow** | All transaction data is published on L1 | Validium only publishes the hash of the transaction data to L1. The sequencer sends both the hash and the transaction data to the DAC for verification. Once approved, the hash+signatures are sent to the Consensus L1 contract of the validium protocol.
14
+
| **Tx flow** | All transaction data is published on L1 | Validium only publishes the hash of the transaction data to L1. The sequencer sends both the hash and the transaction data to the DAC for verification. Once approved, the hash+signatures are sent to the Consensus L1 contract of the validium protocol.
15
15
|**Security**| High security due to on-chain data availability and zero-knowledge proofs. |Off-chain data availability can affect security if the sequencer goes offline or if DAC members collude to withhold state data. |
16
16
|**Gas fees**| High, because all transaction data is stored on Ethereum. | Low, because only the hash of the transaction data is stored on Ethereum. |
17
17
|**Proof generation**| Uses Prover to generate proofs of batched transactions for validation. | Uses Prover to generate proofs of batched transactions for validation. |
18
18
|**Final settlement**| Transaction batches and their corresponding proofs are added to the Ethereum state. | The hash of transaction data and its proof are added to the Ethereum state, referred to as the consolidated state. |
19
19
20
-
<sub><sup>*</sup>JSON RPC, Pool DB, Sequencer, Etherman, Synchronizer, State DB, Aggregator, Prover</sub>
20
+
<sub><sup>*</sup>JSON RPC, Pool DB, Sequencer, Etherman, Synchronizer, State DB, Aggregator, Prover</sub>
Copy file name to clipboardExpand all lines: docs/cdk/welcome.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ This section documents the two most popular deployments currently supported by C
5
5
- Validium
6
6
- Rollup
7
7
8
-
Users select a chain architecture specific to their needs from a set of supported, open source options. Alternatively, users can select custom components for specific requirements.
8
+
Users select a chain architecture specific to their needs from a set of supported, open source options. Alternatively, users can select custom components for specific requirements.
9
9
10
10
!!! important "Why are there zkEVM docs in the CDK section?"
11
11
Several of the docs point to zkEVM specific deployment documentation because the rollup flavor of CDK uses zkEVM deployment defaults.
0 commit comments