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
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
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.
Once the node is built, you need to configure it. In the ~/.nois
directory, you'll find configuration files.
noisd init --chain-id nois-network
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>