Getting Tezos set up

To get a Tezos network up and running I found the only way was to use Docker. The installation was riddled with bugs (probably due to an OSX update I did). Anyway, follow the 'how to get' instructions and follow the first section - Docker images.

If you want to give it a go, here are the steps:

sudo mv opam-2.0.0-x86_64-darwin /usr/local/bin/opam
sudo chmod a+x /usr/local/bin/opam
opam init --compiler=4.06.1
eval $(opam env)
git clone -b alphanet
cd tezos/
make build-deps
eval $(opam env)
./tezos-node identity generate
./tezos-node run --rpc-addr --connections 10

Once you have downloaded and converted the .sh files to executable (`chmod +x []), start all processes with:


Add --help for more informations about the script.

Every command to the tezos-client can be equivalently executed using:

./ client [command]

Similary, tezos-admin-client can be executed using:

./ admin-client [command]

With the files above, you can use:

  • [bash file] node
  • [bash file] client
  • [bash file] admin-client
  • [bash file] {baker,endorser,accuser}-alpha

For example:

./ node status


./ client man -v 3

With babylonnet you can get Tez from the Alpha faucet. Download the json file to the same location as the shell script and run something like:

./ client activate account alice with "container:[name of downloaded faucet file].json"

Then check the balance:

./ client get balance for alice

Which returns 0 ꜩ.

You will have to wait for the blockchain to download, took a couple of days for me.

Next, when you are building dapps locally, you might get a cors error. Utterly frustrating and I couldn't find any info in the docco. To fix it I ran docker using:

./ start --rpc-port --cors-origin=http://localhost:8000 --cors-origin=node:8732 --cors-origin=localhost:8732