There are 2 methods to sync your testnet node.
For more information on installation and launch, please see here.
Before you start services to sync, follow the steps below to use the snapshot:
To download okbchain source code and compile.
To download, unpack the TAR GZ file in the data directory, and start the RPC node, run the following command:
# 1. Initialize okbchain node configurationsexport OKBCHAIND_PATH=~/.okbchaind (or other directory)
okbchaind init your_custom_moniker --chain-id okbchaintest-195 --home ${OKBCHAIND_PATH}
# 2. download snapshot
rm -rf ${OKBCHAIND_PATH}/data
cd ${OKBCHAIND_PATH}
# 3. the snapshot link coming soon
wget https://okg-pub-hk.oss-cn-hongkong.aliyuncs.com/cdn/okbc/snapshot/testnet-$version-$date-$height-rocksdb.tar.gz
tar -zxvf testnet-$version-$date-$height-rocksdb.tar.gz
# 4. start okbchaind
For more information on installation and launch, please see here.
make rocksdb
to help. You can try it in the okbchain folder.