Mainnet from State-Sync
Overview
The current HAQQ version of mainnet is v1.7.8
.
Sources of all scripts are here github
Quickstart
Battle tested on Ubuntu LTS 22.04
All-in-one (tested on Ubuntu LTS):
You can easily install all dependencies and the HAQQ node binary by using a single bash script.
CUSTOM_MONIKER="haqq_node" && \
curl -OL https://raw.githubusercontent.com/haqq-network/mainnet/master/all_in_one.sh && \
sudo sh all_in_one.sh "$CUSTOM_MONIKER"
You can do the same yourself
Install packages:
sudo apt-get update && \
sudo apt-get install curl git make gcc liblz4-tool build-essential jq -y
Preresquisites for compile from source
make
&gcc
Go 1.21+
Easy GO compiler and HAQQ node installation
bash <(curl -s https://raw.githubusercontent.com/haqq-network/mainnet/master/install_go.sh) && \
source $HOME/.bash_profile && \
bash <(curl -s https://raw.githubusercontent.com/haqq-network/mainnet/master/install_haqq.sh)
Do the same manually:
Download latest binary for your arch: https://github.com/haqq-network/haqq/releases/tag/v1.7.8
Build from source:
cd $HOME
git clone -b v1.7.8 https://github.com/haqq-network/haqq
cd haqq
make install
Verify binary version:
haqq@haqq-node:~# haqqd -v
haqqd version "1.7.8" 3058d8f0485747aa5eacb352330d6bc1a867a838
Initialize and start HAQQ
Run script:
curl -OL https://raw.githubusercontent.com/haqq-network/mainnet/master/init_start.sh && \
sh init_start.sh mainnet_node
mainnet_node
is argument value for custom moniker
Upgrade to Validator Node
You now have an active full node. What's the next step? You can upgrade your full node to become a Haqq Validator. The top 150 validators have the ability to propose new blocks to the Haqq Network. Continue onto the Run a Validator.