Downloading and installing Binary
sudo systemctl stop functionx
cd $HOME
git clone https://github.com/functionx/fx-core
cd fx-core
git pull
git checkout v8.4.0-rc4
make install
sudo systemctl start functionx
# Downloading and installing Binary
cd $HOME
git clone https://github.com/functionx/fx-core
cd fx-core
git pull
git checkout v8.4.0-rc4
make install
# Making New Binary Directory and Copying the Daemon
mkdir -p $HOME/.fxcore/cosmovisor/upgrades/v8.4.x/bin
sudo cp $HOME/go/bin/fxcored $HOME/.fxcore/cosmovisor/upgrades/v8.4.x/bin/
#Stop functionx daemon
sudo systemctl stop functionx
#creating symlink to new binaries
ls -l $HOME/.fxcore/cosmovisor/current
rm $HOME/.fxcore/cosmovisor/current
ln -s $HOME/.fxcore/cosmovisor/upgrades/v8.4.x $HOME/.fxcore/cosmovisor/current
#starting functionx
sudo systemctl start functionx && sudo journalctl -u functionx -f -o cat