Node Setup
Install dependencies, build lumerad, and sync your node using a snapshot.
Step 1: Install System Dependencies
SSH into your server and install the required packages:
If apt upgrade hangs or the SSH connection drops, reconnect and run:
Then re-run the install command above.
Step 2: Add Swap
Check current memory first:
If you already have ≥16 GB RAM or existing swap, skip to Step 3.
Building from source can exceed 8 GB RAM. If your server has 8 GB or less, add swap:
Verify with free -h you should see ~4 GB swap.
Step 3: Install Go
Add Go to your shell profile:
Step 4: Build lumerad
The binary must be built from source with a one-line patch. This patch prevents a panic caused by a governance upgrade plan (v1.0.0) that exists in the chain state but has no matching binary release.
Clone and checkout
Apply the patch
Build
This takes 5–10 minutes. If it gets killed (OOM), make sure swap is active from Step 2.
After building, restore the patched file and verify:
lumerad version may print blank, this is a known issue (no version ldflags in source builds). The binary works regardless.
Step 5: Initialize the Node
Replace YOUR_MONIKER with your validator's display name (e.g., my-validator).
Download the genesis file
Back up your keys
These files ARE your validator identity. If you lose them, you lose your validator. Copy them off the server to a secure location immediately.
Step 6: Configure the Node
Seeds and minimum gas price
Enable pruning
Saves disk space by removing old state:
Enable Prometheus metrics (optional)
Step 7: Download the Snapshot
Syncing from a snapshot gets you to a recent block height in minutes instead of days.
Reset the data directory
Download and extract
Visit Polkachu's Lumera snapshots page to find the latest snapshot URL, then run:
Replace lumera_XXXXXXX.tar.lz4 with the current filename from the Polkachu page. This downloads and extracts in one step it takes 5–30 minutes depending on network speed.
Step 8: Create the Systemd Service
Step 9: Start and Verify
Watch the logs
You should see blocks being committed:
Check sync status
Wait until catching_up is false. With the snapshot, this should take only a few minutes.
Step 10: Set Up Firewall
Do not expose port 26657 (RPC) unless you specifically need external RPC access.
Next Steps
Once your node is fully synced (catching_up: false), proceed to create your validator.