
Shield Crypto's
Snapshot Services
Speed up your Namada node synchronization and indexer setup with our fast, reliable snapshot services.
Setup your Namada infrastructure faster
For Node Operators
Whether you want to setup your own Namada Validator or simply your own RPC node or run your own instance of Namadillo interface, with our snapshots you can skip the long synchronization process and get up and running in hours instead of days.
"Thank you for the Namada Snapshot. I had to restore my Namada validator due to a hardware failure and the snapshot saved me hours of syncing time."
The cometbft and DB snapshots are designed to help you quickly set up a Namada node (either a full validator or a simple node) and get it up and running in hours instead of days. By downloading our latest snapshot, you can skip the long synchronization process and start interacting with the Namada blockchain immediately.
The following script provides step-by-step instructions to restore your Namada node using our snapshots. It includes commands to stop your node, back up your validator state, delete old data, download and verify the new snapshots, and start your node again. Always remember to verify the checksums of the downloaded snapshots before using them to ensure their integrity. If desired, the snapshots can also be downloaded and restored manually by using the provided download buttons.
Setup Guide
#!/bin/sh
set -e
NAMADA_PATH=$HOME/.local/share/namada/namada.5f5de2dd1b88cba30586420
# URL to fetch snapshot details
URL="https://namada-snapshot.shield-crypto.com/snapshot-details.json"
# Install required dependencies
sudo apt-get install wget lz4 -y
# Stop your node
sudo service namadad stop
# Back up your validator state
sudo cp $NAMADA_PATH/cometbft/data/priv_validator_state.json $NAMADA_PATH/priv_validator_state.json.backup 2>/dev/null || true
# Delete previous db and data folders
sudo rm -rf $NAMADA_PATH/db
sudo rm -rf $NAMADA_PATH/cometbft/data
# Download db and data snapshots
wget -O db.lz4 https://namada-snapshot.shield-crypto.com/db.lz4
wget -O data.lz4 https://namada-snapshot.shield-crypto.com/data.lz4
# Fetch JSON and extract checksums
echo "Fetching snapshot details..."
JSON=$(curl -s "$URL")
DB_CHECKSUM=$(echo "$JSON" | jq -r '.dbchecksum')
DATA_CHECKSUM=$(echo "$JSON" | jq -r '.datachecksum')
echo "Expected DB checksum: $DB_CHECKSUM"
echo "Expected DATA checksum: $DATA_CHECKSUM"
echo "Checking db.lz4 ..."
DB_LOCAL=$(sha256sum db.lz4 | awk '{print $1}')
if [ "$DB_LOCAL" = "$DB_CHECKSUM" ]; then
echo "✅ $DB_FILE is valid"
else
echo "❌ db.lz4 is corrupted (expected $DB_CHECKSUM, got $DB_LOCAL)"
exit 1
fi
echo "Checking data.lz4 ..."
DATA_LOCAL=$(sha256sum data.lz4 | awk '{print $1}')
if [ "$DATA_LOCAL" = "$DATA_CHECKSUM" ]; then
echo "✅ data.lz4 is valid"
else
echo "❌ data.lz4 is corrupted (expected $DATA_CHECKSUM, got $DATA_LOCAL)"
exit 1
fi
# Decompress db and data snapshots
lz4 -c -d db.lz4 | tar -xv -C $NAMADA_PATH
lz4 -c -d data.lz4 | tar -xv -C $NAMADA_PATH/cometbft
# Delete downloaded db and data snapshots
sudo rm -v db.lz4
sudo rm -v data.lz4
# Restore your validator state
sudo cp $NAMADA_PATH/priv_validator_state.json.backup $NAMADA_PATH/cometbft/data/priv_validator_state.json 2>/dev/null || true
# Start your node
sudo service namadad start Download Snapshot
Loading details...
Indexer Databases
Database dumps for the namada-indexer and namada-masp-indexer services. Skip weeks of synchronization by restoring from a snapshot.
Namada indexer and MASP indexers, along with a namada RPC node, are the required backend services for Namadaillo Interface. Use these snapshots to quickly set up and run the required backend services.
Like the Namada snapshots, an utility script is available to automate the restoration process, as well as manual download buttons.
Restoration Guide
# Namada Indexer
SNAPSHOT_URL=https://namada-snapshot.shield-crypto.com/namada-indexer.sql.lz4
DB_NAME=namada-indexer
# MASP Indexer
#SNAPSHOT_URL=https://namada-snapshot.shield-crypto.com/masp-indexer.sql.lz4
#DB_NAME=masp_indexer_local
wget -O dump.sql.lz4 $SNAPSHOT_URL
docker compose down
docker compose up -d postgres
docker compose cp dump.sql.lz4 postgres:/tmp/dump.sql.lz4
docker compose exec postgres dropdb -p 5433 "$DB_NAME"
docker compose exec postgres createdb -p 5433 "$DB_NAME"
lz4 -d /tmp/dump.sql.lz4 | docker compose exec -T postgres psql -p 5433 -d "$DB_NAME" -v ON_ERROR_STOP=1
docker compose exec postgres rm tmp/dump.sql.lz4
docker compose up -d Download Snapshots
Loading details...
Loading details...