Skip to content

tezos

Install

$ wget https://github.com/serokell/tezos-packaging/releases/tag/v14.0-1/tezos-client
$ wget https://github.com/serokell/tezos-packaging/releases/download/v14.0-1/tezos-node 

Client

$ tezos-client gen keys <account_alias>
$ tezos-client list known addresses
$ tezos-client show address <account_alias>
$ tezos-client get balance for <account_alias>
$ tezos-client tranfert <n> from <alias1> to <alias2> --burn-cap <x> --dry-run

Node

Get history snapshot from giganode.iod
$ wget https://snapshots-tezos.giganode.io/snapshots/mainnet_20220822-055759_BLp8jLhPTJFeDst4f3cKYTX5zXtXCvV68JYT3EzNEkywK1PaRda.full

Node listens P2P cnx on 9732, so must be open in/out

$ tezos-node identity generate
$ tezos-node config init
$ tezos-node snapshot import <filename>

$ wget https://raw.githubusercontent.com/zcash/zcash/master/zcutil/fetch-params.sh
$ chmod +x fetch-params.sh
$ ./fetch-params.sh

  // RPC port is 8732, should be protected
$ tezos-node run --rpc-addr 127.0.0.1 --log-output=./tz-node.log
  // checks whether node finished sync
$ tezos-client bootstrapped
tezos-node run
--log-output=

misc

curve & prefix

tz1* addresses use curve ed25519
tz2* addresses use curve secp256k1
tz3* addresses use curve NIST P256