<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Fast Sync with Mainnet - Kaia CCO Onboarding - Mainnet</title><link>https://workshop-temp.node.kaia.io/mainnet/30_download_chaindata/index.html</link><description>Kaia has been snapshotting Mainnet chaindata once a day. In this chapter, we are going to explore where the snapshot is stored, and the latest chaindata snapshot of Mainnet will be used to sync as fast as possible. Please click the next button > on the right side of this page.</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Mon, 11 Jul 2022 15:43:06 +0900</lastBuildDate><atom:link href="https://workshop-temp.node.kaia.io/mainnet/30_download_chaindata/index.xml" rel="self" type="application/rss+xml"/><item><title>Download the latest Mainnet chaindata</title><link>https://workshop-temp.node.kaia.io/mainnet/30_download_chaindata/10_download_chaindata/index.html</link><pubDate>Mon, 11 Jul 2022 15:42:53 +0900</pubDate><guid>https://workshop-temp.node.kaia.io/mainnet/30_download_chaindata/10_download_chaindata/index.html</guid><description>1. Download the latest chaindata snapshot from the Mainnet snapshot archive. 0) Before proceeding, please check if your disk space is enough to store and extract the Mainnet chaindata. ** You can refer to the chaindata size via Mainnet snapshot archive, which lists every published snapshot with its compressed size, its extracted size and its checksum.
1) Download the snapshot ** Please note that this step will take a lot of time to download: the snapshot is over 2.2 TB compressed and expands to about 2.8 TB, so we recommend using a temporary disk for downloading. If you want to reduce the time, please refer the next step.
** The latest chaindata name can be different with this example due to the date information. $ URL=`curl -s https://snapshots.node.kaia.io/mainnet/pruning-chaindata/latest.txt` $ echo $URL https://kaia-chaindata-r2-logging.kaia-foundation.workers.dev/mainnet/pruning/kaia-mainnet-pruning-chaindata-20260918010012.tar.zst $ wget $URL</description></item><item><title>Extract the chaindata</title><link>https://workshop-temp.node.kaia.io/mainnet/30_download_chaindata/20_unarchive_chaindata/index.html</link><pubDate>Mon, 11 Jul 2022 15:43:06 +0900</pubDate><guid>https://workshop-temp.node.kaia.io/mainnet/30_download_chaindata/20_unarchive_chaindata/index.html</guid><description>2. Extract the downloaded chaindata to the DATA_DIR (/kaia/kcnd/data). $ sudo tar --zstd -C /kaia/kcnd/data -xvf kaia-mainnet-pruning-chaindata-20260918010012.tar.zst --exclude klay/chaindata/receipts ** Snapshots are compressed with zstd, so tar needs --zstd. If your tar was built without it, run sudo yum install zstd and extract in two steps: zstd -d &lt;file>.tar.zst -o out.tar &amp;&amp; sudo tar -C /kaia/kcnd/data -xf out.tar --exclude klay/chaindata/receipts.
** If the disk has no room for both the archive and the directory it expands into, download and extract in one pass instead of doing step A first. $ URL=`curl -s https://snapshots.node.kaia.io/mainnet/pruning-chaindata/latest.txt` $ curl -s $URL | sudo tar --zstd -C /kaia/kcnd/data -xf - --exclude klay/chaindata/receipts</description></item></channel></rss>