cryptomolot docs
  • 💎cryptomolot
  • 🏗️Testnets
    • Alignedlayer
      • How to create Public RPC Alignedlayer
    • Artela
      • How to create Public RPC Artela
    • Celestia
      • Celestia - Validator Node
      • Celestia - Bridge Node
      • How to create Public RPC Celestia
    • 0G (Zero Gravity)
      • 0G RPC Node
      • 0G Storage Node
        • Upgrade storage node 1.0.0
      • 0G DA Node
      • How to create Public RPC 0G
      • Monitoring tool
      • Snapshot
    • Side Protocol
      • How to create Public RPC Side
    • Warden Protocol
    • Story Protocol
      • Upgrade node
      • Cheatsheet
      • Monitoring tool
      • Alerts about your node failures
  • 🚀Mainnets
    • Aptos
      • Tools to monitore your validator
        • Alerts for your validator via telegram public
      • How to move node using snapshot
      • Fullnode security
      • Snapshot
Powered by GitBook
On this page
  • Stop the node
  • Install dependencies
  • Download and extract
  • Backup your priv_validator_state.json
  • Download 0g-snapshot
  • Extract Story-snap
  • Restore your priv_validator_state.json
  • Restart node service
  • Check status
  1. Testnets
  2. 0G (Zero Gravity)

Snapshot

0G snapshot

Updates every 6 hours

indexer=null

Stop the node

sudo systemctl stop 0gd

Install dependencies

sudo apt-get update
sudo apt-get install wget lz4 aria2 -y

Download and extract

Backup your priv_validator_state.json

cp $HOME/.0gchain/data/priv_validator_state.json $HOME/.0gchain/priv_validator_state.json.backup

Download 0g-snapshot

cd $HOME
rm 0g-snap.tar.lz4
aria2c -x 16 -s 16 -o 0g-snap.tar.lz4 https://0g-snap-test.cryptomolot.com/0g-snap.tar.lz4

Extract Story-snap

rm -rf $HOME/.0gchain/data
lz4 -d 0g-snap.tar.lz4 - | tar -xf - -C $HOME/.0gchain

Restore your priv_validator_state.json

cp $HOME/.0gchain/priv_validator_state.json.backup $HOME/.0gchain/data/priv_validator_state.json

Restart node service

sudo systemctl restart 0gd

Check status

curl localhost:26657/status | jq |grep "latest_block_height"

PreviousMonitoring toolNextSide Protocol

Last updated 2 months ago

🏗️