Snapshot
Install Package
sudo apt update
sudo apt-get install snapd lz4 -y
Reset Data
sudo systemctl stop mantrachaind
cp $HOME/.mantrachain/data/priv_validator_state.json $HOME/.mantrachain/priv_validator_state.json.backup
rm -rf $HOME/.mantrachain/data
Download Snapshot
SNAP_NAME=$(curl -s https://ss-t.mantra.nodestake.top/ | egrep -o ">20.*\.tar.lz4" | tr -d ">")
curl -o - -L https://ss-t.mantra.nodestake.top/${SNAP_NAME} | lz4 -c -d - | tar -x -C $HOME/.mantrachain
mv $HOME/.mantrachain/priv_validator_state.json.backup $HOME/.mantrachain/data/priv_validator_state.json
Restart Service
sudo systemctl restart mantrachaind && sudo journalctl -fu mantrachaind -o cat