Hashgard is new generation digital finance public chain, based on Hashgard-SDK development.
Please make sure have already installed Go
correctly, and set environment variables : $GOPATH
, $GOBIN
, $PATH
.
Put the Hashgard project in the specific path,switch to master
branch,download related dependencies, then make install:
mkdir -p $HOME/go/bin
echo "export GOPATH=$HOME/go" >> ~/.bash_profile
echo "export GOBIN=\$GOPATH/bin" >> ~/.bash_profile
echo "export PATH=\$PATH:\$GOBIN" >> ~/.bash_profile
source ~/.bash_profile
Check if the installation is successful:
$hashgardd --help
$hashgardcli --help