Upgrade

Current Version
Upgrade Folder

v1.0.0

v1.0.0

This guide assumes that the current systemd file is named as atomone

Downloading and installing Binary

sudo systemctl stop atomone
cd $HOME
git clone https://github.com/atomone-hub/atomone.git 
cd atomone
git pull
git checkout v1.0.0
make install

sudo systemctl start atomone

For Cosmovisor Users

# Downloading and installing Binary
cd $HOME
git clone https://github.com/atomone-hub/atomone.git 
cd atomone
git pull
git checkout v1.0.0
make install

# Making New Binary Directory and Copying the Daemon
mkdir -p $HOME/.atomone/cosmovisor/upgrades/v1.0.0/bin
sudo cp $HOME/go/bin/atomoned $HOME/.atomone/cosmovisor/upgrades/v1.0.0/bin/

#Stop atomone daemon
sudo systemctl stop atomone

#creating symlink to new binaries
ls -l $HOME/.atomone/cosmovisor/current
rm $HOME/.atomone/cosmovisor/current
ln -s $HOME/.atomone/cosmovisor/upgrades/v1.0.0 $HOME/.atomone/cosmovisor/current

#starting atomone
sudo systemctl start atomone && sudo journalctl -u atomone -f -o cat

Last updated