> For the complete documentation index, see [llms.txt](https://uthersunlighter.gitbook.io/uthersunlighter/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://uthersunlighter.gitbook.io/uthersunlighter/haqq.md).

# HAQQ

**Hardware Requirements**\
To run a HAQQ node, you will need a machine with the following minimum hardware specifications:

* CPU: 4 or more physical CPU cores
* RAM: At least 32GB of memory
* Storage: At least 500GB of SSD disk storage
* Network: At least 100Mbps network bandwidth
* OS: Linux

### Install Required Packages

```
sudo apt-get update && \
sudo apt-get install curl git make gcc liblz4-tool build-essential git-lfs jq -y
```

This step updates the package lists and installs the necessary tools for building and running a HAQQ node, such as curl, git, make, gcc, and others.

### Install Go 1.20+

```
curl -OL https://raw.githubusercontent.com/haqq-network/mainnet/master/install_go.sh
sh install_go.sh
source $HOME/.bash_profile
```

HAQQ uses the Go programming language, so you need to install the latest version of Go (1.20 or newer). This script automatically downloads and installs Go, and also sets up the environment variables.

### Install HAQQ Node Binary

```
curl -OL https://raw.githubusercontent.com/haqq-network/mainnet/master/install_haqq.sh
sh install_haqq.sh
```

This script downloads and installs the latest version of the HAQQ node binary from the official repository.

### Build Node from Source

```
cd $HOME
git clone -b v1.5.0 https://github.com/haqq-network/haqq
cd haqq
git lfs fetch --all
make install
```

Alternatively, you can build the node from the source code if you want to use a specific version or make your own modifications. This process involves cloning the repository, switching to the desired version, and building it using the `make install` command.

### Verify the Installation

```
haqqd version --long | head
```

This step checks that the HAQQ node binary was installed correctly and displays the version information, including the commit hash.

### Initialize the Node and Create a Wallet

```
haqqd init <your_moniker> --chain-id haqq_54211-2
haqqd keys add <your_wallet_name>
```

Here, we initialize the node with the specified name (moniker) and chain ID, and also create a new wallet to manage the funds.

### Start the Node and Sync with the Network

```
thaqqd start
```

Finally, we start the node, which will begin synchronizing with the HAQQ MainNet. You can monitor the sync progress using the HAQQ documentation and community resources.By following these steps, you will successfully install and set up a HAQQ node on your server. Remember to review the additional documentation and recommendations for node configuration and operation to ensure optimal performance and security.
