Skip to content

Commit 5688f2b

Browse files
authored
Merge pull request 0xPolygon#2678 from 0xPolygon/0xsajal-patch-1
Update validator-binaries.md
2 parents 279c448 + 51e7f4f commit 5688f2b

File tree

1 file changed

+13
-22
lines changed

1 file changed

+13
-22
lines changed

docs/pos/how-to/validator/validator-binaries.md

Lines changed: 13 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -20,18 +20,9 @@ This guide will walk you through running a Polygon validator node using binaries
2020
```bash
2121
sudo apt-get install build-essential
2222
```
23+
* Go 1.24+ installed on both the sentry and the validator machines.
2324

24-
* Go 1.19 installed on both the sentry and the validator machines.
25-
26-
To install:
27-
28-
```bash
29-
wget https://raw.githubusercontent.com/maticnetwork/node-ansible/master/go-install.sh
30-
bash go-install.sh
31-
sudo ln -nfs ~/.go/bin/go /usr/bin/go
32-
```
33-
34-
* RabbitMQ installed on both the sentry and the validator machines.
25+
* RabbitMQ installed on the validator machine.
3526

3627
Here are the commands to install RabbitMQ:
3728

@@ -68,23 +59,23 @@ Both binaries must be installed and run in the correct order to function properl
6859

6960
### Install Heimdall
7061

71-
Install the latest version of Heimdall and related services. Make sure you checkout to the correct [release version](https://github.com/maticnetwork/heimdall/releases).
62+
Install the latest version of Heimdall and related services. Make sure you checkout to the correct [release version](https://github.com/0xPolygon/heimdall-v2/releases).
7263

73-
To install Heimdall, run the following commands:
64+
To install Heimdall, run the following command:
7465

7566
```bash
76-
curl -L https://raw.githubusercontent.com/maticnetwork/install/main/heimdall.sh | bash -s -- <heimdall_version> <network_type> <node_type>
67+
curl -L https://raw.githubusercontent.com/maticnetwork/install/heimdall-v2/heimdall-v2.sh | bash -s -- <version> <network> <node_type>
7768
```
7869
You can run the above command with following options:
7970

80-
- `heimdall_version`: valid v1.0+ release tag from https://github.com/maticnetwork/heimdall/releases
71+
- `heimdall_version`: valid v0.2+ release tag from https://github.com/0xPolygon/heimdall-v2/releases
8172
- `network_type`: `mainnet` and `amoy`
8273
- `node_type`: `sentry`
8374

84-
That will install the `heimdalld` and `heimdallcli` binaries. Verify the installation by checking the Heimdall version on your machine using the following command:
75+
That will install the `heimdalld` binary. Verify the installation by checking the Heimdall version on your machine using the following command:
8576

8677
```bash
87-
heimdalld version --long
78+
heimdalld version
8879
```
8980

9081
!!! note
@@ -290,16 +281,16 @@ Example: `persistent_peers = "sentry_machineNodeID@sentry_instance_ip:26656"`
290281

291282
Save the changes in `config.toml`.
292283

293-
Open for editing `vi /var/lib/heimdall/config/heimdall-config.toml`.
284+
Open for editing `vi /var/lib/heimdall/config/app.toml`.
294285

295-
In `heimdall-config.toml`, update the following:
286+
In `app.toml`, update the following:
296287

297288
* `eth_rpc_url` — an RPC endpoint for a fully synced Ethereum mainnet node,
298289
e.g., Infura. `eth_rpc_url =<insert Infura or any full node RPC URL to Ethereum>`
299290

300291
Example: `eth_rpc_url = "https://nd-123-456-789.p2pify.com/60f2a23810ba11c827d3da642802412a"`
301292

302-
Save the changes in `heimdall-config.toml`.
293+
Save the changes in `app.toml`.
303294

304295
### Configuring the Bor service
305296

@@ -333,7 +324,7 @@ private key on the sentry machine.
333324
To generate the private key, run:
334325

335326
```sh
336-
heimdallcli generate-validatorkey ETHEREUM_PRIVATE_KEY
327+
heimdalld generate-validatorkey ETHEREUM_PRIVATE_KEY
337328
```
338329

339330
where `ETHEREUM_PRIVATE_KEY` is your Ethereum wallet’s private key.
@@ -351,7 +342,7 @@ You must generate a Bor keystore file only on the validator machine. Do not gene
351342
To generate the private key, run:
352343

353344
```sh
354-
heimdallcli generate-keystore ETHEREUM_PRIVATE_KEY
345+
heimdalld generate-keystore ETHEREUM_PRIVATE_KEY
355346
```
356347

357348
where `ETHEREUM_PRIVATE_KEY` is your Ethereum wallet’s private key.

0 commit comments

Comments
 (0)