Skip to content

List of tools for Cosmos blockchain projects: install, automate, update.

Notifications You must be signed in to change notification settings

Staketab/cosmos-tools

Repository files navigation

COSMOS Tools

List of tools for COSMOS projects.

Auto-node-installer

Cosmos SDK multi-network automation script for node setup.

Features:

  • Node installer
  • Cosmovisor installer
  • Snapshots
  • State-sync
  • No need to edit config

1. Install GOLANG:

Install custom version of Golang #GO.
Or you can install GO from official website.

Specify version and GO path in this line ./go.sh -v GO_VERSION -p GO_PATH
Example ./go.sh -v 1.17.2 -p /root/go

You can use all the variables or not use them at all and then the GO_VERSION and GO_PATH will be used by default as (-v 1.17.1 -p /usr/local/go)

wget https://raw.githubusercontent.com/Staketab/node-tools/main/components/golang/go.sh \
&& chmod +x go.sh \
&& ./go.sh -v 1.17.2 -p /root/go \
&& rm -rf go.sh

Now apply the changes with the command below or reboot your terminal.

. /etc/profile && . $HOME/.bashrc

2. Run Node setup:

Enter Enviroments -g GIT_NAME -f GIT_FOLDER -b BIN_NAME -c CONFIG_FOLDER -v BIN_VER and run this script to setup and build.

wget https://raw.githubusercontent.com/Staketab/cosmos-tools/main/node-installer/install.sh \
&& chmod +x install.sh \
&& ./install.sh -g GIT_NAME -f GIT_FOLDER -b BIN_NAME -c CONFIG_FOLDER -v BIN_VER

On the example of the Desmos project:

GIT_NAME = desmos-labs
GIT_FOLDER = desmos
BIN_NAME = desmos
CONFIG_FOLDER = desmos
BIN_VER = v0.16.0

The run command should look like this:

wget https://raw.githubusercontent.com/Staketab/cosmos-tools/main/node-installer/install.sh \
&& chmod +x install.sh \
&& ./install.sh -g desmos-labs -f desmos -b desmos -c desmos -v v0.16.0

DONE