The Latest IRIShub version for Mainnet is v0.16.0
Go 1.12.5+ is required for building and installing the IRIShub software.
go by following the official docs.
Remember to set your
$PATH environment variables, for example:
mkdir -p $HOME/go/bin echo "export GOPATH=$HOME/go" >> ~/.bashrc echo "export GOBIN=$GOPATH/bin" >> ~/.bashrc echo "export PATH=$PATH:$GOBIN" >> ~/.bashrc source ~/.bashrc
go has been installed successfully
After setting up
go correctly, you should be able to compile and run
Make sure that your server can access to google.com because our project depends on some libraries provided by google. (If you are not able to access google.com, you can also try to add a proxy:
git clone --branch v0.16.0 https://github.com/irisnet/irishub cd irishub # source scripts/setTestEnv.sh # to build or install the testnet version make get_tools install
If your environment variables have set up correctly, you should not get any errors by running the above commands.
Now check your
iris version iriscli version