install_node

StaFi validator node

Official documentation:

Validator setup instructions

Explorer:

https://testnet-explorer.stafihub.io/stafi-hub-testnet

Install guide

Update packages

sudo apt update && sudo apt upgrade -y

Install dependencies

sudo apt install curl tar wget clang pkg-config libssl-dev jq build-essential bsdmainutils git ncdu git jq liblz4-tool -y

Install go

ver="1.18.2"
cd $HOME && \
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 GOROOT=/usr/local/go" >> ~/.bash_profile && \
echo "export GOPATH=$HOME/go" >> ~/.bash_profile && \
echo "export GO111MODULE=on" >> ~/.bash_profile && \
echo "export PATH=$PATH:/usr/local/go/bin:$HOME/go/bin" >> ~/.bash_profile && \
source ~/.bash_profile && \
go version

Download and build binaries

Init app

Download genesis

Config app

Set up seeds and peers

Set up gRPC and API

Config pruning

Disable indexing

Set min gas price

Enable/Disable snapshot (optional)

Enable state sync (optional)

Change port (optional)

Enable prometheus (optional)

Reset chain data

Create service

Register and start service

Check synchronization status ("catching_up": false is synced)

Create wallet (!Safe your mnemonic)

To recover your wallet using seed phrase (optional)

Check balance

Create validator

Show address validator

Check validator status

Usefull command

Synchronization info

Node info

Show node id

Get wallet balance

Transfer funds

Voting

Delegate stake

Withdraw all rewards

Withdraw rewards with commision

Edit validator

Unjail validator

Delete node

Last updated