💾 Installation

Update system and install build tools

sudo apt update && sudo apt upgrade -y
sudo apt install curl iptables build-essential git wget jq make gcc nano tmux htop nvme-cli pkg-config libssl-dev libleveldb-dev tar clang bsdmainutils ncdu unzip libleveldb-dev -y

Install GO

sudo rm -rf /usr/local/go
curl -Ls https://go.dev/dl/go1.24.2.linux-amd64.tar.gz | sudo tar -xzf - -C /usr/local
eval $(echo 'export PATH=$PATH:/usr/local/go/bin' | sudo tee /etc/profile.d/golang.sh)
eval $(echo 'export PATH=$PATH:$HOME/go/bin' | tee -a $HOME/.profile)
echo "export PATH=$PATH:/usr/local/go/bin:$HOME/go/bin" >> $HOME/.bash_profile
source $HOME/.bash_profile
go version

Download binary files

# Download Binary
cd $HOME
wget -O selfchaind https://github.com/hotcrosscom/Self-Chain-Releases/releases/download/mainnet-v2.0.0/selfchaind-linux-amd64
chmod +x selfchaind

# Prepare binaries for Cosmovisor
mkdir -p $HOME/.selfchain/cosmovisor/genesis/bin
mv $HOME/selfchaind $HOME/.selfchain/cosmovisor/genesis/bin/

# Create application symlinks
ln -s $HOME/.selfchain/cosmovisor/genesis $HOME/.selfchain/cosmovisor/current
sudo ln -s $HOME/.selfchain/cosmovisor/current/bin/selfchaind /usr/local/bin/selfchaind

We initialize the node to create the necessary configuration files

Download Genesis

At this stage, we can download the address book

Set up node configuration

Set up pruning

Set up indexer

Create a service file

circle-info

IIf peers are not connected for a long time, then you need to use state synchronization or loading from a snapshot.

Last updated