Skip to content

Instantly share code, notes, and snippets.

@tpmccallum
Last active September 3, 2018 07:25
Show Gist options
  • Save tpmccallum/19659848f96d832b31fa73e9b493d378 to your computer and use it in GitHub Desktop.
Save tpmccallum/19659848f96d832b31fa73e9b493d378 to your computer and use it in GitHub Desktop.
Install Tendermint
#Housekeeping
cd ~
sudo apt-get update -y
sudo apt-get upgrade -y
sudo apt-get install -y make
sudo apt-get install -y curl
#Golang
wget https://dl.google.com/go/go1.10.3.linux-amd64.tar.gz
sudo -H tar -C /usr/local -xzf go1.10.3.linux-amd64.tar.gz
mkdir /home/ubuntu/gocode
#Tendermint as well as Go PATHs
export GOPATH=/home/ubuntu/gocode
export PATH=$PATH:/home/ubuntu/gocode/bin
export PATH=$PATH:/usr/local/go/bin
source ~/.profile
mkdir -p $GOPATH/src/github.com/tendermint
cd $GOPATH/src/github.com/tendermint
git clone https://github.com/tendermint/tendermint.git
cd tendermint
make get_tools
make get_vendor_deps
make install
#Init and start
tendermint init
#To start use
tendermint node --proxy_app=kvstore
#Installing the ABCI
go get -u github.com/tendermint/abci/cmd/abci-cli
#Performing the nonce example app
abci-cli counter --serial
#Then in a new window, reset and restart Tendermint
tendermint unsafe_reset_all
tendermint node
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment