Hyperlane Base Validator Setup Guide


1️⃣ System Update & Install Dependencies

sudo apt-get update && sudo apt-get upgrade -y

# Install Docker
sudo apt-get install docker.io -y

2️⃣ Install Node.js (v20) via NVM

# Install NVM
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.0/install.sh | bash

# Load NVM
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion"

# Install Node.js v20
nvm install 20

3️⃣ Create a Wallet (using Foundry)

Save your wallet address and private key securely. You will need ETH to cover validator announcement gas fees (~0.00003 ETH).


4️⃣ Install Hyperlane CLI


5️⃣ Pull Hyperlane Docker Image


6️⃣ Create Database Directory


7️⃣ Create Hyperlane Config JSON

Create /root/hyperlane/config/Base.json with this content:

Verify it:


8️⃣ Run Hyperlane Validator

Replace the PRIVATE_KEY with your wallet private key and NAME with your chosen validator name (AKNodes in your case):


9️⃣ Check Logs

You may see a warning:


🔟 Fund Your Validator

Send ETH (~0.00003 ETH) to your chain signer address to allow the validator to announce:

Chain signer address:

  • You can use MetaMask, Alchemy, or Jumper bridge for this.

Once funded, the validator should announce automatically and start validating messages.

Last updated