Skip to content

Commit 78d0a46

Browse files
updated erigon docs
1 parent ae2d4b5 commit 78d0a46

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+1434
-16
lines changed

docs/cdk/concepts/rollup-vs-validium.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,10 @@ Using Ethereum to store transaction data is generally considered the most secure
1010

1111
Within the rollup category, there are further nuances to storing transaction data on Ethereum. Some rollups post serialized transaction data directly, whereas others post state differences instead. Some rollups use [calldata](https://docs.soliditylang.org/en/v0.8.26/types.html#data-location) to store transaction data, while others use more recent Ethereum features such as Blobs, introduced in [EIP-4844](https://www.eip4844.com/).
1212

13-
The CDK provides full flexibility to developers to choose what to do with transaction data, including the ability to build rollups that store data on Ethereum as a rollup like the Polygon zkEVM.
13+
The CDK provides full flexibility to developers to choose what to do with transaction data, including the ability to build rollups that store data on Ethereum as a rollup like the Polygon zkEVM.
14+
15+
!!! note
16+
Currently, the rollup mode of Polygon CDK does not support BLOB mode (EIP4844), but this functionality is coming soon.
1417

1518
## Validiums
1619

@@ -61,4 +64,4 @@ Below is a breakdown of the technical differences between a zkEVM rollup and val
6164
## Further reading
6265

6366
- [Ethereum documentation: rollups](https://ethereum.org/en/developers/docs/scaling/#rollups)
64-
- [Ethereum documentation: validiums](https://ethereum.org/en/developers/docs/scaling/validium/)
67+
- [Ethereum documentation: validiums](https://ethereum.org/en/developers/docs/scaling/validium/)

docs/cdk/erigon/deploy-cdk-erigon.md

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,17 @@
11
## Prerequisites
22

3-
### Hardware
3+
### Hardware requirements
44

5-
On x86, the following packages are required to use the optimal, vectorized-Poseidon-hashing for the sparse Merkle tree:
6-
7-
Linux: `libgtest-dev libomp-dev libgmp-dev`
8-
MacOS: `brew install libomp` `brew install gmp`
5+
* A Linux-based OS (e.g. Ubuntu 22.04 LTS).
6+
* At least 32GB RAM with a 4-core CPU.
7+
* Both Apple Silicon and AMD64 are supported.
98

109
!!! tip
10+
- On x86, the following packages are required to use the optimal, vectorized-Poseidon-hashing for the sparse Merkle tree:
11+
12+
- Linux: `libgtest-dev libomp-dev libgmp-dev`
13+
- MacOS: `brew install libomp` `brew install gmp`
14+
1115
- For Apple silicon, the `iden3` library is used instead.
1216

1317
### Software

docs/cdk/erigon/releases.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,16 @@
22

33
It is optimized for syncing with the Polygon zkEVM network.
44

5-
## Current status
5+
## Current chain/fork support status
66

77
At the time of writing, `cdk-erigon` supports the following chains and fork ids:
88

9-
- zkEVM Cardona testnet: beta support.
9+
- zkEVM Cardona testnet: full support.
1010
- zkEVM mainnet: beta support.
1111
- CDK chains: beta support (forkid.9 and above).
1212

1313
## Roadmap
1414

15-
- `v1.x.x`: Support for the Polygon Cardona testnet.
16-
- `v1.x.x`: Support for Polygon zkEVM mainnet.
15+
- `v1.1.x`: RPC (full support).
16+
- `v2.x.x`: Sequencer (full support).
1717
- `v3.x.x`: Erigon 3 based (snapshot support).

docs/cdk/how-to/connect-testnet.md

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
---
2+
comments: true
3+
---
4+
5+
## Stavanger
6+
7+
The [CDK Stavanger testnet](https://polygon.technology/cdk-stavanger-testnet) is a validium testnet based on Sepolia.
8+
9+
- Add the RPC network details to your wallet by navigating to the add network input and entering the data as given in the table below.
10+
- Use the faucet to get test ETH.
11+
- Bridge assets from Sepolia to Stavanger using the bridge.
12+
- Confirm your transactions with the block explorer.
13+
14+
!!! tips "Setting up your wallet"
15+
- Click **Connect wallet** on the [Stavanger explorer](https://sn2-stavanger-blockscout.eu-north-2.gateway.fm/) to auto set up your wallet.
16+
- Check out the latest on [setting up a custom network with MetaMask](https://support.metamask.io/hc/en-us/articles/360043227612-How-to-add-a-custom-network-RPC).
17+
18+
### Stavanger network details
19+
20+
| Name | Value | Usage |
21+
| ------- | ----------- | --------- |
22+
| JSON RPC | https://sn2-stavanger-rpc.eu-north-2.gateway.fm | Make remote procedure calls to the CDK testnet. |
23+
| Faucet | https://sn2-stavanger-faucet.eu-north-2.gateway.fm | Get testnet ETH |
24+
| Bridge | https://sn2-stavanger-bridge.eu-north-2.gateway.fm | Bridge tokens from Sepolia |
25+
| Block explorer | https://sn2-stavanger-blockscout.eu-north-2.gateway.fm | Confirm transactions with the explorer |
26+
| Chain id | 686669576 | Chain identification value |
27+
| Currency | ETH | Test token |
28+
29+
## Blackberry
30+
31+
The [Blackberry testnet](https://raas.gelato.network/rollups/details/public/polygon-blackberry) is a zero-knowledge-powered, layer 2 testnet based on Sepolia. It uses Polygon CDK for transaction validity while keeping transaction data off-chain using [DACs](https://docs.polygon.technology/cdk/glossary/#data-availability-committee-dac).
32+
33+
- Add the RPC network details to your wallet by navigating to the add network input and entering the data as given in the table below.
34+
- Obtain Sepolia ETH from the public faucets available.
35+
- Bridge assets from the Ethereum Sepolia network to Blackberry using the bridge service.
36+
- Confirm your transactions with the block explorer.
37+
38+
!!! tips "More information"
39+
- For more information on bridging and faucet services on Blackberry, head over to the [Gelato documentation](https://docs.gelato.network/rollup-public-testnet/faucets-and-bridging).
40+
41+
### Blackberry network details
42+
43+
| Name | Value | Usage |
44+
| -------------- | --------------------------------------------------------- | ------------------------------------------------------ |
45+
| JSON RPC | `https://rpc.polygon-blackberry.gelato.digital` | Make remote procedure calls to the Blackberry testnet. |
46+
| Faucet | `https://www.alchemy.com/faucets/ethereum-sepolia` | Obtain sepolia ETH |
47+
| Bridge | `https://bridge.gelato.network/bridge/polygon-blackberry` | Bridge assets from the ethereum sepolia network |
48+
| Block explorer | `https://polygon-blackberry.gelatoscout.com/` | Confirm transactions with the explorer |
49+
| Chain id | `94204209` | Chain identification value |
50+
| Currency | sETH | Test token |
972 KB
Loading
115 KB
Loading
56.4 KB
Loading
42.5 KB
Loading
56.8 KB
Loading
44 KB
Loading

0 commit comments

Comments
 (0)