Skip to content

Commit 191a93d

Browse files
Merge pull request 0xPolygon#317 from 0xPolygon/edit-zkEVM-zknode
Update zkEVM - setup production node
2 parents c36699e + b90981b commit 191a93d

File tree

1 file changed

+15
-14
lines changed

1 file changed

+15
-14
lines changed

docs/zkEVM/get-started/setup-nodes/production-node.md

Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -74,27 +74,28 @@ Let's start setting up our zkNode:
7474
```
7575

7676
2. Download and extract the artifacts. Note that you may need to [install unzip](https://formulae.brew.sh/formula/unzip) before running this command. Also, unlike the mainnet and the Goerli testnet that use the latest version, Cardona testnet uses a specific version.
77+
78+
So use the next `curl` command specifically for Cardona, which uses version v0.6.3.
7779

78-
So use the next `curl` command specifically for Cardona, which uses version 0.5.12 (Recommended version of cardona can be changed, so please check the `Testnet/Mainnet versions` section of [0xPolygonHermez Github](https://github.com/0xPolygonHermez) ):
80+
The recommended version of Cardona can be changed, so please check the `Testnet/Mainnet versions` section of [0xPolygonHermez Github](https://github.com/0xPolygonHermez):
7981

80-
```bash
81-
curl -L https://github.com/0xPolygonHermez/zkevm-node/releases/download/v0.5.12/$ZKEVM_NET.zip > $ZKEVM_NET.zip && unzip -o $ZKEVM_NET.zip -d $ZKEVM_DIR && rm $ZKEVM_NET.zip
82-
```
82+
```bash
83+
curl -L https://github.com/0xPolygonHermez/zkevm-node/releases/download/v0.6.3/$ZKEVM_NET.zip > $ZKEVM_NET.zip && unzip -o $ZKEVM_NET.zip -d $ZKEVM_DIR && rm $ZKEVM_NET.zip
84+
```
8385

84-
And use this second command for either mainnet or testnet (Goerli):
86+
And use this second command for either mainnet or testnet (Goerli):
8587

86-
```bash
88+
```bash
8789
curl -L https://github.com/0xPolygonHermez/zkevm-node/releases/latest/download/$ZKEVM_NET.zip > $ZKEVM_NET.zip && unzip -o $ZKEVM_NET.zip -d $ZKEVM_DIR && rm $ZKEVM_NET.zip
88-
```
89-
90-
4. Copy the `example.env` file with the environment parameters:
90+
```
9191

92+
3. Copy the `example.env` file with the environment parameters:
93+
9294
```sh
9395
cp $ZKEVM_DIR/$ZKEVM_NET/example.env $ZKEVM_CONFIG_DIR/.env
94-
9596
```
9697

97-
5. The `example.env` file must be modified according to your configurations.
98+
4. The `example.env` file must be modified according to your configurations.
9899

99100
Edit the .env file with your favourite editor (we'll use nano in this guide): ```nano $ZKEVM_CONFIG_DIR/.env```
100101
@@ -111,13 +112,13 @@ Let's start setting up our zkNode:
111112
ZKEVM_NODE_POOLDB_DATA_DIR = "/path/to/persistent/data/pooldb"
112113
```
113114
114-
6. To run the zkNode instance, run the following command:
115+
5. To run the zkNode instance, run the following command:
115116
116117
```bash
117118
sudo docker compose --env-file $ZKEVM_CONFIG_DIR/.env -f $ZKEVM_DIR/$ZKEVM_NET/docker-compose.yml up -d
118119
```
119120
120-
7. Run this command to check if everything went well and all the components are running properly:
121+
6. Run this command to check if everything went well and all the components are running properly:
121122
122123
```bash
123124
docker compose --env-file $ZKEVM_CONFIG_DIR/.env -f $ZKEVM_DIR/$ZKEVM_NET/docker-compose.yml ps
@@ -130,7 +131,7 @@ Let's start setting up our zkNode:
130131
- **zkevm-pool-db**
131132
- **zkevm-prover**
132133
133-
8. You should now be able to run queries to the JSON-RPC endpoint at `http://localhost:8545`.
134+
7. You should now be able to run queries to the JSON-RPC endpoint at `http://localhost:8545`.
134135
135136
## Testing
136137

0 commit comments

Comments
 (0)