Skip to content

Validator Galileo Snapshot ​

🔐 Security Notes

This snapshot includes only:

  • data/ directory for 0gchaind

  • geth/ directory for EVM

  • genesis.json (required)

It does NOT contain:

  • priv_validator_key.json (validator signing key)

  • node_key.json (p2p ID)

â„šī¸ Snapshot Info

You can download the latest two snapshots from the AstroStake Validator Snapshot Vault.

Block Height: 2,809,299

Size:

  • 0gchaind_snapshot_20250626-090816.tar.lz4 – Cosmos state 30.73 GB
  • geth_snapshot_20250626-090816.tar.lz4 – EVM state 70.58 GB

1. Download Snapshot ​

bash
mkdir -p ~/snapshot
cd ~/snapshot

FILE_0GCHAIN="0gchaind_snapshot_20250626-090816.tar.lz4"
FILE_GETH="geth_snapshot_20250626-090816.tar.lz4"

if [ ! -f "$FILE_0GCHAIN" ]; then
    echo "$FILE_0GCHAIN not found. Downloading..."
    wget https://vault.astrostake.xyz/testnet/0g-labs/validator-snapshot/"$FILE_0GCHAIN"
else
    echo "$FILE_0GCHAIN already exists. Skipping download."
fi

if [ ! -f "$FILE_GETH" ]; then
    echo "$FILE_GETH not found. Downloading..."
    wget https://vault.astrostake.xyz/testnet/0g-labs/validator-snapshot/"$FILE_GETH"
else
    echo "$FILE_GETH already exists. Skipping download."
fi

2. Stop node ​

bash
sudo systemctl stop geth # Or: sudo systemctl stop 0ggeth
sudo systemctl stop 0gchaind

Optional: Backup

bash
mv ~/.0gchaind/galileo/0g-home/0gchaind-home/data ~/.0gchaind/galileo/0g-home/0gchaind-home/data.bak.$(date +%s)
mv ~/.0gchaind/galileo/0g-home/geth-home/geth ~/.0gchaind/galileo/0g-home/geth-home/geth.bak.$(date +%s)

🧭 Note: If you're using ~/galileo/0g-home/ instead of ~/.0gchaind/galileo/0g-home/, adjust the paths accordingly.

3. Delete Old Data ​

bash
rm -rf ~/.0gchaind/galileo/0g-home/0gchaind-home/data
rm -rf ~/.0gchaind/galileo/0g-home/geth-home/geth

4. Extract Snapshot ​

bash
pv 0gchaind_snapshot_20250626-090816.tar.lz4 | lz4 -d | tar xf - -C ~/.0gchaind/galileo/0g-home/
pv geth_snapshot_20250626-090816.tar.lz4 | lz4 -d | tar xf - -C ~/.0gchaind/galileo/0g-home/

🧭 Note: If you're using ~/galileo/0g-home/ instead of ~/.0gchaind/galileo/0g-home/, adjust the paths accordingly.

5. Start Node ​

bash
sudo systemctl start 0gchaind
sudo systemctl start geth # Or: sudo systemctl start 0ggeth