DaniLabs
DaniLabs / Documentation / Finney SN2

Install the SN2 validator

Set up the worker, verify its first report, and configure automatic updates.

Host requirements

Use an Ubuntu 24.04 LTS CPU host (x86-64 or ARM64) with systemd. The recommended minimum is 4 vCPUs, 8 GB RAM, and 50 GB SSD. Have sudo and curl available. Allow outbound HTTPS to GitHub, Python package repositories, and DaniLabs, plus outbound WSS to the Finney archive RPC.

Install the worker and updater

Run this command from your validator host.

curl -fsSLo install-danilabs-validator.sh https://raw.githubusercontent.com/DaniLabsAI/subnet/main/deploy/install-validator.sh && sudo bash install-danilabs-validator.sh

The installer provisions Python, starts the worker under systemd, and verifies its first signed report against finalized Finney state. It enables automatic updates after verification. Rerun the same command to resume an interrupted installation.

Verify your setup

sudo systemctl status danilabs-sn2-validator.service danilabs-sn2-update.timer
sudo journalctl -u danilabs-sn2-validator.service -n 20 --no-pager
sudo journalctl -u danilabs-sn2-update.service -n 20 --no-pager

The installer prints the release commit and verified report ID. Check that the worker service and update timer are active. If report verification fails, check the worker journal and outbound HTTPS and WSS connectivity.

Automatic updates

The updater checks GitHub main every five minutes. It tests the staged commit, starts the worker, and waits for it to verify a fresh signed report. If verification fails, the updater restores the last accepted release and quarantines the failed commit.

Update and rollback guide · Report verification and scoring

Operator support

Share your public SN2 UID, Git commit, report ID, and any sanitized error in DaniLabs #validators.