LLMs.txt: agent-readable Markdown index of this site at /llms.txt

Unichain Node Snapshots

Use op-reth snapshots to bootstrap Unichain nodes without a full blockchain sync.

Starting a new Unichain node from scratch requires a full blockchain sync, which can take a long time. Restoring a snapshot lets the node start close to the chain head and sync only the remaining blocks.

Snapshot Sources

Allnodes publishes op-reth snapshots for both Unichain networks on PublicNode. Each snapshot has two archives that you restore together:

  • A base archive with historical data. It is updated rarely and has a stable download URL.
  • A part archive with the current database. A new part is published every 24 hours, and its filename includes the block height, so get the latest link from the PublicNode page.

These are full node snapshots. The Unichain Mainnet archive node snapshot is available only to Allnodes bare metal customers.

Snapshot Restoration Process

These instructions assume a Docker Compose setup, such as the one from the Optimism Running a Node With Docker tutorial, run from the directory that contains docker-compose.yml, with op-reth data mounted at ./reth-data and the op-reth service named op-reth. If you do not have a node running yet, follow Set Up a Node.

1. Prepare the data directory

Create the data directory that will store your blockchain data:

mkdir -p ./reth-data

For existing installations, if you have previously run the node, stop it first and clear the existing data:

docker compose down
rm -rf ./reth-data/*

2. Download the snapshot

Download the base archive for your target network from the table above, and the latest part archive for the same network from the PublicNode snapshots page. For Unichain Mainnet:

curl -L -o unichain-reth-base.tar.lz4 https://snapshots.publicnode.com/unichain-reth-base.tar.lz4
curl -L -o unichain-reth-part.tar.lz4 <latest-part-url-from-publicnode>

Important: Ensure sufficient disk space is available. Each archive is tens of gigabytes compressed and expands to a significantly larger size when extracted. Check the current sizes on the PublicNode page before you start.

3. Extract the archives

Extract the base archive first, then the part archive, into the same data directory:

lz4 -dc unichain-reth-base.tar.lz4 | tar -xf - -C ./reth-data
lz4 -dc unichain-reth-part.tar.lz4 | tar -xf - -C ./reth-data

Expected result: The ./reth-data/ directory should contain the op-reth data folders (db and static_files) directly, without additional nesting.

4. Start the node

Launch your Unichain node with the restored data:

docker compose up -d

5. Verify operation

Monitor the node startup and sync process:

docker compose logs -f op-reth

The node should begin syncing from the snapshot's block height rather than genesis. Once operation is confirmed, the downloaded snapshot archives can be deleted to recover disk space.