Cosmosvisor

KOPI image

Update & upgrade tools:

sudo apt update && sudo apt upgrade -y
sudo apt install make net-tools curl git wget htop tmux build-essential jq make lz4 gcc unzip -y

Install GO:

cd $HOME
VER="1.23.2"
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"
[ ! -f $HOME/.bash_profile ] && touch $HOME/.bash_profile
echo "export PATH=$PATH:/usr/local/go/bin:$HOME/go/bin" >> $HOME/.bash_profile
source $HOME/.bash_profile
[ ! -d $HOME/go/bin ] && mkdir -p $HOME/go/bin

or just this to use go on other user:

[ ! -f $HOME/.bash_profile ] && touch $HOME/.bash_profile
echo "export PATH=$PATH:/usr/local/go/bin:$HOME/go/bin" >> $HOME/.bash_profile
source $HOME/.bash_profile
[ ! -d $HOME/go/bin ] && mkdir -p $HOME/go/bin

Cloning Kopi repository and installing it locally:

v0.6.5 (Mainnet)

Check Kopi version

result

Configure Cosmovisor:

Download and install Cosmovisor

INITIA NODE:

Set var:

with port=12xxx

config and init app

Custom Port:

set custom ports in app.toml

set custom ports in config.toml file

Downloading genesis and adjust config files...:

Setting pruning

Disable indexer

Enable Prometheus

Downloading chain data:

Create service:

Service:

Stop service:

CHECK:

Check status:

Check log:

Check Sync:

Check validator info:

Delete node:

Make sure you have backup your validator before do this action:

END

Last updated