Instruction to install the starsd binary
The operating system you use for your node is entirely your personal preference. You will be able to compile the
starsdaemon on most modern linux distributions and recent versions of macOS.
For the tutorial, it is assumed that you are using an Ubuntu LTS release.
If you have chosen a different operating system, you will need to modify your commands to suit your operating system.
# update the local package list and install any available upgrades
sudo apt-get update && sudo apt upgrade -y
# install toolchain and ensure accurate time synchronization
sudo apt-get install make build-essential gcc git jq chrony -y
For an Ubuntu LTS, you can probably use:
sudo rm -rf /usr/local/go && tar -C /usr/local -xzf go1.20.4.linux-amd64.tar.gz
Unless you want to configure in a non standard way, then set these in the
.profilein the user's home (i.e.
After updating your
~/.profileyou will need to source it:
git clone https://github.com/public-awesome/stargaze
git checkout <version-tag>
For genesis, the mainnet version tag will be
git checkout v1.1.0
Once you're on the correct tag, you can build:
# in stargaze dir
To confirm that the installation has succeeded, you can run:
# Should return similar to:
# Will return the version number of the branch checked out above