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/zkEVM/get-started/deploy-zkevm/index.md
+19-19Lines changed: 19 additions & 19 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,13 +8,13 @@ However, in order to allow for in-between breaks, the process is aesthetically s
8
8
9
9
-[**Second step**](install-dependencies.md): Installing dependencies and downloading mainnet files.
10
10
11
-
-[**Third step**](create-wallets.md): Creating wallets and deploying Contracts.
11
+
-[**Third step**](create-wallets.md): Creating wallets and deploying contracts.
12
12
13
13
-[**Fourth step**](deploy-zknode.md): Deployment of the zkNode.
14
14
15
-
-[**Fifth step**](configure-prover.md): Configuring the Prover and Services.
15
+
-[**Fifth step**](configure-prover.md): Configuring the Prover and services.
16
16
17
-
-[**Sixth step**](setup-goerli-node.md): Activating forced txs and Bridging/claiming Assets.
17
+
-[**Sixth step**](setup-goerli-node.md): Activating forced txs and bridging/claiming assets.
18
18
19
19
!!!caution
20
20
Instructions in this document are subject to frequent updates as the zkEVM software is still in early development stages.
@@ -25,9 +25,9 @@ However, in order to allow for in-between breaks, the process is aesthetically s
25
25
26
26
Implementing the full stack Polygon zkEVM involves more than just running an RPC zkNode or the Prover to validate batches, and deploying Smart Contracts. In its entirety, it encompasses all these processes and more.
27
27
28
-
The common rollup actors, mainly from the zkNode view, are the **Sequencer**, the **Aggregator**, the **Synchroniser** and the JSON **RPC** node. All these affect the L2 **State**.
28
+
The common rollup actors, mainly from the zkNode view, are the Sequencer, the Aggregator, the Synchroniser and the JSON RPC node. All these affect the L2 State.
29
29
30
-
Also, the Aggregator uses the **Prover** to avail verifiable proofs of sequenced batches. And the sequenced batches are composed of transactions taken from the **Pool DB**.
30
+
Also, the Aggregator uses the Prover to avail verifiable proofs of sequenced batches. And the sequenced batches are composed of transactions taken from the Pool DB.
31
31
32
32
This highlights just a few main components. The rest of the zkEVM components and those working in the background, are listed in the next subsection.
33
33
@@ -70,14 +70,14 @@ Since the zkEVM implementation involves running Docker containers, ensure that a
70
70
71
71
Here's how to get setup;
72
72
73
-
For _Linux machines_, Install **Docker engine** directly on the machine.
73
+
For Linux machines, install the Docker engine directly on the machine.
74
74
75
-
For other _Operating Systems_ (MacOS, Windows), this is achieved in 4 steps, executed in the given sequential order;
75
+
For other Operating Systems (MacOS, Windows), this is achieved in 4 steps, executed in the given sequential order;
76
76
77
-
- Install a **Hypervisor**. (e.g., VirtualBox, VMware Fusion (MacOS), VMware Workstation (Windows), VMware ESXi (Bare Metal Hypervisor)).
78
-
- Setup a **Virtual machine**. (e.g., If you are using VirtualBox, which is open-source, Vagrant is the quickest way to automatically setup a virtual machine and also set up ssh private/public keys.)
79
-
- Install **Linux** as Guest OS, preferably the latest version of Ubuntu Linux.
- Install a hypervisor, e.g., VirtualBox, VMware Fusion (MacOS), VMware Workstation (Windows), VMware ESXi (Bare Metal Hypervisor).
78
+
- Setup a virtual machine, e.g., if you are using VirtualBox, which is open-source, Vagrant is the quickest way to automatically setup a virtual machine and also set up ssh private/public keys.
79
+
- Install Linux as Guest OS, preferably the latest version of Ubuntu Linux.
Search the internet for quick guides on creating virtual machines. Here's an example of a video on [How to Create a Linux Virtual Machine on a Mac](https://www.youtube.com/watch?v=KAd7FafXfJQ).
83
83
@@ -94,8 +94,8 @@ Next, ensure that you have checked your system specs, and have at hand all the v
94
94
95
95
You'll need the following items to begin:
96
96
97
-
- INFURA_PROJECT_ID // Same as API Key in your Infura account
98
-
- ETHERSCAN_API_KEY
97
+
-`INFURA_PROJECT_ID` // Same as API Key in your Infura account
98
+
-`ETHERSCAN_API_KEY`
99
99
- Public IP address
100
100
- L1 Goërli node RPC
101
101
- Goërli address with **0.5 GöETH**
@@ -108,28 +108,28 @@ Keep in mind that the mainnet files you will be downloading are 70GB big.
108
108
109
109
If the Prover is the only container you will be running externally in a cloud, then it is preferable to have a minimum 300GB of storage in the primary machine.
110
110
111
-
Depending on the user's resources, the zkEVM network can be implemented with either the actual _full prover_ or the _mock prover_.
111
+
Depending on the user's resources, the zkEVM network can be implemented with either the actual full prover or the mock prover.
112
112
113
-
The full prover is resource-intensive as it utilises the exact same proving stack employed in the real and live zkEVM network.
113
+
The full prover is resource-intensive as it utilizes the exact same proving stack employed in the real and live zkEVM network.
114
114
115
115
!!!info
116
-
The **full prover**'s system requirements are:
116
+
The full Prover's system requirements are:
117
117
118
118
- 96-core CPU
119
119
- Minimum 768GB RAM
120
120
121
121
The Mock Prover is a dummy prover which simply adds a "Valid ✅" checkmark to every batch.
122
122
123
123
!!!info
124
-
The **mock prover**, on the other hand only requires:
124
+
The mock Prover, on the other hand, only requires:
125
125
126
126
- 4-core CPU
127
127
- 8GB RAM (16GB recommended)
128
128
129
129
As an example, the equivalent [AWS EC2s](https://aws.amazon.com/ec2/instance-types/r6a/) for each of these two provers are as follows:
130
130
131
-
- r6a.xlarge for **mock prover**
132
-
- r6a.24xlarge for **full prover**
131
+
- r6a.xlarge for mock Prover
132
+
- r6a.24xlarge for full Prover
133
133
134
134
The initial free disk space requirement is minimal (<2TB), but you should monitor available space as the network is always adding more data.
Copy file name to clipboardExpand all lines: docs/zkEVM/get-started/quick-start/bridge-to-zkevm.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
2
2
!!!caution
3
-
Check the list of potential risks associated with the use of Polygon zkEVM in the [Disclosures]() section.
3
+
Check the list of potential risks associated with the use of Polygon zkEVM in the [Disclosures](../../troubleshooting/risk-disclosures.md) section.
4
4
5
5
Users can deposit assets from Ethereum and transact off-chain on Polygon zkEVM. For moving assets across chains (L1 ↔ zkEVM), you will need to use the zkEVM Bridge. The bridge interface is available for both Mainnet Beta and Testnet in the [Polygon Wallet Suite](https://wallet.polygon.technology/zkEVM/bridge).
6
6
@@ -11,7 +11,7 @@ The next video is a guide on how to bridge tokens from L1 to the zkEVM Testnet.
11
11
<p>Your browser does not support the video element.</p>
12
12
</video>
13
13
14
-
## Step-by-Step Guide
14
+
## Step-by-step guide
15
15
16
16
Follow this step-by-step guide on how to bridge assets from Ethereum to Polygon zkEVM Mainnet and vice-versa. Or, from an Ethereum testnet to zkEVM testnet, and conversely.
17
17
@@ -26,14 +26,14 @@ Follow this step-by-step guide on how to bridge assets from Ethereum to Polygon
Copy file name to clipboardExpand all lines: docs/zkEVM/get-started/quick-start/connect-wallet.md
+2-3Lines changed: 2 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,10 +1,9 @@
1
-
2
1
!!!caution
3
-
Check the list of potential risks associated with the use of Polygon zkEVM in the [Disclosures]() section.
2
+
Check the list of potential risks associated with the use of Polygon zkEVM in the [Disclosures](../../troubleshooting/risk-disclosures.md) section.
4
3
5
4
Connect to either the Polygon zkEVM's mainnet or the testnet.
6
5
7
-
Add the Polygon zkEVM network of your choice to your wallet by navigating to `Add network`, and enter the respective network details as given in the below table:
6
+
Add the Polygon zkEVM network of your choice to your wallet by navigating to the add network input, and enter the respective network details as given in the below table:
Copy file name to clipboardExpand all lines: docs/zkEVM/get-started/quick-start/zkevm-faucet.md
+4-5Lines changed: 4 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,5 @@
1
-
2
1
!!!caution
3
-
Check the list of potential risks associated with the use of Polygon zkEVM in the [Disclosures]() section.
2
+
Check the list of potential risks associated with the use of Polygon zkEVM in the [Disclosures](../../troubleshooting/risk-disclosures.md) section.
4
3
5
4
Polygon faucet is the official tool provided by Polygon Labs to obtain Testnet tokens. It is a faucet that is similar to what ecosystem partners like Alchemy provide.
6
5
@@ -20,11 +19,11 @@ Here is how to use the Polygon zkEVM faucet:
20
19
21
20
- Select the type of Testnet token that you want to receive. In our case, we only have the option to receive **zkEVM ETH** which is also the default option.
22
21
23
-
- Enter your **wallet address** (you can copy it from your MetaMask or any wallet that supports testnet tokens)
22
+
- Enter your **wallet address** (you can copy it from your MetaMask or any wallet that supports testnet tokens).
24
23
25
-
- Click on the **Submit** button to send your token request
24
+
- Click on the **Submit** button to send your token request.
Copy file name to clipboardExpand all lines: docs/zkEVM/get-started/setup-nodes/local-node.md
+19-19Lines changed: 19 additions & 19 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,11 +11,11 @@ This tutorial is a guide to setting up a local but single zkEVM node. It is _sin
11
11
12
12
At the end of this tutorial, the following components will be running:
13
13
14
-
- zkEVM Node Databases
15
-
- Explorers and their Databases
16
-
- L1 Network
17
-
- Prover
18
-
- zkEVM Node components
14
+
- zkEVM node databases.
15
+
- Explorers and their databases.
16
+
- L1 network.
17
+
- Prover.
18
+
- zkEVM node components.
19
19
20
20
## Prerequisites
21
21
@@ -27,10 +27,10 @@ The tutorial for current version of the environment requires `go`, `docker` and
27
27
28
28
### System requirements
29
29
30
-
- zkEVM Node: 16GB RAM with 4-core CPU
31
-
- zkProver: 1TB RAM with 128-core CPU
30
+
- zkEVM Node: 16GB RAM with 4-core CPU.
31
+
- zkProver: 1TB RAM with 128-core CPU.
32
32
33
-
Running a full-fledged zkProver requires at least 1TB of RAM. However, users with less memory can opt to use the Mock Prover.
33
+
Running a full-fledged zkProver requires at least 1TB of RAM. However, users with less memory can opt to use the mock Prover.
34
34
35
35
## Setting up zkNode
36
36
@@ -51,7 +51,7 @@ The image is built only once and whenever the code has changed.
51
51
!!!caution Building Docker Image
52
52
Every testnet version needs to use configuration files from the correct and corresponding tag. For instance: Make sure to use configuration files from RC9 tag in order to build an RC9 image.
53
53
54
-
All tags can be found here: **https://github.com/0xPolygonHermez/zkevm-node/tags**
54
+
All tags can be found here: https://github.com/0xPolygonHermez/zkevm-node/tags.
55
55
56
56
Certain commands on the `zkevm-node` can interact with smart contracts, run specific components, create encryption files, and print debug information.
57
57
@@ -115,30 +115,30 @@ make deploy-uniswap
115
115
make run-approve-matic
116
116
```
117
117
118
-
## Connecting to Metamask
118
+
## Connecting to MetaMask
119
119
120
120
!!!info
121
121
Metamask requires the network to be running while configuring it, so make sure your network is up.
122
122
123
123
MetaMask can be configured to use the local zkEVM environment by following the steps below:
124
124
125
-
1. Log in to your MetaMask wallet
126
-
2. Click on your account picture and then on **Settings**
127
-
3. On the left menu, click on **Networks**
128
-
4. Click on **Add Network** button
129
-
5. Fill up the L2 network information
125
+
1. Log in to your MetaMask wallet.
126
+
2. Click on your account picture and then on **Settings**.
127
+
3. On the left menu, click on **Networks**.
128
+
4. Click on **Add Network** button.
129
+
5. Fill up the L2 network information:
130
130
-**Network Name:** Polygon zkEVM - Local
131
131
-**New RPC URL:**<http://localhost:8123>
132
132
-**ChainID:** 1001
133
133
-**Currency Symbol:** ETH
134
134
-**Block Explorer URL:**<http://localhost:4000>
135
-
6. Click on **Save**
136
-
7. Click on **Add Network** button
137
-
8. Fill up the L1 network information
135
+
6. Click on **Save**.
136
+
7. Click on **Add Network** button.
137
+
8. Fill up the L1 network information:
138
138
-**Network Name:** Geth - Local
139
139
-**New RPC URL:**<http://localhost:8545>
140
140
-**ChainID:** 1337
141
141
-**Currency Symbol:** ETH
142
-
9. Click on **Save**
142
+
9. Click on **Save**.
143
143
144
144
You can now interact with your local zkEVM network and sign transactions from your MetaMask wallet.
0 commit comments