Worldchain

The snapshot service for Worldchain is available here.

Whether you need to bootstrap your full node, you can use our daily snapshot service to speed up the process.

Note: the nodes used for snapshotting are using the archive pruning values of Worldchain and are hosted as Systemd services on machines using Ubuntu 22.04.

How to use

You simply go to our worldchain snapshot service and you can download the latest available snapshot! In order to use it, simply decompress the archive as per the following instructions and start your node.

1. Download the snapshot

$wget <WORLDCHAIN_SNAPSHOT_URL>

2. Stop your Worldchain service

If Worldchain was already running on your machine, stop your services:

$sudo systemctl stop <WORLDCHAIN_GETH_SERVICE>
>sudo systemctl stop <WORLDCHAIN_OP_NODE_SERVICE>

OR if you are using the recommended docker compose setup:

$docker compose down

Make sure there is no process running that might try to write to the database.

3. Clean the data directory

Make sure your Worldchain data directory is clean (let us assume <WORLDCHAIN_HOME> is your root Worldchain directory):

$rm -rf <WORLDCHAIN_HOME>/geth/chaindata
>rm -rf <WORLDCHAIN_HOME>/geth/lightchaindata

4. Install lz4 and decompress the archive

$sudo apt-get install lz4
$lz4 -c -d <WORLDCHAIN_SNAPSHOT_NAME>.tar.lz4 | tar -x -C <WORLDCHAIN_HOME>/geth/

5. Start the Worldchain service or container

You should be in-sync with the network in minutes after starting the node.

Please make sure to also check the Official Documentation and the Github Repository posted above in order to correctly deploy the node of your choice.