Snapshot

Snapshot(every six hours)

Pruning: custom/100/0/10 - Indexer: kv

Automatically

#Download desmos_mainnet_snapshot.sh
wget https://snapshot-desmos-mainnet.kjinc.io/desmos-mainnet_snapshot.sh

#Make desmos-mainnet_snapshot.sh executable
chmod +x desmos-mainnet_snapshot.sh

#Execute desmos-mainnet_snapshot.sh
./desmos-mainnet_snapshot.sh

#Delete the snapshot script
rm -v desmos-mainnet_snapshot.sh

Manually

Block num refer to https://snapshot-desmos-mainnet.kjinc.io

#Install lz4
sudo apt update
sudo apt install snapd -y
sudo snap install lz4

#Download snapshot
wget https://snapshot-desmos-mainnet.kjinc.io/desmos-mainnet_[block_num].tar.lz4

#Stop and reset your node
systemctl stop desmosd && desmods tendermint unsafe-reset-all --home $HOME/.desmos --keep-addr-book

#Decompress snapshot
lz4 -c -d desmos-mainnet_[block_num].tar.lz4  | tar -x -C $HOME/.desmos

#Restart your node and monitor
systemctl restart desmosd && journalctl -fu desmosd -o cat

#Remove the snapshot
rm -v desmos-mainnet_[block_num].tar.lz4

Last updated