Prerequisites

  1. Operating System: A Linux-based OS (Ubuntu 20.04 or later is recommended).
  2. Hardware Requirements:
  3. Dependencies:

Step 1: Install Dependencies

Start by installing the necessary tools.

# Update the package list
sudo apt update && sudo apt upgrade -y

# Install dependencies
sudo apt install -y curl git jq wget build-essential

# Install Docker
curl -fsSL <https://get.docker.com> -o get-docker.sh
sudo sh get-docker.sh
sudo usermod -aG docker $USER
newgrp docker

# Install Docker Compose
sudo curl -L "<https://github.com/docker/compose/releases/download/2.31.1/docker-compose-$>(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose

# Verify installations
docker --version
docker-compose --version


Step 2: Clone the Lumoz Repository

Check the official Lumoz repository for validator instructions.

# Clone the Lumoz repository
git clone <https://github.com/LumozOrg/lumoz-node.git>

# Navigate to the directory
cd lumoz-node


Step 3: Build and Configure the Node

Build the Node Binary

If Lumoz provides a pre-built binary, download it directly; otherwise, build it from source.

# Build from source (if needed)
make build

Initialize the Node

Use the Lumoz CLI tool to initialize your node.

# Initialize the node with a custom name
./lumozd init "<YourNodeName>" --chain-id lumoz-testnet

# Fetch the genesis file
curl -O <https://lumoz.org/genesis.json>
mv genesis.json ~/.lumoz/config/genesis.json