OXEN Full Node Install

Used the official full service node setup guide.

Prepare system

Make sure system is up to date:

sudo apt update && sudo apt upgrade -y

Make sure ports are open:

sudo ufw allow 22020
sudo ufw allow 22021
sudo ufw allow 22022
sudo ufw allow 22025
sudo ufw allow 1090/tcp

Set up repository (replace "jammy" with whatever distro):

sudo curl -so /etc/apt/trusted.gpg.d/oxen.gpg https://deb.oxen.io/pub.gpg
echo "deb https://deb.oxen.io jammy main" | sudo tee /etc/apt/sources.list.d/oxen.list
sudo apt update

Install OXEN node

sudo apt install oxen-service-node

Manually download the blockchain:

sudo oxend-download-lmdb https://public.loki.foundation/loki/data.mdb

Restart OXEN:

sudo systemctl restart oxen-node

Register node

oxend prepare_registration

This will output something like:

register_service_node 4294967292 T6TCCyDgjjbddtzwNGryRJ5HntgGYvqZTagBb2mtHhn7WWz7i5JDeqhFiHqu7ret56411ZJS7Thfeis718bVteBZ2UA6Y7G2d 4294967292 100.000000000 1535677391 ec3895ea70a4a91b5ec4b5e1df96a45e07046f1fb0123c754d98fb2d70f4529d 5bb35d7b8ab1acb943bc47913ada8f9d2e6d6e22264e57484a04c1bbfd461f0ee2e5435454cd9b7059b221eb506ce9ea4537ddd9faf1f1757e0ef611a41c0609

Open the OXEN GUI wallet and paste the actual outputted register_service_node into the Registration subsection.

Backup

Take note of the public key with:

oxend print_sn_key

Take note of the private key with:

oxen-sn-keys show /var/lib/oxen/key_ed25519

Restore from private key with:

oxen-sn-keys restore /var/lib/oxen/key_ed25519

Unlock

Request stake unlock with:

request_stake_unlock <service node key>

Maintenance

Verify status of OXEN node with:

oxend status or oxend print_sn_status

Verify log output of OXEN node with:

sudo journalctl -u oxen-node -af
sudo journalctl -u oxen-storage-server -af
sudo journalctl -u lokinet-router -af

See additional commands with:

oxend help

Restart OXEN node with:

sudo systemctl restart oxen-node
sudo systemctl restart oxen-storage-server
sudo systemctl restart lokinet-router

Monitoring

Monitor service nodes on Telegram with @OxenSNBot or @LokiSNBot. The code is available on Github.

Calculate node rewards at imaginary.stream or see raw node stats.

See general SN statistics at oxensn.

Overview of OXEN network and distribution at the dashboard.

Node staking and contribution stats on the observer.