1. Prepare Your Server


2. Install Required Dependencies

Update your system and install the necessary packages:

sudo apt update && sudo apt upgrade -y
sudo apt install build-essential libssl-dev pkg-config clang cmake git curl -y


3. Install Rust

The Hemi validator node is built with Rust, so you need to install it:

curl --proto '=https' --tlsv1.2 -sSf <https://sh.rustup.rs> | sh
source $HOME/.cargo/env


4. Clone the Hemi Network Repository

Clone the official repository of the Hemi Network:

git clone <https://github.com/hemi-network/hemi-node.git>
cd hemi-node


5. Build and Install the Node

Build the node with the following command:

cargo build --release