Skip to content

Latest commit

 

History

History
38 lines (30 loc) · 1.91 KB

README.md

File metadata and controls

38 lines (30 loc) · 1.91 KB

sidecar

This module contains an implementation of the distributed key generation sidecar for SSV nodes to join staker-chosen groups of validators to perform Ethereum validation duties on behalf of stakers who don't wish to run their own hardware.

steps

example commands

generate a BLS12-381 keypair

$ ssv-sidecar key create ~/.ssv

sign your key for uploading to GitHub

$ ssv-sidecar key sign --directory ~/.ssv --url https://example.org | jq
{
  "address": "https://example.org",
  "public": "Som3bas364stRing==",
  "signature": "Som3bas364stRing==",
}

start your sidecar

$ ssv-sidecar start --port 443 --directory ~/.ssv --ssv-key /some/path/to/ssv/key/file --operator-id 1
{"time":"2023-11-28T17:46:27+01:00","level":"info","message":"Keypair loaded from ~/.ssv"}
{"time":"2023-11-28T17:46:27+01:00","level":"info","message":"SSV sidecar started, serving on port 443"}

where the public key file is a JSON file containing a pubKey key at the root. You can use the encrypted_private_key.json file created during SSV node setup or create a custom file containing just your RSA public key