Cosmovisor Setup (optional)
Prerequisites:
A Layer node machine configured like this.
Build and configure Cosmovisor
Clone the cosmos repo, change directory to
cosmos-sdk
Build cosmovisor with the command:
Add the following to the end of your
~/.bashrc
or~/.zshrc
file:
Use source ~/.bashrc
or source ~/.zshrc
to load the variables.
Gather binaries. You can clone the repo and create a build at each tag, or download them from the repo. For each release, select the binary that matches your OS / cpu architecture. (e.g. "Darwin_arm64" for macOS,"Linux_x86_x64" for most cloud machines...)
We will save them to a folder called binaries, but you can keep them anywhere you like. Download each binary to it's own folder. (This command is just an example, so be sure that you know which binaries to get before you start! If you're not sure, ask in our discord):
To check that these downloaded and extracted correctly: ls ~/binaries
Once you have all of the binaries downloaded, initialize Cosmovisor and add all the upgrades. Change the file paths in the command to match the path to each binary exactly:
To start your node with cosmovisor managing upgrades:
Last updated