# Install Go 1.19.1wgethttps://go.dev/dl/go1.19.1.linux-amd64.tar.gztarxfgo1.19.1.linux-amd64.tar.gzsudomvgo/usr/local/go# Set Go path to $PATH variableecho"export PATH=$PATH:/usr/local/go/bin:~/go/bin">> $HOME/.zshrcsource~/.zshrc
Install dVPN
cd~gitclonehttps://github.com/sentinel-official/hub.git"${HOME}/sentinelhub"cd"${HOME}/sentinelhub"gitcheckoutv0.11.3# always make sure it's the latest version# Install binaries to $GOPATH/binexport GOPATH="${HOME}/lib"makeinstallcp ${HOME}/lib/bin/*~/bin/
Environment
In this case, RoomIT used zsh, if you used bash just direct to ${HOME}/.bashrc or ${HOME}/.profile
# Chain ID of dVPN Mainnetexport CHAIN_ID=sentinelhub-2# Wallet name to be used as validator's account, please change this into your name (no whitespace).export WALLET_NAME=<YOUR_WALLET_NAME># Name of your validator node, please change this into your name.export MONIKER=<YOUR_MONIKER># URL of genesis file for dVPN Mainnetexport GENESIS_FILE_URL= https://github.com/sentinel-official/networks/raw/main/sentinelhub-2/genesis.zip# Data dVPN binary scripts filesexport BIN_FILES_URL =