Skip to content

Commit e718398

Browse files
committed
fix: zkstack prover update plus a few misc things
1 parent c0c2cf6 commit e718398

File tree

5 files changed

+36
-12
lines changed

5 files changed

+36
-12
lines changed

content/10.zk-stack/20.running/20.using-a-local-zk-chain.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: Using a local ZK chain
2+
title: Using a local ZK Chain
33
description:
44
---
55

@@ -26,14 +26,14 @@ or any other wallet with funds, to deposit into your ZK chain via the bridge.
2626
Once you have the accounts with funds on the L1 base layer, you can do a deposit via the bridge to your ZK chain,
2727
and start interacting with your ZK chain using the L2 funded account.
2828

29-
## Using your ZK chain
29+
## Using your chain RPC
3030

3131
Your server contains both HTTPS as well as WebSocket (WS) RPC services that are fully web3 compatible (and contain some extra ZK Stack functionalities).
3232
Learn more on the [API reference page](/zksync-protocol/api).
3333

34-
### ZKsync CLI
34+
## Using zksync-cli
3535

36-
[zksync-cli](/zksync-era/tooling/zksync-cli) allows you to easily interact and develop applications on your ZK chain.
36+
[ZKsync CLI](/zksync-era/tooling/zksync-cli) allows you to easily interact and develop applications on your ZK chain.
3737
When executing any command with ZKsync CLI, you can specify RPC urls for both L1 and L2.
3838
Your local server contains RPCs for both.
3939
An example deposit command via the bridge would look like:
@@ -44,7 +44,7 @@ zksync-cli bridge deposit --rpc=http://localhost:3050 --l1-rpc=http://localhost:
4444

4545
You can save the chain configurations for your ZK chain with ZKsync CLI by [adding a new configuration](/zksync-era/tooling/zksync-cli/configuring-chains).
4646

47-
## Setting up the Portal
47+
## Using the Portal
4848

4949
The [Portal](https://github.com/matter-labs/dapp-portal) module is a web-app that allows you to:
5050

@@ -64,7 +64,7 @@ ecosystem directory. You can edit this file to configure the portal app if neede
6464
You can now navigate to the portal web-app. By default, portal frontend starts on
6565
`http://localhost:3030`, you can configure the port in `apps.yaml` file.
6666

67-
## Setting up a Block Explorer
67+
## Using a Block Explorer
6868

6969
A block explorer is a web-app that lets you view and inspect transactions, blocks,
7070
contracts and more. A [free open source block explorer](https://github.com/matter-labs/block-explorer) is available for your ZK chain.

content/10.zk-stack/20.running/40.proving.md

Lines changed: 27 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,37 @@ description:
88
With the default configuration, your ZK chain is not running a prover, and has a DummyExecutor contract,
99
which mainly “accepts” that a batch is executed without proof. This enables you to test it with much lower hardware requirements.
1010

11-
To enable the prover, run the `zkstack prover init` command. It will guide you through the necessary configuration.
12-
13-
There are two options for running the Boojum prover: in GPU, or in CPU.
11+
When enabling the Boojum prover, there are two options for running it: in GPU, or in CPU.
1412

1513
::callout{icon="i-heroicons-exclamation-triangle" color="amber"}
1614
**Running a prover is not required** for deploying a testnet. The requirements below are only necessary if you want to enable the prover.
1715
::
1816

19-
### Requirements for GPU Prover
17+
### Prover dependencies
18+
19+
Ensure you have installed:
20+
21+
- [gcloud](https://cloud.google.com/sdk/docs/install)
22+
- [wget](https://www.gnu.org/software/wget/)
23+
- [cmake](https://apt.kitware.com/)
24+
- [nvcc (CUDA toolkit)](https://developer.nvidia.com/cuda-downloads)
25+
26+
Refer to the [prover docs](https://github.com/matter-labs/zksync-era/blob/main/prover/docs/02_setup.md) for more
27+
information.
28+
29+
### Running the prover
30+
31+
To initialize the prover, first use the init command:
32+
33+
`zkstack prover init`
34+
35+
It will guide you through the necessary configuration.
36+
37+
Then to run the prover the prover:
38+
39+
`zkstack prover run`
40+
41+
### Requirements for GPU prover
2042

2143
The docker compose file assumes you will be running all components in the same machine. The current minimum requirements for a low TPS scenario are:
2244

@@ -25,7 +47,7 @@ The docker compose file assumes you will be running all components in the same m
2547
- 64 GB of RAM
2648
- 300 GB of Disk Space (SSD preferred)
2749

28-
### Requirements for CPU Prover
50+
### Requirements for CPU prover
2951

3052
The docker compose file assumes you will be running all components in the same machine.
3153
The current minimum requirements for a low TPS scenario are:
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
title: Running a ZK chain
1+
title: Running a ZK Chain

cspell-config/cspell-dev.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,3 +115,5 @@ applyl
115115
zbin
116116
scaleb
117117
chainid
118+
nvcc
119+
CUDA

0 commit comments

Comments
 (0)