Getting started with the Tezos command-line client on mainnet (MacOS)

Opam setup

sh <(curl -sL https://raw.githubusercontent.com/ocaml/opam/master/shell/install.sh)
opam init --compiler=4.06.1
eval $(opam env)

Tezos client setup

git clone -b mainnet https://gitlab.com/tezos/tezos.git
cd tezos
make build-deps
eval $(opam env)
make
./tezos-node identity generate 26
nohup ./tezos-node run --rpc-addr 127.0.0.1:8732 --connections 10 &
./tezos-client bootstrapped

Activating and/or importing your fundraiser account

./tezos-client add address my_account <public key>
./tezos-client activate fundraiser account my_account with <activation key>
./tezos-client import fundraiser secret key my_account
./tezos-client get balance for my_account

Delegating your XTZ

./tezos-client add address awesome_delegation_service <delegate_address>
./tezos-client originate account my_delegation for my_account transferring 100 from my_account --delegate awesome_delegation_service --fee 0.00

Moving on and/or working around errors

--

--

--

Software Engineer, Board member @TezosCommons

Love podcasts or audiobooks? Learn on the go with our new app.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Corey Soreff

Corey Soreff

Software Engineer, Board member @TezosCommons

More from Medium

What to know about Lucid Green Token

Weekly Tech Update: Week 48.

How to Buy Polkadot | Where, How and Why

How to Buy Polkadot | Where, How and Why

Medium Post — UBIX Network January 19th AMA with Max Breus