Follow these steps to get and set up the latest BSC Reth fullnode snapshot from the Reth Snapshots page.
You have two options to download and extract the snapshot data.
- Download the snapshot file:
aria2c -s4 -x4 -k1024M ${DOWNLOAD_LINK} -o bsc-reth.tar.lz4
- Verify the file's integrity using md5sum:
md5sum bsc-reth.tar.lz4
- Extract the data to the Reth path:
tar -I lz4 -xvf bsc-reth.tar.lz4 -C ${PATH_TO_RETH_DATA}
Use this option to download and extract the data in one step via piping:
wget ${DOWNLOAD_LINK} -O- | tar -I lz4 -xvf - -C ${PATH_TO_RETH_DATA}
After the data has been extracted, you can start your BSC Reth node with the following command:
bsc-reth node \
--datadir=${PATH_TO_RETH_DATA}/server-reth \
--chain=bsc \
--http \
--http.api="eth, net, txpool, web3, rpc" \
--full
bsc-reth node \
--datadir=${PATH_TO_RETH_DATA}/server-reth \
--chain=bsc \
--http \
--http.api="eth, net, txpool, web3, rpc"