Tezos Mainnet — Setting Up Home Baking on Ubuntu

Tez Baker
6 min readSep 17, 2018

Last tested and updated: 15th December 2020

Source code hash: ce36545683607b68d59e03ec6122a50a09909462

OS: Ubuntu 20.4

The mainnet was officially launched 3rd March 2018, although it was just a label change of the betanet. Betanet has been successfully running since 30th June 2018 and today the Tezos foundation announced the switch to the mainnet. https://twitter.com/TezosFoundation/status/1041675135412043776

Installing a Mainnet Tezos Node from Source on Ubuntu 20.04

These are the steps for installing the mainnet Tezos node from source on a fresh Ubuntu 20.04. These instructions are based on the source code hash version above and can be checked in the next few steps. These instructions are likely to work on a different code version but we only tested it on this version and a later version may not be complete. If this is the case then contact us and we will update these instructions.

We tested our home baking install on iMac 4Ghz intel Core i7 with 32GB with a VM that had access to 8GB of memory and 4 processors. We give approximate times, where appropriate, based on this machine. The full install takes about 15 minutes but could take a week to sync up the chain. The current disk space requirement is 50GB so, make sure you have at least 100GB before you start and this disk must be SSD.

We are constantly building nodes and updating this document, if you have any issues please let us know. These instructions were used for building a node on the date specified above.

Note: we start each new command line with a $ and each line needs to be run separately with a return. The $ is command prompt and should not be copied.

Install the libraries that Tezos is dependent on

$ sudo apt-get install build-essential git m4 unzip rsync curl bubblewrap libev-dev libgmp-dev pkg-config libhidapi-dev jbuilder screen -y

Pull down the source code from the git repository

$ git clone https://gitlab.com/tezos/tezos.git
$ cd tezos
$ git checkout latest-release
$ git rev-parse HEAD
$ cd

The result hash should be the same as the one above and if you have a later…

--

--

Tez Baker

A Tezos Baker… We Stake, You Make. Earn interest on your Tezos crypto-currency. Offering a secure delegate service for Tezos, distributing rewards every cycle.