-
Notifications
You must be signed in to change notification settings - Fork 0
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
162ab2b
commit 28db5dc
Showing
1 changed file
with
15 additions
and
15 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -72,11 +72,11 @@ and run. | |
you can update Rust to the latest stable version. | ||
2. Install the following requirements: | ||
|
||
```bash | ||
sudo add-apt-repository ppa:ethereum/ethereum && sudo apt update && \ | ||
sudo apt install -y solc build-essential pkg-config libssl-dev cmake \ | ||
protobuf-compiler | ||
``` | ||
```bash | ||
sudo add-apt-repository ppa:ethereum/ethereum && sudo apt update && \ | ||
sudo apt install -y solc build-essential pkg-config libssl-dev cmake \ | ||
protobuf-compiler | ||
``` | ||
|
||
3. Pick a directory. You'll need quite a lot of space. Let's call it `/my/dir`. | ||
4. Clone `[email protected]:zilliqa/zq2` into that directory to get `/my/dir/zq2`. | ||
|
@@ -86,23 +86,23 @@ and run. | |
7. Generate the startup script and the configuration file for your node by | ||
running | ||
|
||
```bash | ||
z2 join --chain prototestnet | ||
``` | ||
```bash | ||
z2 join --chain prototestnet | ||
``` | ||
|
||
8. Generate the node private key (save it because you need to use it in case | ||
you need to restart your node) | ||
|
||
```bash | ||
export PRIVATE_KEY=$(openssl rand -hex 32) | ||
``` | ||
```bash | ||
export PRIVATE_KEY=$(openssl rand -hex 32) | ||
``` | ||
|
||
9. Start the validator | ||
|
||
```bash | ||
chmod +x start_validator.sh && \ | ||
./start_validator.sh $PRIVATE_KEY | ||
``` | ||
```bash | ||
chmod +x start_validator.sh && \ | ||
./start_validator.sh $PRIVATE_KEY | ||
``` | ||
|
||
For additional details on `z2` and the `join` capability refer to: | ||
|
||
|