Skip to content

[ZK Stack] - build zksync Server and zksync Prover on different servers #1068

Discussion options

You must be logged in to vote

Hi @Niet-Pham ,
Thank you for raising this issue.

Yes, it should be possible. To achieve server setup on one machine, and prover on another, you would need:

  1. Initialize prover and prover database on one machine, start the prover.
  2. Make sure the prover API URL is accessible from the server machine
  3. Initialize server and server database on another machine
  4. Change prover API URL in the generated configuration (by default, it's in chains/era/configs/general.yaml) to point to your prover API from another machine.

So, instead of the default value:

...
  prover_gateway:
    api_url: http://127.0.0.1:3320/
...

Provide the prover URL:

...
  prover_gateway:
    api_url: http://<host>:<port>/
...

Pl…

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
3 replies
@Niet-Pham
Comment options

@Niet-Pham
Comment options

@antonbaliasnikov
Comment options

Answer selected by antonbaliasnikov
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
ZK Stack
Labels
zk-stack ZK Stack Question
2 participants