๐Operating and Running a Node
This is a guide for operating and running the node.
Contents Running the Node Yourself Running the Node with Cosmovisor Running the Node Yourself Dockerized
Running the Node Yourself
Running the Node with Cosmovisor
Run the node as a subprocess of Cosmovisor if you want automatic upgrading, which only requires you to place a new binary in the right location before an upgrade height.
Install Cosmovisor.
Then, add these lines to your profile (maybe .profile
, .zprofile
, or something else) to set up environment variables:
Initialize Cosmovisor with the chain binary and start the node.
Note that for an upgrade, simply run the following command to prepare Cosmovisor with the upgrade binary before the chain reaches the upgrade height.
Running the Node Yourself Dockerized
Starting
To start a SEDA chain node with Docker (only recommended for those familiar with the tool):
Note the version v0.1.1
, which is the chain binary version used for the mainnet launch. Exposing the ports is optional.
To check the status of the node you can check the normal docker
way:
or by interacting with the CLI from within the container:
Upgrading
When an upgrade proposal is passed, node operators are expected to use Cosmovisor to prepare the node for an automatic upgrade. Since the Docker image provided by SEDA is already configured to use Cosmovisor, simply run the following commands to download and place the upgrade binary inside the container.
Stopping and Resuming
The docker container should can be stopped and resumed as follows:
License Contents of this repository are open source under GNU General Public License v3.0.
Last updated