Skip to main content

Atomone Sync

Chain ID: atomone-testnet-1 | Node Version: v2.0.0-rc2

Snapshot

Install Dependencies

sudo apt install lz4 && sudo apt install aria2

Stop Service

sudo systemctl stop atomoned

Backup priv_validator_state.json

cp $HOME/.atomone/data/priv_validator_state.json $HOME/.atomone/priv_validator_state.json.backup

Reset Chain Data

atomoned tendermint unsafe-reset-all --home $HOME/.atomone --keep-addr-book

Download Snapshot

aria2c -x 8 -s 8 https://snapshot.shazoes.xyz/testnets/snapshot-atomonetest.tar.lz4 && lz4 -c -d snapshot-atomonetest.tar.lz4 | tar -x -C $HOME/.atomone && rm snapshot-atomonetest.tar.lz4

Restore Backup

mv $HOME/.atomone/priv_validator_state.json.backup $HOME/.atomone/data/priv_validator_state.json

Restart Service

sudo systemctl restart atomoned && sudo journalctl -fu atomoned -o cat