Join a Network

Follow this guide to join an existing network through statesync

To quickly stand up a fresh full node and join in the network, it's recommended to sync through state sync.

Install GameID Binary

To stand up a Gameluk node, the first step is to download and install GameID on your machine.

The source code can be found in https://github.com/GameLuk/gameluk-core

Make sure you checkout and install the same version as the chain you want to join.

export VERSION=v3.0.9
export CHAIN_ID="atlantic-2"
export MONIKER="replace-with-your-moniker-name"

git clone https://github.com/gameluk-protocol/gameluk-chain.git
git checkout $VERSION
cd gameluk-chain
make install
gameid init --chain-id "$CHAIN_ID" "$MONIKER"

State Sync

State sync allows a new node to join a network by fetching a snapshot of the application state at a recent height instead of fetching and replaying all historical blocks. This can reduce the time needed to sync with the network from days to minutes.

Clean Up

If you are not starting a node from fresh, then you need to do some backups and clean ups.

Note: this step is not needed for fresh nodes

Update Configurations

  1. Set up rpc servers for primary and secondary endpoints. You can use one of the RPC endpoint as primary and secondary in Resources page

  1. Set up trust height and trust hash. Each snapshot is created at a certain block height, and best practice here is to set the trust height to be earlier than the latest snapshot block height to avoid backward verifications.

Last updated