Skip to content

Commit 244ad87

Browse files
committed
added operator keys for hoodi and updated readmes to reflect paths
1 parent acf3f10 commit 244ad87

File tree

7 files changed

+41
-6
lines changed

7 files changed

+41
-6
lines changed

.github/workflows/verify-keys.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,11 @@ jobs:
2323
- name: 🛠️ Build verifier tool
2424
run: go build -o key-verifier ./tools/key_verifier/cmd/main.go
2525

26-
- name: 🔍 Verify operator keys
27-
run: ./key-verifier ./nodes/operators.json
26+
- name: 🔍 Verify mainnet operator keys
27+
run: ./key-verifier ./nodes/operators-mainnet.json
28+
29+
- name: 🔍 Verify hoodi operator keys
30+
run: ./key-verifier ./nodes/operators-hoodi.json
31+
32+
- name: 🔍 Verify holesky operator keys
33+
run: ./key-verifier ./nodes/operators-holesky.json

cli/internal/cmd/operators.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ func init() {
1919
&sourceUrlFlag,
2020
"source-url",
2121
"u",
22-
"https://raw.githubusercontent.com/randa-mu/ssv-dkg/master/nodes/operators.json",
22+
"https://raw.githubusercontent.com/randa-mu/ssv-dkg/master/nodes/operators-mainnet.json",
2323
"The location of a toml file listing operators and their signed public keys",
2424
)
2525
operatorsCmd.PersistentFlags().StringVarP(

nodes/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
This module contains a single file containing all the SSV nodes that support the DKG sidecar.
44

5-
Node operators should use the `sign` functionality of the sidecar CLI with their registered SSV validator nonce to sign their public key, and raise a pull request with the output of the sign command appended to the `operators.json` file.
5+
Node operators should use the `sign` functionality of the sidecar CLI with their registered SSV validator nonce to sign their public key, and raise a pull request with the output of the sign command appended to the `operators-<network>.json` file relevant to their chosen network.
66
You can find out how to use the sign functionality in the [sidecar README](../sidecar/README.md).
77

88
Triple check your validator nonce - if you use an incorrect one, you will be unable to receive rewards for validator work.

nodes/operators-holesky.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
[]

nodes/operators-hoodi.json

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
[
2+
{
3+
"operator_id": 94,
4+
"address": "http://34.140.212.211:8081",
5+
"public": "oIQsADpFNfIt1k3NkXLSzb4jIjAHVpGwp0n6mbbPapQEflkd4WUVuZNG79d1ECFY",
6+
"signature": "hOUGPhirygbKss7BpsgDvuMicp9N53AH9ivzKINP/T6J5xpfoNYSlhCQ+EMyMZF2EXe2vOB9VvHj1/gA2nK0pIzYJAq3ZgIqdq0YbxxseQn+yuBDrgMdEoolBvGeteDz"
7+
},
8+
{
9+
"operator_id": 95,
10+
"address": "http://34.140.212.211:8082",
11+
"public": "lUkifP8qnlDoy+kVJs8n9Iro/TeulWEutVKIAnwvfZzX7sMVUwoZsLImS/qdJnOG",
12+
"signature": "gdFP1HH0OfMAH5/K17cjd/+4dfRlqenpcoBwNbaL4M4ley2nG8aed2sI6LHnRgsDCvwlAicv8lBXoN4z1zt1ldFMj0ehXSenWiini6u1K5ZZ3f3GaYSHlJ+S317Qj6mt"
13+
},
14+
{
15+
"operator_id": 96,
16+
"address": "http://34.140.212.211:8083",
17+
"public": "sQCUkJmLit3HtpKeVGF0RyBcdSOO8HehqKBi+UwngnBn3HAljpNYaGyFjfo9tUhw",
18+
"signature": "sI5uQrqXqAMu731dTX3XDrKlS0xW69tsEeHSASouDdB1PJtKNRBX5Zbv+lUOmh5+Cnr603L6qb/N6C/Hfc9fYlqnCfOALzeqbt/dn0tDxgrGvuVjYecevqjhimp3mV2F"
19+
},
20+
{
21+
"operator_id": 97,
22+
"address": "http://34.140.212.211:8084",
23+
"public": "gy/5HcwScI3wXicpxzezX3cScXH2Y7fZtRvJTBSMPi1FjVdYdH/D71BAWbRD1viJ",
24+
"signature": "k57mAa5tbGu9BGFoFi88jqj/WrAD6w4Pt7tMwzo8frjI2rx/cuUbqvuLaW8UoIOEAyYPPbPlB/xJV7kmkBVJcPnyTDxZw7IAHlFcEjVNsnne5/76M5u8DYEbK8LCNKHT"
25+
}
26+
]

nodes/operators-mainnet.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
[]

sidecar/README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ This module contains an implementation of the distributed key generation sidecar
66
## steps
77
- [set up an SSV node](https://docs.ssv.network/operator-user-guides/operator-node/installation) and start it, noting the path to the `encrypted_private_key.json`
88
- [register your SSV node](https://docs.ssv.network/operator-user-guides/operator-management/registration) and note the final `operatorID`
9-
- [sign public key](#sign-your-key-for-uploading-to-GitHub) and add it to the [operators JSON file](../nodes/operators.json). Raise a pull request once complete.
9+
- [sign public key](#sign-your-key-for-uploading-to-GitHub) and add it to the [operators JSON file for your chosen network](../nodes/operators-hoodi.json). Raise a pull request once complete.
1010
- [start your sidecar](#start-your-sidecar)
1111
- pass the [encrypted key file path](https://docs.ssv.network/operator-user-guides/operator-node/installation#generate-operator-keys-encrypted) of your SSV node using the `--ssv-key` flag
1212
- pass the operator ID you noted down during the registration process using the `--operator-id` flag
@@ -20,8 +20,9 @@ $ ssv-sidecar key create ~/.ssv
2020

2121
### sign your key for uploading to GitHub
2222
```shell
23-
$ ssv-sidecar key sign --directory ~/.ssv --url https://example.org | jq
23+
$ ssv-sidecar key sign --directory ~/.ssv --url https://example.org --operator-id 1234 | jq
2424
{
25+
"operator_id": 1234,
2526
"address": "https://example.org",
2627
"public": "Som3bas364stRing==",
2728
"signature": "Som3bas364stRing==",

0 commit comments

Comments
 (0)