Follow this guide to join an existing network through snapshot sync. To quickly spin up a fresh full node and join the network, it’s recommended to restore from a snapshot instead of replaying all historical blocks.Documentation Index
Fetch the complete documentation index at: https://seilabs.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Snapshot Sync
Snapshot sync allows a new node to join a network by downloading a recent, compressed copy of the entire application state and extracting it directly into the data directory. This reduces the initial sync time from days to minutes.Snapshot Providers
You can select from various providers for downloading snapshots:- Polkachu: Mainnet Snapshots | Testnet Snapshots
- Imperator.co
- Stakeme
- kjnodes
Clean Up & Preparation
If you are not starting a node from fresh, perform the following backups and clean‑ups first.Note: This step is not needed for fresh nodes.
-
Stop the service
-
Backup Validator State (Critical for Validators)
Assuming your sei home directory is
$HOME/.sei, back uppriv_validator_key.jsonandpriv_validator_state.json: -
Reset the State
-
Remove Data and Wasm
Download & Restore
The following commands are generic examples. Please verify the
SNAPSHOT_URL and extraction command from your chosen provider above.Prerequisites
Ensure you have the necessary tools installed (e.g.,lz4, aria2, pv, wget).
Download and Extract
-
Set the Snapshot URL
Replace
<SNAPSHOT_URL>with the link from your chosen provider. -
Download and Extract
Most providers compress the
dataandwasmdirectory directly. The following command streams the download and extracts it into$HOME/.sei.Alternative: Parallel Download with aria2 For faster downloads, especially with large snapshots, you can usearia2cwhich supports parallel connections:You can also usepvto monitor extraction progress:The-x 16flag sets the maximum connections per server, and-s 16splits the file into 16 segments for parallel downloading. You can adjust these values based on your network conditions. -
Restore Validator State
-
Enable SeiDB
Make sure to enable
sei-dbin your config if it’s not already enabled: -
Restart the Node
-
Monitor Logs
Troubleshooting
Q: I can’t download a snapshot. A: Try another time later as these snapshots are refreshed regularly and inform us in the Sei Tech Chat. Q: The snapshot finishes, but I immediately getAppHash errors upon regular block syncing.
A: Make sure that you use the latest version of the node software. This usually means the snapshot version doesn’t match your node version, or the snapshot is corrupted. Ensure you are using the correct binary version for the block height of the snapshot.
Q: “No space left on device”
A: Snapshots require significant disk space to download and extract. Ensure you have enough free space (check with df -h).