Methods of payment Abuse

Hyperliquid: Installing a node

25.10.2024, 13:17

Introduction

Hyperliquid is a decentralized perpetual exchange offering top-notch speed, liquidity and pricing, Hyperliquid is a high-performance Tier 1 blockchain optimized from the ground up.

Keep in mind that there is currently no way to tie a wallet to a node. It is not a validating node. No public key generation is performed. The only way to establish a connection between you and the node is through the IP address of your VPS.


VPS configuration

To deploy a host, you have two options: host it on your own computer or install it on a virtual dedicated server (VPS). The latter option is ideal for hosting websites, applications, or hosts.

Intermediate configuration is required to start the HyperLiquid node.

CPU: 4
RAM: 16
Storage: 400gb
OS: Ubuntu 20.24 (only)

To connect to your VPS, you will need to download the Putty program, which will allow you to establish a secure connection to your VPS and access its features.

User Creation

The node cannot be started from the root user. You need to create a user on your VPS to start the node:

adduser hl
usermod -aG sudo hl

Set the password for the session, then press ENTER to accept the default values.

Then log into the session:

su - hl

Installation of main components

Before you can start configuring the host, you need to upgrade your VPS. To do this, simply run the following command in the terminal of your VPS:

sudo apt-getupdate&& sudo apt-get upgrade -y

Loading the screen:

apt-get install screen -y

Node configuration

Download an initial set of peers to establish the first connection between your node and the rest of the network:

curl https://binaries.hyperliquid.xyz/Testnet/initial_peers.json > ~/initial_peers.json

Configure the node to run on the test network:

echo'{"chain": "Testnet"}' > ~/visor.json

Download the configuration file:

curl https://binaries.hyperliquid.xyz/Testnet/non_validator_config.json > ~/non_validator_config.json

Download binary visor:

curl https://binaries.hyperliquid.xyz/Testnet/hl-visor > ~/hl-visor && chmod a+x ~/hl-visor

Starting a node

You can start your node in a Screen session:

screen -S hl

This will open a new session where you can run your node in the background.

To exit the session, press CTRL+A+D

To reconnect to the session, run the following command:

screen -r hl

Start the HyperLiquid node:

~/hl-visor

The node does not display any messages. You can now exit the Screen session by pressing CTRL+A+D

You can check if your node is running by checking if the hl directory exists:

ls


This is the end of the instructions!
Thank you for your time to everyone who read, I hope this tutorial was helpful to you!