Node Setup
Instruction to install and configure the ggezchaind binary.
Install Requirements
Install necessary tools
sudo apt update
sudo apt install -y gcc build-essentialInstall Go
Follow these instructions to install Go.
wget https://golang.org/dl/go1.21.13.linux-amd64.tar.gz
sudo tar -C /usr/local -xzf go1.21.13.linux-amd64.tar.gzThen set these in the .profile in the user's home (i.e. ~/) folder:
export GOROOT=/usr/local/go
export GOPATH=$HOME/go
export PATH=$PATH:/usr/local/go/bin:$HOME/go/binAfter updating your ~/.profile you will need to source it:
source ~/.profileInstall Cosmovisor
In the .profile file, usually located at ~/.profile, add:
Run cosmovisor version to check the cosmovisor version.
Install Ignite CLI
Install ggezchaind Binary
Build ggezchaind binary.
Extract build file.
Now run ./ggezchaind -h to check it.
Configure ggezchaid
Initialize Chain
Choose a custom moniker for the node and initialize. By default, the init command creates the ~/.ggezchain directory with subfolders config and data. In the /config directory, the most important files for configuration are app.toml and config.toml.
Genesis File
Once the node is initialized, download the genesis file and move to the /config directory of the ggezchain home directory.
Seeds & Peers
Upon startup the node will need to connect to peers. If there are specific nodes a node operator is interested in setting as seeds or as persistent peers, this can be configured in ~/.ggezchain/config/config.toml .
Gas Prices
For mainnet, the recommended minimum-gas-prices is 0.4uggez1.
REST API
By default, the REST API is disabled. To enable the REST API, edit the ~/.ggezchain/config/app.toml file, and set enable to true in the [api] section.
GRPC
By default, gRPC is enabled on port 9090. The ~/.ggezchain/config/app.toml file is where changes can be made in the gRPC section. To disable the gRPC endpoint, set enable to false. To change the port, use the address parameter.
Connect to Other Nodes
Follow this link to sync to other nodes.
Initialize Cosmovisor
Before start the node we will init cosmovisor .
Running via Background Process
To run the node in a background process with automatic restarts, it's recommended to use a service manager like systemd. To set this up run the following:
Run the following to setup the daemon:
Then start the process and confirm that it's running.
Last updated