NodeGuidebook
  • Welcome
  • Node
    • ZkVerify
      • Step-by-step | Installation Guide
      • Possible Errors
    • Pipe network
      • Bash | Video | Installation Guide
      • Update
    • Titan network
      • Bash | Video | Installation Guide
    • Multiple
      • Bash | Video | Installation Guide
    • Dria
      • Bash | Video | Installation Guide
      • Possible Errors
    • Hyperspace
      • Bash | Video | Installation Guide
      • Possible Errors
  • Gaia
    • Bash | Installation Guide
  • BROWSER NODE
    • Solix
      • Run node
  • Tools & Utilities
    • 🖥️Using screen on Linux
    • 🌐Port Configuration in Ubuntu
    • 📜Bash Script
  • VPS
    • Aeza
    • Xorek
Powered by GitBook
On this page
  • Update packages and install required utilities
  • Add the current user to the docker group
  • Check Docker access
  • Run Screen
  • Replace "user" with your nickname
  • Create a new user
  • Make up a password and save it
  • Check the home directory
  • Switch to the new user
  • Clone the repository
  • Run the initialization script
  • Run docker-compose
  • Update the scripts
  • Run update and start scripts
  • Launch docker-compose
  1. Node
  2. ZkVerify

Step-by-step | Installation Guide

Update packages and install required utilities

sudo apt install -y jq sed docker-compose docker.io && sudo apt update

Add the current user to the docker group

sudo usermod -aG docker $USER
newgrp docker

Check Docker access

docker ps

Run Screen

sudo apt update
sudo apt install screen
screen -S zkverify 

Replace "user" with your nickname

Create a new user

sudo adduser --shell /bin/bash --gecos "" 
sudo usermod -aG docker 
sudo passwd 

Make up a password and save it

It will not be visible in the console command as it should be

Check the home directory

ls -lahd /home/

Switch to the new user

sudo su - 

Clone the repository

git clone https://github.com/zkVerify/compose-zkverify-simplified.git
cd compose-zkverify-simplified

Run the initialization script

bash ./scripts/init.sh

Select 'node type' to proceed with the operation:

What 'network' would you like to use:

Do you want to choose a custom node name? (defaults to 'ext-validator-node-<random_number>')

Do you want to import an already existing node key?

Do you want to import an already existing secret phrase?

Copy the address and access it via nano It should be like this:

Nano /home//compose-zkverify-simplified/deployments/validator-node/testnet/configs/node/secrets/secret.json

Ctrl + X- exit

We're saving all this data

If the nano is not installed:

sudo apt update
sudo apt install nano -y

Run docker-compose

docker compose -f /home//compose-zkverify-simplified/deployments/validator-node/testnet/docker-compose.yml up -d --force-recreate

Update the scripts

cd ~/zkverify-repo
git pull
./scripts/update.sh

Run update and start scripts

bash ./scripts/start.sh

Launch docker-compose

docker compose -f "$HOME/compose-zkverify-simplified/deployments/validator-node/testnet/docker-compose.yml" up

After executing the last command, you will be shown the project logs To exit press Ctrl + A, then D


View Logs:

screen -r zkverify
PreviousZkVerifyNextPossible Errors

Last updated 12 days ago

If there are errors, see the solution under the tab

Possible Errors