💻Light node

Officially stated requirements: 2/4/100 ubuntu 22.04

Server preparation

apt update && apt upgrade -y
apt install curl iptables build-essential git wget jq make gcc nano tmux htop nvme-cli pkg-config libssl-dev libleveldb-dev libgmp3-dev tar clang bsdmainutils ncdu unzip llvm libudev-dev make protobuf-compiler -y
ver="1.22.1" && \
wget "https://golang.org/dl/go$ver.linux-amd64.tar.gz" && \
sudo rm -rf /usr/local/go && \
sudo tar -C /usr/local -xzf "go$ver.linux-amd64.tar.gz" && \
rm "go$ver.linux-amd64.tar.gz" && \
echo "export PATH=$PATH:/usr/local/go/bin:$HOME/go/bin" >> $HOME/.bash_profile && \
source $HOME/.bash_profile && \
go version

Installing Ubuntu 22.04

Light node does not create transactions, but verifies and relays transactions created by wallets or other nodes

The Nubit team took care of us and Light nodes can be installed with a simple command

tmux new-session -s nubit_light_node
curl -sL1 https://nubit.sh | bash

If you see mnemonics and PUBKEY after launch, then Light nodes has been successfully launched

Don't forget to save your wallet details!!!

If you prefer manual installation, then use the official documentation - https://docs.nubit.org/nubit-da/run-a-node-advanced/make-prerequisities

IMPORTANT - After installing light node, you must register your participation on the website https://alpha.nubit.org/#/

Useful Light node commands

# check status and blocks
$HOME/nubit-node/bin/nubit das sampling-stats --node.store $HOME/.nubit-light-nubit-alphatestnet-1

# show wallet address
$HOME/nubit-node/bin/nubit state account-address  --node.store $HOME/.nubit-light-nubit-alphatestnet-1

# show list of wallets
$HOME/nubit-node/bin/nkey list --p2p.network nubit-alphatestnet-1 --node.type light

# remove Light node
rm -rf $HOME/nubit-node
rm -rf $HOME/.nubit-light-nubit-alphatestnet-1

Last updated