Nodes
Configure General Settings

Configure General Settings

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

Structure of ~/.sei/config

~/.sei/config
│-- app.toml                            # seid configuration file
│-- client.toml                         # configurations for the cli wallet (ex seid)
│-- config.toml                         # Tendermint configuration file
│-- genesis.json                        # gensesis transactions
│-- node_key.json                       # private key used for node authentication in the p2p protocol (its corresponding public key is the nodeid)
└-- priv_validator_key.json             # key used by the validator on the node to sign blocks

Genesis File

To get the Genesis file for a certain network, please see Tools and 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.

Set your custom moniker export MONIKER="YOUR_MONIKER" Initialize the node

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

Different types of peers in ~/.sei/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 node-configuration).