1. Create a non-root user:

    sudo adduser hlnode
    sudo usermod -aG sudo hlnode
    su - hlnode
    
    
  2. Download configuration files:

    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
    
    
  3. Install dependencies:

    sudo apt update
    sudo apt install screen
    
    
  4. Run the node: Use a screen session to run the node in the background:

    screen -S hlnode
    ~/hl-visor
    
    

    To detach from the screen session, press Ctrl + A + D.

  5. Monitor the node:

  6. Reattach to the session: If you need to return to the session, use:

    screen -r hlnode