Prerequisites

  1. System Requirements:
  2. Basic knowledge of:

Step 1: Install Dependencies

First, make sure that your system has the necessary dependencies. Open a terminal and run the following commands:

# Update system
sudo apt update && sudo apt upgrade -y

# Install Go (required for building Noise node)
wget <https://golang.org/dl/go1.18.3.linux-amd64.tar.gz>
sudo tar -C /usr/local -xvzf go1.18.3.linux-amd64.tar.gz
echo "export PATH=$PATH:/usr/local/go/bin" >> ~/.profile
source ~/.profile

# Install git (for cloning repository)
sudo apt install git -y

# Optional: Install Docker (for running the node in a container)
sudo apt install docker.io -y
sudo systemctl enable --now docker

Step 2: Clone Noise Repository

Next, you'll need to clone the official Noise repository to build the validator node. Run the following commands:

cd ~
git clone <https://github.com/nois-network/nois.git>
cd nois

Step 3: Build the Node

To build the Noise validator node, follow these steps:

# Ensure you are in the root directory of the repository
make install

This will install all necessary binaries and dependencies.

Step 4: Configure Your Validator

Once the node is built, you need to configure it. In the ~/.nois directory, you'll find configuration files.

  1. Initialize the node:
noisd init --chain-id nois-network

  1. Download Genesis File:

    The genesis file contains the initial state of the blockchain. You can get it from the official Noise GitHub or community resources. Once you have it, copy it to the correct directory:

curl -o ~/.nois/config/genesis.json <https://nois.network/genesis.json>

  1. Set Up Validator Key: