Skip to main content

Snapshot (Coming Soon)

# install lz4
apt update
apt install lz4 -y
systemctl stop crossfid

cp $HOME/.mineplex-chain/data/priv_validator_state.json $HOME/.mineplex-chain/priv_validator_state.json.backup

crossfid tendermint unsafe-reset-all --home $HOME/.mineplex-chain --keep-addr-book
SNAP_NAME=$(curl -s https://testnet.anatolianteam.com/crossfi/ | egrep -o ">cmineplex-mainnet-1_.*\.tar.lz4" | tr -d ">")
curl -L https://testnet.anatolianteam.com/crossfi/${SNAP_NAME} | tar -I lz4 -xf - -C $HOME/.mineplex-chain

mv $HOME/.mineplex-chain/priv_validator_state.json.backup $HOME/.mineplex-chain/data/priv_validator_state.json

systemctl restart crossfid && journalctl -u crossfid -f -o cat