Step 1: Set Up Your Server

Hardware requirements:

Step 2: Install Dependencies

For Ubuntu:

sudo apt update
sudo snap install go --classic
sudo apt-get install git gcc make

For Arch Linux:

sudo pacman -S go git gcc make

Step 3: Build the althea Binary

  1. Clone the Althea repository:

    git clone <https://github.com/althea-net/althea-chain.git>
    cd althea-chain
    
    
  2. Build the binary:

    make install
    
    
  3. Move the binary to your system path:

    sudo mv $HOME/go/bin/althea /usr/local/bin
    
    

Step 4: Initialize the Node

Set up the configuration files and initialize your node:

althea init <moniker> --chain-id <chain_id>

Replace <moniker> with your desired node name and <chain_id> with the appropriate chain ID.

Step 5: Configure the Node

  1. Download the genesis file for the Althea network:

    wget <https://raw.githubusercontent.com/althea-net/mainnet/master/genesis.json> -P $HOME/.althea/config/