Configure general settings
Initialize and configure moniker
Initialize the node with a human-readable name:
_1jmesd init <your_custom_moniker> # ex., jmesd init michaelscott-node
Monikers can only contain ASCII characters. Using Unicode characters will render your node unreachable by other peers in the network.
You can update your node's moniker by editing the moniker
field in ~/.jmes/config/config.toml
.
Update minimum gas prices
-
Open
~/.jmes/config/app.toml
. -
Modify
minimum-gas-prices
and set the minimum price of gas a validator will accept to validate a transaction and to prevent spam.
The recommended setting is:
minimum-gas-prices = "0.15ujmes"
Example:
_4# The minimum gas prices a validator is willing to accept for processing a_4# transaction. A transaction's fees must meet the minimum of any denomination_4# specified in this config (e.g. 0.25token1;0.0001token2)._4minimum-gas-prices = "0.01133ujmes"
[Optional] Public RPC Configuration
If you would like your node's RPC to be publicly available and serve requests, follow the steps below. This is not compulsory.
-
Open
~/.jmes/config/config.toml
. -
Locate the
RPC Server Configuration Options
section ([rpc]
). -
Change
laddr = "tcp://127.0.0.1:26657"
toladdr = "tcp://<YOUR_PUBLIC_IP_ADDRESS>:26657"
.
_2 # TCP or UNIX socket address for the RPC server to listen on_2 laddr = "tcp://<YOUR_PUBLIC_IP_ADDRESS>:26657" # Example: laddr = "tcp://164.92.191.45:26657"
-
Open
~/.jmes/config/client.toml
. -
Change
node = "tcp://localhost:26657"
tonode = "tcp://<YOUR_PUBLIC_IP_ADDRESS>:26657"
.
_2 # <host>:<port> to Tendermint RPC interface for this chain_2 node = "tcp://<YOUR_PUBLIC_IP_ADDRESS>:26657" # Example: node = "tcp://164.92.191.45:26657"
Set up external_address
in config.toml
In order to be added to the address book in seed nodes, you need to configure external_address
in config.toml
. This addition will prevent continuous reconnections. The default P2P_PORT is 26656
.
-
Open
~/.jmes/config/config.toml
. -
Locate the
P2P Configuration Options
section ([p2p]
). -
Change
external_address = ":26656"
toexternal_address = "<YOUR_PUBLIC_IP_ADDRESS>:26656"
.
_6# Address to advertise to peers for them to dial_6# If empty, will use the same port as the laddr,_6# and will introspect on the listener or use UPnP_6# to figure out the address. ip and port are required_6# example: 159.89.10.97:26656_6external_address = "<YOUR_PUBLIC_IP_ADDRESS>:26656"