Here are the minimal hardware configs required for running a validator/sentry node
- 8GB RAM
- 4vCPUs
- 200GB Disk space
Install deps
sudo apt-get install build-essential jq
Install Go 1.15.x (there are some issues with SDK keyring and 1.16.x) The official instructions can be found here: https://golang.org/doc/install
First remove any existing old Go installation as root
sudo rm -rf /usr/local/go
Download the software:
curl https://dl.google.com/go/go1.15.11.linux-amd64.tar.gz | sudo tar -C/usr/local -zxvf -
Update environment variables to include go (copy everything and paste)
cat <<'EOF' >>$HOME/.profile
export GOROOT=/usr/local/go
export GOPATH=$HOME/go
export GO111MODULE=on
export GOBIN=$HOME/go/bin
export PATH=$PATH:/usr/local/go/bin:$GOBIN
EOF
source $HOME/.profile
To verify that Go is installed:
go version
Should return go version go1.15.11 linux/amd64
git clone https://github.com/BitCannaGlobal/testnet-bcna-cosmos.git
cd testnet-bcna-cosmos
git checkout v0.testnet6
make build #it build the binary in build/ folder
To know the version:
build/bcnad version
The output must be 0.testnet6
Is the versión match, now you have two options
- Move the binary to the /usr/local/bin path with:
sudo mv build/bcnad /usr/local/bin/
- Compile and install the binary in the $GOPATH path:
make install