The snapshot service for Unichain is available here.
Whether you need to bootstrap your full node, you can use our snapshot service to speed up the process.
Note: the nodes used for snapshotting are using the archive pruning values of Unichain and are hosted as Systemd services on machines using Ubuntu 22.04.
Go to our Unichain snapshot service and download the latest available snapshot. Decompress the archive as per the following instructions and start your node.
1. Download the snapshot
wget <UNICHAIN_SNAPSHOT_URL>2. Stop your Unichain service
If Unichain was already running on your machine, stop your services:
sudo systemctl stop <UNICHAIN_GETH_SERVICE>
sudo systemctl stop <UNICHAIN_OP_NODE_SERVICE>OR if you are using the recommended docker compose setup:
docker compose downMake sure there is no process running that might try to write to the database.
3. Clean the data directory
Make sure your Unichain data directory is clean (let us assume <UNICHAIN_HOME> is your root Unichain directory):
rm -rf <UNICHAIN_HOME>/geth/chaindata4. Install lz4 and decompress the archive
sudo apt-get install lz4lz4 -c -d <UNICHAIN_SNAPSHOT_NAME>.tar.lz4 | tar -x -C <UNICHAIN_HOME>/geth/5. Start the Unichain service or container
You should be in-sync with the network in minutes after starting the node.
Also check the official documentation and the GitHub repository posted above to correctly deploy the node of your choice.