-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
65959cf
commit 78d46c4
Showing
4 changed files
with
132 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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 characters
This file contains 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 characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{ | ||
"chain_name": "TEZOS_QUEBECBNET_2024-09-19T15:00:00Z", | ||
"default_bootstrap_peers": [ | ||
"quebecbnet.teztnets.com", | ||
"quebecbnet.tzinit.org" | ||
], | ||
"genesis": { | ||
"block": "BLDLFCxzVyEwUtjUxXbhS6mcGFakL9TFxcroRvqvs44Y7uGbYSE", | ||
"protocol": "Ps9mPmXaRzmzk35gbAYNCAw6UXdE2qoABTHbN2oEEc1qM7CwT9P", | ||
"timestamp": "2024-09-19T15:00:00Z" | ||
}, | ||
"genesis_parameters": { | ||
"values": { | ||
"genesis_pubkey": "edpktosVHk2f3Yrz9Jb6rMrk6uVy4sTxVhP2iyF39AdgzvsTWgbaLy" | ||
} | ||
}, | ||
"sandboxed_chain_name": "SANDBOXED_TEZOS" | ||
} |
This file contains 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 characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,92 @@ | ||
--- | ||
layout: page | ||
title: Quebecbnet | ||
permalink: /quebecbnet-about | ||
--- | ||
|
||
Test Chain for the Quebec B Protocol Proposal | ||
|
||
| | | | ||
|-------|---------------------| | ||
| Public RPC endpoints | [https://rpc.quebecbnet.teztnets.com](https://rpc.quebecbnet.teztnets.com/chains/main/chain_id)<br/> | | ||
| Faucet | [Quebecbnet faucet](https://faucet.quebecbnet.teztnets.com) | | ||
| Full network name | `TEZOS_QUEBECBNET_2024-09-19T15:00:00Z` | | ||
| Tezos docker build | [tezos/tezos:octez-v21.0-rc2](https://hub.docker.com/r/tezos/tezos/tags?page=1&ordering=last_updated&name=octez-v21.0-rc2) | | ||
| Activated on | 2024-09-19T15:00:00Z | | ||
|
||
|
||
|
||
|
||
|
||
### Install the software | ||
|
||
⚠️ If you already have an existing Tezos installation, do not forget to backup and delete your `~/.tezos-node` and `~/.tezos-client`. | ||
|
||
|
||
|
||
#### Alternative: Use docker | ||
|
||
To join Quebecbnet with docker, open a shell in the container: | ||
|
||
``` | ||
docker run -it --entrypoint=/bin/sh tezos/tezos:octez-v21.0-rc2 | ||
``` | ||
|
||
|
||
#### Alternative: Build the software | ||
|
||
⚠️ If this is your first time installing Tezos, you may need to [install a few dependencies](https://tezos.gitlab.io/introduction/howtoget.html#setting-up-the-development-environment-from-scratch). | ||
|
||
``` | ||
cd | ||
git clone git@gitlab.com:tezos/tezos.git | ||
cd tezos | ||
git checkout octez-v21.0-rc2 | ||
opam init # if this is your first time using OPAM | ||
make build-deps | ||
eval $(opam env) | ||
make | ||
export PATH=$HOME/tezos:$PATH | ||
``` | ||
|
||
### Join the Quebecbnet network | ||
|
||
Run the following commands: | ||
|
||
``` | ||
octez-node config init --network https://teztnets.com/quebecbnet | ||
octez-node run --rpc-addr 127.0.0.1:8732 | ||
``` | ||
|
||
|
||
|
||
|
||
|
||
|
||
### Bake on the Quebecbnet network | ||
|
||
To improve reliability of the chain, you can take part in the consensus by becoming a baker. In that case, you will need some test tokens from the [faucet](https://faucet.quebecbnet.teztnets.com). | ||
|
||
If you are not a bootstrap baker, you need to register your key as a delegate using your alias or `pkh`. For instance: | ||
```bash=2 | ||
octez-client register key mykey as delegate | ||
``` | ||
|
||
|
||
|
||
You may now launch the baker process. | ||
```bash=3 | ||
octez-baker-PsQuebec run with local node ~/.tezos-node mykey --liquidity-baking-toggle-vote pass | ||
``` | ||
|
||
You may run the accuser as well: | ||
```bash=3 | ||
octez-accuser-PsQuebec run | ||
``` | ||
|
||
Note that you need a minimum amount of tez to get baking rights. If you are not a bootstrap baker, it will take you several cycles to start baking. | ||
|
||
> 💡 Now that you are baking, you are responsible for the network health. Please ensure that the baking processes will keep running in the background. You may want to use screen, tmux, nohup or systemd. Also make sure that the baking processes will restart when your machine restarts. | ||
|
This file contains 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 characters