Running Nodes
Overview
There are various docker compose file variants in the running-sova repository. These files are used for internal testing as well as testnet and mainnet deployment. This guide provides instructions for running Sova Testnet and Mainnet nodes. See Github repo for more detailed information.
Mainnet Validator
Comming soon!
Testnet (Sepolia) Validator - dockerfiles/sova-op-validator-node
Used to run a full Sova full node.
When the 'core' and 'op-stack' profiles are specified sova-reth, sova-sentinel, op-node, op-batcher, op-proposer all run alongside the Sova auxiliary services.
# run Sova OP validator
docker-compose -f dockerfiles/sova-op-testnet-validator-node.yml -p sova-op-testnet-validator --profile core --profile op-stack --env-file ./.env up --build -d
# stop all containers
docker-compose -f dockerfiles/sova-op-testnet-validator-node.yml -p sova-op-testnet-validator --profile core --profile op-stack --env-file ./.env down
Setup Guide
This guide will walk you through the process of setting up and running a local Sova devnet node using Docker Compose.
Prerequisites
Software
Docker (version 20.10.0 or higher)
Docker Compose (version 2.0.0 or higher)
Git
Hardware Requirements
A modern multi-core CPU.
32 GB RAM.
A locally attached NVMe SSD drive.
Note: Requirements may vary based on network activity, transaction volume, number of connected peers, and chain state growth.
Running the Node
1. Clone the Repository
git clone https://github.com/SovaNetwork/running-sova
cd running-sova
# checkout release version
git checkout v0.0.7
2. Configure Environment Variables
# Edit the following .env files:
# env.shared
# env.validator
3. Build and Start Testnet Validator
# run Sova OP validator
docker-compose -f dockerfiles/sova-op-testnet-validator-node.yml -p sova-op-testnet-validator --profile core --profile op-stack --env-file ./env.shared --env-file ./env.validator up --build -d
# remove all containers and volumes with:
docker-compose -f dockerfiles/sova-op-testnet-validator-node.yml -p sova-op-testnet-validator --profile core --profile op-stack --env-file ./env.shared --env-file ./env.validator down -v --rmi all
Last updated