Tezos
$0.38983 5.56%
XTZ · 19w

How to Run Your Tezos Node and Delegate XTZ with Tezos-Client

How to Delegate Tezos XTZ with Tezos Client and Running Your Own Node (Betanet)

On a previous delegation guide (How to Deligate Zopf Tezzies (Tezos’ XTZ) with Pâtissière Awa from Cryptium Bäckerei) I wrote a step-by-step guide on installing Tezos from source. However, there were many issues as it relied on brew. Today’s guideline is dedicated to all the users that are comfortable using their Terminal or console. It includes the following sections:

Installing Tezos from source Running a Tezos node Generating a Wallet with Tezos-Client Delegating XTZ to your favourite baker

Because of recent issues with full nodes (Reddit Thread), this article will include running your own node in the background, as opposed to connecting to a public full node, such as ours.

Let’s roll our sleeves up!

Dairy Swiss Cow — Credit: Meadesineurope Installing Tezos from Source (no brew)

Note: I’m on MacOS, if you’re using another OS, make sure to adapt the following commands.

Installing XCode: $ xcode-select --install

2. Installing the right version of OPAM:

$ sh <(curl -sL https://raw.githubusercontent.com/ocaml/opam/master/shell/install.sh)

3. Initialising OPAM (takes a while):

$ opam init --compiler=4.06.1 $ eval $(opam env)

4. Cloning Tezos and checking out to Betanet branch:

$ git clone -b betanet https://gitlab.com/tezos/tezos.git

5. Entering the tezos folder:

$ cd tezos

6. I did not have libev installed. Before the next step you will need to install it (sorry about brew here, but seems to be the easiest way):

$ ruby -e “$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" < /dev/null 2> /dev/null $ brew install libev

7. You should still be on the betanet branch inside the tezos project. Installing all the OCaml dependencies (takes a while):

$ make build-deps

8. Compiling binaries:

$ eval $(opam env) $ make

9. Let’s check what binaries we have, in particula...

Continue on medium.com
Recent news