Setting up a node for a Cosmos SDK chain has traditionally been a complex process requiring multiple steps:
- Locating the correct repository and version of the node binary compatible with your target network
- Either cloning and building the source code or downloading a pre-built binary from the release page
- Configuring the node with appropriate
config.toml
andapp.toml
files, which involves:- Setting correct values for
seeds
,persistent_peers
, andpruning
- Navigating through numerous other parameters that rarely need modification
- Setting correct values for
- Finding and implementing the correct genesis file to sync with the network
- Setting up cosmovisor for automatic updates or manually maintaining the node binary
Weave streamlines this entire process into a simple command.
weave initia init
This command guides you through the node setup process, taking you from an empty directory to a fully synced node ready for operation.
Once complete, you can run the node using weave initia start
.
weave initia start
Specify --detach
or -d
to run in the background.
weave initia stop
weave initia restart
weave initia log
To see all the available commands:
weave initia --help