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.
│-- app.toml # terrad configuration file
│-- client.toml # configurations for the cli wallet (ex terracli)
│-- 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
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
- 2.Initialize the node
seid init $MONIKER --chain-id <Network> -o
# 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 = ""
If your public-facing address is different from the internal address that you're using you need to configure
config.toml. This addition will prevent continuous reconnections. The default p2p-port is
26656(See Run a Sei Node).
sed -i -e 's/external-address = \"\"/external_address = \"'$(curl httpbin.org/ip | jq -r .origin)':26656\"/g' ~/.sei/config/config.toml