π Installation
sudo apt update && sudo apt upgrade -y
sudo apt install curl git wget htop tmux build-essential jq make lz4 gcc unzip -ycd $HOME
GOVER="1.21.6"
wget -q --show-progress "https://golang.org/dl/go$GOVER.linux-amd64.tar.gz"
sudo rm -rf /usr/local/go
sudo tar -C /usr/local -xzf "go$GOVER.linux-amd64.tar.gz"
rm "go$GOVER.linux-amd64.tar.gz"
[ ! -f ~/.bash_profile ] && touch ~/.bash_profile
echo 'export PATH=$PATH:/usr/local/go/bin:$HOME/go/bin' >> ~/.bash_profile
source ~/.bash_profile
[ ! -d "$HOME/go/bin" ] && mkdir -p "$HOME/go/bin"
go versiongit clone https://github.com/Titannet-dao/titan-chain.git
cd titan-chain
go build ./cmd/titand
cp titand /usr/local/binLast updated