Setting up Cosmovisor
For mainnet, it's recommended to use Cosmovisor to run your node. If you've not used it before, then run it during a testnet to check you can get it set up correctly.
Install
go get github.com/cosmos/cosmos-sdk/cosmovisor/cmd/cosmovisor
# or, with go >= 1.15 you can do
go install github.com/cosmos/cosmos-sdk/cosmovisor/cmd/cosmovisor@latest
# to target a specific version:
go install github.com/cosmos/cosmos-sdk/cosmovisor/cmd/[email protected]which cosmovisor/home/<your-user>/go/bin/cosmovisorAdd environment variables to your shell
Set up folder structure
Set up genesis binary
Set up service
Start Cosmovisor
Last updated
