Overview
Thehpx CLI manages the full lifecycle of HyperPaxeer nodes — install, deploy, monitor, upgrade, and remove. Each node runs as an isolated Docker Compose stack with its own chain data, ports, and an FD Guardian sidecar that auto-restarts on file-descriptor leaks.
🚀 HyperPax Node: The Official “No-Headache” Setup Guide
Setting up a node involves preparing your server, installing the HyperPax OS, and ensuring your node is visible for delegation. Follow these steps exactly to avoid the commoncommand not found or Docker missing errors.
Phase 1: Server Preparation
Before running the main script, ensure your environment is clean.- Log in as Root: Most commands require administrative privileges.
- Verify Shell Path: If you just installed the OS or shell updates, ensure your shell knows where to look for commands:
Note: If you get a “No such file” error, don’t panic. It just means you are using a clean shell that hasn’t been modified yet.
Phase 2: Installing HyperPax-OS
Run the installation script provided by the team.- Pro Tip: If the script asks to install Docker and seems “stuck,” wait. Docker installation can take 2–5 minutes depending on the server’s CPU and network speed.
🛠 Troubleshooting Common Install Errors
If the installer fails on Step 2/6 (Checking Dependencies) with aMissing: docker-compose-plugin error:
-
Manual Docker Compose Fix:
Run these commands one by one to manually place the plugin where the system expects it:
-
System Tuning:
The script may ask:
Apply recommended system tuning? [y/N].- Always Choose Y. * If you skip this, your node may hit “FD (File Descriptor) limits” and crash once the network load increases.
Phase 3: Configuration & Data Sync
Once the OS is installed, you need to configure your node.- The Setup Command:
Type
hpx setupto begin. - Storage Location:
When asked
Where to store node data? [/root/hyperpax-nodes], simply Press Enter to use the default path. - Syncing the Chain:
You will see a prompt for a
Chain data tarball URL.- Unless you have been given a specific private link by the team, Press Enter to use the latest official snapshot.
Phase 4: Activation & Delegation
Your node is running, but it needs “Voting Power” to earn rewards.- Get your IP and Port:
Find your node’s connection string. It usually looks like this:
http://[YOUR_IP_ADDRESS]:[PORT]. - Send to the Registry:
Provide this URL to the network admin. This allows them to:
- Add you to the official Registry.
- Delegate staked coins to your node so you can begin validating blocks.
💡 Top 3 “Newbie” Tips from the Logs:
- Don’t Spam Commands: If you run the “longer script” multiple times, you might create conflicting directory paths (e.g.,
/usr/bin/vs/root/). Run it once and troubleshoot specific errors instead. - The “hpx” Command: If
hpxisn’t found immediately after installation, try runningsource ~/.bashrcagain or logging out and back into your SSH session. - Docker is Heavy: If the screen says
Installing Docker..., grab a coffee. Interrupting this process is the #1 cause of broken node environments.
Requirements
Install
- Checks system resources (RAM, CPU, disk)
- Installs Docker, curl, jq, zstd if missing
- Installs the
hpxbinary to/usr/local/bin/ - Offers to run the Setup Wizard (system tuning, Docker image pull, capacity check)
Deploy a Node
Examples:
Node Management
File Structure
Create a Validator
After your node syncs to the latest block, create a validator using thehyperpaxd binary inside the container:
Unjail a Validator
If your validator is jailed for downtime (missing 500 of the last 10,000 blocks):Confirm Validator Status
Troubleshooting
“Permission denied” — Run withsudo.
“docker: denied” — Stale credentials. Run docker logout ghcr.io and retry.
“Cannot connect to Docker daemon” — Start Docker: sudo systemctl start docker.
Node stuck syncing — Check peers with hpx info <name>. If peers is 0, verify your firewall allows the P2P port.
“too many open files” — The FD Guardian sidecar handles this automatically. If running outside Docker, increase limits: ulimit -n 4096.