Last active
March 6, 2022 21:22
-
-
Save dakk/bdf6efe42ae920acc660b20080a506dd to your computer and use it in GitHub Desktop.
Revisions
-
dakk revised this gist
May 8, 2020 . 1 changed file with 6 additions and 6 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -40,17 +40,17 @@ Checkout the code: ```bash git clone https://gitlab.com/tezos/tezos.git cd tezos git checkout latest-release ``` Install Opam (version 2.0 is required): ```bash wget https://github.com/ocaml/opam/releases/download/2.0.0-rc4/opam-2.0.1-rc4-x86_64-linux sudo mv opam-2.0.1-rc4-x86_64-linux /usr/local/bin/opam sudo chmod a+x /usr/local/bin/opam opam init --comp=4.09.1 --disable-sandboxing opam switch 4.09.1 opam update eval $(opam env) ``` @@ -59,7 +59,7 @@ Update Opam (if you have already installed opam): ```bash opam update opam switch 4.09.1 # Run this only if you are not already using 4.09.1 ocaml version eval $(opam env) ``` -
dakk revised this gist
May 29, 2019 . 1 changed file with 15 additions and 3 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -95,6 +95,21 @@ First generate a new identity and setup config: ```bash ./tezos-node identity generate ``` ## Fast sync from a snapshot First download the latest snapshot for tezos 0.3 from here, and uncompress it: https://www.tzdutch.com/quicksync/ Then run the following command: ```bash ./tezos-node snapshot import ../mainnet-* ``` And run the node normally. ### Start the node ```bash @@ -193,9 +208,6 @@ You private keys are located in: - /home/tezos/.tezos-node/identity.json - /home/tezos/.tezos-client/secret_keys.json ## References - http://doc.tzalpha.net/introduction/howto.html -
dakk revised this gist
May 29, 2019 . 1 changed file with 4 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -193,6 +193,10 @@ You private keys are located in: - /home/tezos/.tezos-node/identity.json - /home/tezos/.tezos-client/secret_keys.json ## Restore from a backup - https://www.tzdutch.com/quicksync/ ## References - http://doc.tzalpha.net/introduction/howto.html - https://opam.ocaml.org/doc/Install.html -
dakk revised this gist
May 27, 2019 . 1 changed file with 3 additions and 3 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -49,8 +49,8 @@ Install Opam (version 2.0 is required): wget https://github.com/ocaml/opam/releases/download/2.0.0-rc4/opam-2.0.0-rc4-x86_64-linux sudo mv opam-2.0.0-rc4-x86_64-linux /usr/local/bin/opam sudo chmod a+x /usr/local/bin/opam opam init --comp=4.07.1 --disable-sandboxing opam switch 4.07.1 opam update eval $(opam env) ``` @@ -59,7 +59,7 @@ Update Opam (if you have already installed opam): ```bash opam update opam switch 4.07.1 # Run this only if you are not already using 4.06.1 ocaml version eval $(opam env) ``` -
dakk revised this gist
Mar 30, 2019 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -201,4 +201,4 @@ You private keys are located in: ## Donate Feel free to donate TEZ to tz1THsLcunLo8CmDm9f2y1xHuXttXZCpyFnq or ETH to 0x18f081247ad32af38404d071eb8c246cc4f33534 or BTC to 13TRVwiqLMveg9aPAmZgcAix5ogKVgpe4T -
dakk revised this gist
Mar 30, 2019 . 1 changed file with 4 additions and 11 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -95,18 +95,11 @@ First generate a new identity and setup config: ```bash ./tezos-node identity generate ``` ### Start the node ```bash cd tezos nohup ./tezos-node run --rpc-addr 127.0.0.1:8732 --connections 10 ``` @@ -167,17 +160,17 @@ Register a new delegate: Use screen to start the baker and run it in background; it will ask you for the encryption key. ```bash cd tezos ./tezos-baker-003-PsddFKi3 run with local node "/home/tezos/.tezos-node" "my_account" ``` ```bash cd tezos ./tezos-endorser-003-PsddFKi3 run "my_account" ``` ```bash cd tezos ./tezos-accuser-003-PsddFKi3 run ``` ## Voting -
dakk revised this gist
Nov 2, 2018 . 1 changed file with 4 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -46,8 +46,10 @@ git checkout mainnet Install Opam (version 2.0 is required): ```bash wget https://github.com/ocaml/opam/releases/download/2.0.0-rc4/opam-2.0.0-rc4-x86_64-linux sudo mv opam-2.0.0-rc4-x86_64-linux /usr/local/bin/opam sudo chmod a+x /usr/local/bin/opam opam init --comp=4.06.1 --disable-sandboxing opam switch 4.06.1 opam update eval $(opam env) -
dakk revised this gist
Nov 1, 2018 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -40,7 +40,7 @@ Checkout the code: ```bash git clone https://gitlab.com/tezos/tezos.git cd tezos git checkout mainnet ``` Install Opam (version 2.0 is required): -
dakk revised this gist
Aug 28, 2018 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -6,10 +6,10 @@ This howto is valid for Betanet on Ubuntu or Debian ### Prereq You have to install some dependencies. In debian / ubuntu run: ```bash sudo apt-get install build-essential git m4 unzip rsync curl libev-dev libgmp-dev pkg-config libhidapi-dev ``` If you are using ubuntu, install bubblewrap using this deb file: -
dakk revised this gist
Aug 25, 2018 . 1 changed file with 2 additions and 3 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -9,17 +9,16 @@ This howto is valid for Betanet on Ubuntu or Debian You need gcc, m4, git, unzip, rsync, bubblewrap, libev-dev and curl. In debian / ubuntu run: ```bash sudo apt-get install build-essential git m4 unzip rsync curl libev-dev ``` If you are using ubuntu, install bubblewrap using this deb file: ```bash wget http://security.ubuntu.com/ubuntu/pool/universe/b/bubblewrap/bubblewrap_0.2.1-1_amd64.deb sudo dpkg -i ./bubblewrap_0.2.1-1_amd64.deb ``` If you are using debian, install bubblewrap using the apt-get: ```bash -
dakk revised this gist
Aug 25, 2018 . 1 changed file with 14 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -9,9 +9,22 @@ This howto is valid for Betanet on Ubuntu or Debian You need gcc, m4, git, unzip, rsync, bubblewrap, libev-dev and curl. In debian / ubuntu run: ```bash sudo apt-get install build-essential git m4 unzip rsync curl bubblewrap libev-dev ``` #### Ubuntu If you are using ubuntu, install bubblewrap using this deb file: ```bash wget http://security.ubuntu.com/ubuntu/pool/universe/b/bubblewrap/bubblewrap_0.2.1-1_amd64.deb sudo dpkg -i ./bubblewrap_0.2.1-1_amd64.deb ``` #### Debian If you are using debian, install bubblewrap using the apt-get: ```bash sudo apt-get install bubblewrap ``` Create an user and switch to it: -
dakk revised this gist
Aug 6, 2018 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -6,10 +6,10 @@ This howto is valid for Betanet on Ubuntu or Debian ### Prereq You need gcc, m4, git, unzip, rsync, bubblewrap, libev-dev and curl. In debian / ubuntu run: ```bash apt-get install build-essential git m4 unzip rsync curl bubblewrap libev-dev ``` -
dakk revised this gist
Aug 6, 2018 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -34,7 +34,7 @@ git checkout betanet Install Opam (version 2.0 is required): ```bash sh <(curl -sL https://raw.githubusercontent.com/ocaml/opam/master/shell/install.sh) opam init --comp=4.06.1 opam switch 4.06.1 opam update -
dakk revised this gist
Aug 6, 2018 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -34,7 +34,7 @@ git checkout betanet Install Opam (version 2.0 is required): ```bash curl https://raw.githubusercontent.com/ocaml/opam/master/shell/install.sh | sh -s /usr/local/bin opam init --comp=4.06.1 opam switch 4.06.1 opam update -
dakk revised this gist
Aug 6, 2018 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -34,7 +34,7 @@ git checkout betanet Install Opam (version 2.0 is required): ```bash wget https://raw.githubusercontent.com/ocaml/opam/master/shell/install.sh -O - | sh -s /usr/local/bin opam init --comp=4.06.1 opam switch 4.06.1 opam update -
dakk revised this gist
Aug 6, 2018 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -34,7 +34,7 @@ git checkout betanet Install Opam (version 2.0 is required): ```bash wget https://raw.github.com/ocaml/opam/master/shell/opam_installer.sh -O - | sh -s /usr/local/bin opam init --comp=4.06.1 opam switch 4.06.1 opam update -
dakk revised this gist
Aug 6, 2018 . 1 changed file with 2 additions and 7 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -6,17 +6,12 @@ This howto is valid for Betanet on Ubuntu or Debian ### Prereq You need gcc, m4, git, unzip, rsync, bubblewrap and curl. In debian / ubuntu run: ```bash apt-get install build-essential git m4 unzip rsync curl bubblewrap ``` Create an user and switch to it: -
dakk revised this gist
Aug 1, 2018 . 1 changed file with 7 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,5 +1,5 @@ # Tezos baking howto This howto is valid for Betanet on Ubuntu or Debian ## Setup @@ -12,6 +12,12 @@ You need gcc, m4, git, unzip, rsync and curl. In debian / ubuntu run: apt-get install build-essential git m4 unzip rsync curl ``` If you are using ubuntu, install also bubblewrap: ```bash apt-get install bubblewrap ``` Create an user and switch to it: ```bash -
dakk revised this gist
Aug 1, 2018 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -33,7 +33,7 @@ git checkout betanet Install Opam (version 2.0 is required): ```bash sh <(curl -sL https://raw.githubusercontent.com/ocaml/opam/2.0/shell/install.sh) opam init --comp=4.06.1 opam switch 4.06.1 opam update -
dakk revised this gist
Jul 31, 2018 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -91,7 +91,7 @@ curl -s 'http://api.tzscan.io/v2/network?state=running&p=0&number=50' | grep -Po ```bash cd tezos nohup ./tezos-node run --rpc-addr 127.0.0.1:8732 --connections 10 `bash ../get_peers.sh` & ``` -
dakk revised this gist
Jul 31, 2018 . 1 changed file with 12 additions and 3 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -149,11 +149,20 @@ Register a new delegate: ### Start the baker Use screen to start the baker and run it in background; it will ask you for the encryption key. ```bash cd tezos ./tezos-baker-002-PsYLVpVv run with local node "/home/tezos/.tezos-node" "my_account" ``` ```bash cd tezos ./tezos-endorser-002-PsYLVpVv run "my_account" ``` ```bash cd tezos ./tezos-accuser-002-PsYLVpVv run ``` ## Voting -
dakk revised this gist
Jul 31, 2018 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -84,7 +84,7 @@ First generate a new identity and setup config: ### get_peers.sh ```bash curl -s 'http://api.tzscan.io/v2/network?state=running&p=0&number=50' | grep -Po '::ffff:([0-9.:]+)' | sed ':a;N;$!ba;s/\n/ /g' | sed 's/::ffff:/--peer=/g' ``` ### Start the node -
dakk revised this gist
Jul 21, 2018 . 1 changed file with 0 additions and 3 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -151,11 +151,8 @@ Register a new delegate: ```bash cd tezos nohup ./tezos-baker-002-PsYLVpVv run with local node "/home/tezos/.tezos-node" "my_account" & nohup ./tezos-endorser-002-PsYLVpVv run "my_account" & nohup ./tezos-accuser-002-PsYLVpVv run & ``` -
dakk revised this gist
Jul 20, 2018 . 1 changed file with 6 additions and 3 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -151,9 +151,12 @@ Register a new delegate: ```bash cd tezos nohup ./tezos-baker-001-PtCJ7pwo run with local node "/home/tezos/.tezos-node" "my_account" & nohup ./tezos-baker-002-PsYLVpVv run with local node "/home/tezos/.tezos-node" "my_account" & nohup ./tezos-endorser-001-PtCJ7pwo run "my_account" & nohup ./tezos-endorser-002-PsYLVpVv run "my_account" & nohup ./tezos-accuser-001-PtCJ7pwo run & nohup ./tezos-accuser-002-PsYLVpVv run & ``` ## Voting -
dakk revised this gist
Jul 15, 2018 . 1 changed file with 9 additions and 13 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -147,11 +147,17 @@ Register a new delegate: ./tezos-client register key "my_account" as delegate ``` ### Start the baker ```bash cd tezos nohup ./tezos-alpha-baker run with local node "/home/tezos/.tezos-node" "my_account" & nohup ./tezos-alpha-endorser run "my_account" & nohup ./tezos-alpha-accuser run & ``` ## Voting If you don't want to bake, you can vote another delegate. To vote a delegate, you should first "originate an account"; consider the implicit account called my_account2 with 6900XTZ, delegating to my_account: ```bash ./tezos-client originate account "my_originated" for "my_account2" transferring 6900 from "my_account2" --delegate "my_account" --delegatable @@ -163,16 +169,6 @@ If you already have an originated account, you can delegate running: ./tezos-client set delegate for "my_originated" to "my_account" ``` ## Backup your keys You private keys are located in: -
dakk revised this gist
Jul 15, 2018 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -149,7 +149,7 @@ Register a new delegate: ### Voting a delegate (not necessary for baking) To vote a delegate, you should first "originate an account"; consider the implicit account called my_account2 with 6900XTZ, delegating to my_account: -
dakk revised this gist
Jul 12, 2018 . 1 changed file with 1 addition and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -170,6 +170,7 @@ If you already have an originated account, you can delegate running: cd tezos nohup ./tezos-alpha-baker run with local node "/home/tezos/.tezos-node" "my_account" & nohup ./tezos-alpha-endorser run "my_account" & nohup ./tezos-alpha-accuser run & ``` ## Backup your keys -
dakk revised this gist
Jul 2, 2018 . No changes.There are no files selected for viewing
-
dakk revised this gist
Jul 2, 2018 . 1 changed file with 7 additions and 32 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -127,40 +127,15 @@ You can check if the account has been activated by getting its balance: ./tezos-client get balance for fundraiser ``` Then in order to access your funds importing your private key type the following command and write your private data when asked: ```bash ./tezos-client import fundraiser secret key "my_account" ``` Please be careful, you are importing your tezos private keys! ## Baking -
dakk revised this gist
Jul 2, 2018 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -127,7 +127,7 @@ You can check if the account has been activated by getting its balance: ./tezos-client get balance for fundraiser ``` Then in order to access your funds importing your private key, put your mnemonic, password, address and email in a json file like this: ```json {
NewerOlder