This tutorial will help from deploying a tezos node to verifying your fundraiser tezzies on betanet using tezos-client.
Prerequisits
- Activate your fundraiser account by following steps 1 and 2 in this link.
- Prepare a Ubuntu 16.04 linux box
- This tutorial has not been tested on other versions
Tezos node Installation
You need sudo privileges for the commands below.
Environment setup
$ sudo add-apt-repository ppa:ansible/bubblewrap && sudo apt-get update && sudo apt-get install build-essential git unzip rsync curl debianutils libev-dev libgmp-dev libhidapi-dev m4 perl pkg-config bubblewrap -y
$ sudo su -c 'sh <(curl -sL https://raw.githubusercontent.com/ocaml/opam/master/shell/install.sh)'
Tezos source code clone and build
$ sudo adduser tezos && sudo adduser tezos sudo
$ sudo su - tezos
$ opam init --comp=4.06.1 # press 'y' when prompted
$ opam switch 4.06.1
$ opam update
$ git clone https://gitlab.com/tezos/tezos.git && cd tezos && git checkout betanet
$ eval $(opam env) && make build-deps
$ eval $(opam env) && make
Tezos node configuration
$ ./tezos-node identity generate && ./tezos-node config init
$ ./tezos-node config update --rpc-addr=127.0.0.1:8732
$ ./tezos-node config update --net-addr=$(ip a | sed -En 's/127.0.0.1//;s/.*inet (([0-9]+\.){3}[0-9]+).*/\1/p'):9732 # this may not work with nodes with multiple nics
$ ./tezos-node config update --connections=10
Tezos node launch and fundraiser balance verification
$ nohup ./tezos-node run $(curl -s 'http://api.tzscan.io/v2/network?number=50' | grep -Po '::ffff:([0-9.:]+)' | sed ':a;N;$!ba;s/\n/ /g' | sed 's/::ffff:/--peer=/g') &
$ ./tezos-client import fundraiser secret key "my_secret_key_alias"
$ ./tezos-client get balance for "my_secret_key_alias"
Below is the new cmd to start the tezos-node. api->api1
nohup ./tezos-node run $(curl -s 'http://api1.tzscan.io/v2/network?number=50' | grep -Po '::ffff:([0-9.:]+)' | sed ':a;N;$!ba;s/\n/ /g' | sed 's/::ffff:/--peer=/g') &
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit
Congratulations @zyluo! You received a personal award!
You can view your badges on your Steem Board and compare to others on the Steem Ranking
Vote for @Steemitboard as a witness to get one more award and increased upvotes!
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit