dxzenith / hyperliquid-node

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Project's Social Media

System Requirements

Component Requirement
CPU 4 CPU cores
RAM 16 GB RAM
Disk 50 GB disk
OS Ubuntu 24.04

Installation

  • Use these commands one by one
sudo adduser hlnode
sudo usermod -aG sudo hlnode
su - hlnode
curl https://binaries.hyperliquid.xyz/Testnet/initial_peers.json > ~/initial_peers.json
echo '{"chain": "Testnet"}' > ~/visor.json
curl https://binaries.hyperliquid.xyz/Testnet/non_validator_config.json > ~/non_validator_config.json
curl https://binaries.hyperliquid.xyz/Testnet/hl-visor > ~/hl-visor
chmod a+x ~/hl-visor
sudo apt update
sudo apt install screen
screen -S hlnode
~/hl-visor
  • Now detach from screen session using Ctrl + A + D

Verify your node is running or not

  • Use this command as non-root user
du -hs hl
  • It shows hl node data storage, it will keep increasing with time

pawelzmarlak-2024-07-18T15_29_35 358Z

  • Also if you can use this command
cd ~/hl/data && ls
  • It will show these type of files

pawelzmarlak-2024-07-18T15_32_15 927Z

Exit from nonroot user

  • Write exit or logout if you want to exit from non-root user
  • Done for now

Enter as nonroot user (Optional)

  • If you want to again enter as non root user, you can use su - hlnode

Follow me on X @ZunXBT

About