Snapshot

Stop the service and reset the 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 latest snapshot

curl -L https://snapshots.coinhunterstr.com/mainnet/mantra/snapshot_latest.tar.lz4 | lz4 -c -d - | tar -x -C $HOME/.mantrachain
mv $HOME/.mantrachain/priv_validator_state.json.backup $HOME/.mantrachain/data/priv_validator_state.json

Restart the service and check the log

sudo systemctl restart mantrachaind && sudo journalctl -u mantrachaind -f --no-hostname -o cat

Last updated