Skip to content

Snapshot

Snapshots are created automatically every 12 hours starting from 00:00 UTC
Pruning: 100/0/10 | Indexer: null | Version Tag: v0.16.0

Install tools

sudo apt update && sudo apt install lz4 -y

Stop the service and reset the data

sudo systemctl stop cardchaind
cp $HOME/.cardchaind/data/priv_validator_state.json $HOME/.cardchaind/priv_validator_state.json.backup
cardchaind tendermint unsafe-reset-all --home $HOME/.cardchaind --keep-addr-book

Download latest snapshot

curl -o - -L https://snapshots.moonbridge.team/testnet/cardchain/snapshot_latest.tar.lz4 | lz4 -dc - | tar -x -C $HOME/.cardchaind
mv $HOME/.cardchaind/priv_validator_state.json.backup $HOME/.cardchaind/data/priv_validator_state.json

Start the service and check the logs

sudo systemctl start cardchaind && sudo journalctl -u cardchaind -f --no-hostname -o cat