This guide will explain how to install the stafihubd entrypoint
onto your system. With these installed on a server, you can participate in the
mainnet as either a Full Node or a
Validator.
Install make and gcc.
On Ubuntu this can be done with the following:
sudo apt-get update
sudo apt-get install -y make gccInstall go by following the official docs.
Remember to set your $PATH environment variable, for example:
mkdir -p $HOME/go/bin
echo "export PATH=$PATH:$(go env GOPATH)/bin" >> ~/.bash_profile
source ~/.bash_profile::: tip Go 1.17+ or later is required for the Cosmos SDK. :::
Next, let's install the latest version of stafihubd. Make sure you git checkout the
correct released version.
git clone -b <latest-release-tag> https://github.com/stafihub/stafihub
cd stafihub && make install