Configure General Settings

The following information describes the most important node configuration settings found in the ~/.gamelu/config/ directory. It is recommended that you update these settings with your information.

Structure of ~/.gameluk/config

Genesis File

To get the Genesis file for a certain network, please see other resources

Initialize and configure the moniker

A Moniker is the custom username of your node, it should be human-readable. It's set at the time of node setup and can be used to provide more descriptive or friendly names to identify nodes, as opposed to using IP addresses or public key hashes which can be hard to remember or recognize.

  1. Set your custom moniker

export MONIKER="YOUR_MONIKER"
  1. Initialize the node

gameid init $MONIKER --chain-id <Network> -o

Different types of peers in ~/.game/config/config.toml

# Comma-separated list of peers to be added to the peer store
# on startup. Either BootstrapPeers or PersistentPeers are
# needed for peer discovery
bootstrap-peers = ""

# Comma-separated list of nodes to keep persistent connections to
persistent-peers = ""

# List of node IDs, to which a connection will be (re)established ignoring any existing limits
unconditional-peer-ids = ""

Set up external-address in config.toml

If your public-facing address is different from the internal address that you're using you need to configure external-address it in config.toml. This addition will prevent continuous reconnections. The default p2p-port is 26656(See Run a Gameluk Node).

sed -i -e 's/external-address = \"\"/external_address = \"'$(curl httpbin.org/ip | jq -r .origin)':26656\"/g' ~/.sei/config/config.toml

Last updated