How to Run a Prover Node
Last updated
Last updated
ZK prover nodes are one of the critical roles in Cysic Network. Their job is to generate ZK proofs of various kinds, assigned by our partners and obtain Cysic Network credits as the rewards. Operating a prover node requires a solid understanding of DevOps and high-performance hardware.
Scroll Proof: One Ubuntu server with at least 256GB System RAM, 32 cores CPU, and a GPU with at least 20GB memory.
ETH Proof: One ubuntu server with at least 32GB System RAM, 8 cores CPU and a GPU with at least 16GB memory
Go to the Cysic Phase3 Website: https://cysic.xyz/zk
Join Testnet Phase 3
Connect to your wallet
Sign a message
Enter the invite code
Copy the address from your wallet. It will be used as reward address when starting the verifier.
Go the Alchemy website to register a free RPC endpoint, sign in or register
Create a new app
Got the RPC URL:copy the url
Open the terminal and run the following commands to setup and execute the prover program
Download the setup script and run the setup script.
First start your terminal program on Linux. The shortcut is Ctrl-Alt-T on Ubuntu. Or you can search for it in the applications and click on Terminal to start it.
Use the following command in the terminal to download and run the setup script( copy and paste the following command in terminal and press enter to run them). Please replace 0x-Fill-in-your-reward-address-here with your own reward address below.
This script will do the following job:
Download the prover program and library: prover libcysnet_monitor.so libdarwin_prover.so & libzkp.so & eth_dependency.sh
Create the prover config file named config.toml
Ask the user if you want to setup the eth_proof software requirements, please choose y to allow the setup process if you want to run eth proof. 4. Create script to run the prover start.sh
You can go to ~/cysic-prover folder to see all the above contents created successfully after running the script.
Finish start the prover program, use the following command in terminal to start the prover program
The prover may need some minutes to connect to the chain. When you see output like send heartbeat to server
, then the prover is running successfully.
The prover program will create mnemonic files for you. Your submitted address mnemonic file is in: ~/.cysic/assets/
folder, please keep it or you can not run the prover program again.