In Production

ZK Stack is still under development. We advise you to only use for local and testnet deployments.

Deploying to a non-local environment

The process to deploy to a non local environment is pretty similar to the local one. The wizard allows you to set up URLs to external services (database, RPCs, etc).

Database

The wizard allows you to provide a custom database url connector. Make sure you provide it and that it accepts external connections if your server is not running in the same private network.

Server (Sequencer) & Prover

After configuring your ZK chain, you can generate docker images for your server and prover. To do that run zk stack docker-setup.

This command will guide you to properly name and tag your image. After building it, a docker compose file will be available so you can run the images on whichever cloud environment you desire.


Made with ❤️ by the ZKsync Community