Upgrade
Current Version
Upgrade Folder
v2.0.0-rc1
v2.0.0-rc1
This guide assumes that the current systemd file is named as selfchain
Downloading and installing Binary
sudo systemctl stop selfchain
# Download Pre-Built Binary
wget -O $HOME/go/bin/selfchaind https://github.com/selfchainxyz/testnet-setup/releases/download/testnet-v2.0.0/selfchaind-linux-amd64
sudo chmod +x $HOME/go/bin/selfchaind
sudo systemctl start selfchain
For Cosmovisor Users
# Downloading and installing Binary
# Download Pre-Built Binary
wget -O $HOME/go/bin/selfchaind https://github.com/selfchainxyz/testnet-setup/releases/download/testnet-v2.0.0/selfchaind-linux-amd64
sudo chmod +x $HOME/go/bin/selfchaind
# Making New Binary Directory and Copying the Daemon
mkdir -p $HOME/.selfchain/cosmovisor/upgrades/v2.0.0-rc1/bin
sudo cp $HOME/go/bin/selfchaind $HOME/.selfchain/cosmovisor/upgrades/v2.0.0-rc1/bin/
#Stop selfchain daemon
sudo systemctl stop selfchain
#creating symlink to new binaries
ls -l $HOME/.selfchain/cosmovisor/current
rm $HOME/.selfchain/cosmovisor/current
ln -s $HOME/.selfchain/cosmovisor/upgrades/v2.0.0-rc1 $HOME/.selfchain/cosmovisor/current
#starting selfchain
sudo systemctl start selfchain && sudo journalctl -u selfchain -f -o cat
Last updated