Six Sigma

SERVICE
CLI

Safe Block

Staking Service

SGE SNAPSHOT SETUP

# INSTALL LZ4
sudo apt update
sudo apt install lz4 -y
# STOP SGE NODE
sudo systemctl stop sged
# KEYS BACKUP
# If you are a Validator remember to backup your keys priv_validator_key.json and node_key.json
mkdir $HOME/backup
cp $HOME/.sge/config/priv_validator_key.json $HOME/backup
cp $HOME/.sge/config/node_key.json $HOME/backup
# RESET SGE NODE
sged tendermint unsafe-reset-all --home $HOME/.sge
# DOWNLOAD AND EXTRACT SNAPSHOT AND ADDRBOOK.JSON
wget https://snapshot.safeblock.space/sge/addrbook.json -P $HOME/.sge/config
wget https://snapshot.safeblock.space/sge/sge-snapshot_10-04-2024.tar.lz4
lz4 -c -d sge-snapshot_10-04-2024.tar.lz4 | tar -x -C $HOME/.sge
rm sge-snapshot_10-04-2024.tar.lz4
# START SGE NODE
sudo systemctl start sged


# CHECK IF NODE HAS STARTED
sudo journalctl -fu sged -o cat
# (Ctrl+C To Exit)

sudo journalctl -fu sged -o cat | grep index

# (Ctrl+C To Exit)

http://0.0.0.0:26657/status | jq -r .result.sync_info.catching_up

If response is “true”, you not are synched, wait….
When response is “false”, your node are synched to SGE Network