Join Network

Refer to this guide for instructions on becoming a part of an existing network using statesync

For a swift setup of a new full node and seamless network integration, it's advisable to synchronize via state sync.

Install Rapidd Binary

To initialize a Rapid node, the initial action involves downloading and installing the "rapidd" software onto your system.

You can access the source code at https://github.com/RapidChainIO/rapid-chain.git

Ensure that you select and install the identical version as the chain you intend to become a part of.

export CHAIN_ID="rapid_1973-1"
export MONIKER="replace-with-your-moniker-name"
git clone https://github.com/RapidChainIO/Rapid-Chain.git
cd rapid-chain
make install
rapidd init --chain-id "$CHAIN_ID" "$MONIKER"

State Sync

State sync enables a fresh node to connect to a network by retrieving a snapshot of the application state at a recent block height, rather than fetching and processing all historical blocks. This approach can significantly reduce the synchronization time from days to mere minutes.

  • Install Binary

We need to install the binary first and make sure that the version is the one currently in use on testnet.

  • Enable State Sync

We can configure Tendermint to use state sync in $DAEMON_HOME/config/config.toml.

  • Start the daemon: rapidd start If you are resetting node, run rapidd unsafe-reset-all or rapidd tendermint unsafe-reset-all --home ~/.HOME before you start the daemon.

Enable Snapshot For State Sync

To make state sync works, we can enable snapshot in $DAEMON_HOME/config/app.toml

Last updated