For the complete documentation index, see llms.txt. This page is also available as Markdown.

Installation

If you want to setup Haqq fullnode manually follow the steps below

Update and upgrade

sudo apt update && sudo apt upgrade -y

Install GO

if ! [ -x "$(command -v go)" ]; then
  ver="1.19.3"
  cd $HOME
  wget "https://golang.org/dl/go$ver.linux-amd64.tar.gz"
  sudo rm -rf /usr/local/go
  sudo tar -C /usr/local -xzf "go$ver.linux-amd64.tar.gz"
  rm "go$ver.linux-amd64.tar.gz"
  echo "export PATH=$PATH:/usr/local/go/bin:$HOME/go/bin" >> ~/.bash_profile
  source ~/.bash_profile
fi

Install node

cd $HOME
rm -rf haqq
git clone https://github.com/haqq-network/haqq.git
cd haqq
git checkout v
make install

Setting up vars

You should replace values in <> <YOUR_MONIKER> Here you should put name of your moniker (validator) that will be visible in explorer <YOUR_WALLET> Here you shoud put the name of your wallet

Configure your node

Initialize your node

Download genesis & addrbook

(OPTIONAL) Set custom ports

If you want to use non-default ports

Set seeds and peers

Config pruning

Set minimum gas price and null indexer

Create Service

Reset blockchain info and restart your node

(OPTIONAL) Use State Sync

Starting a validator

1. Add a new key

(OR)

1. Recover your key

2. Create validatorWait until the node is synchronized.

Last updated