SSV Network Documentation

website·Indexed 35 days ago

https://docs.ssv.network

Technical documentation for the SSV Network, covering operator node setup, validator onboarding, and cluster management. Includes guides for the ssv-dkg-client and SSV-Keys CLI, MEV configuration, remote signer setup, and staking processes for SSV and ETH.

Tokens
76.1K
Snippets
306
Records
597
Agent score
69%

What's inside SSV Network

  1. Overview of SSV DKG Client

    The SSV DKG Client enables stakers to create validator key shares through a distributed key generation (DKG) ceremony. This process ensures that the full validator private key is never assembled in a single location. The tool implements drand's DKG protocol using an initiator-based communication flow, protected by signatures and verification throughout the ceremony.
  2. Overview of Distributed Validators in SSV Network

    In the SSV Network, distributed validators are managed within clusters, which are groups of operators selected to operate them. To run a validator, a staker must perform two primary actions: distribute the validator key to the chosen cluster and register the validator with the network's smart contract. Registration can be accomplished via the SSV Web App, directly through smart contracts, or by using developer tools.
  3. Overview of SSV Remote Signer architecture

    The SSV Remote Signer separates key management from the SSV Node based on the BLS Remote Signer HTTP API (EIP-3030). It consists of two main components:

    1. Web3Signer: A Consensys service providing secure key management and slashing protection.
    2. SSV-Signer: A lightweight service that connects SSV nodes to Web3Signer (can also be used as a local signing library).

    For maximum security, the SSV Node and Remote Signer should be placed on separate machines with different access credentials to protect keys if the SSV Node machine is compromised.

  4. Overview of SSV Node Sidecar Options

    Sidecars are auxiliary services that run alongside an SSV Node to extend its functionality. Available sidecar configurations include:

    • DKG (Distributed Key Generation): Used to participate in DKG ceremonies to attract more validators.
    • MEV (Maximal Extractable Value): Configured to increase rewards for block proposals.
    • Primev: An alternative MEV-related flow that supports preconfirmations.
    • commit-boost: An alternative MEV-related flow that supports additional services.
    • SSV Remote Signer: An optional configuration to separate key management from the SSV Node.
  5. Overview of the SSV key-splitting flow

    The key-splitting procedure allows a validator's private key to be divided into shares and distributed among operators. The process consists of four primary steps:

    1. Prepare keystore-m files and their respective passwords.
    2. Split the keys into keyshares-*.json payloads (ready for registration).
    3. Register the key shares to the SSV Network via a Smart Contract interaction.
    4. SSV Nodes fetch registration events and begin performing duties as a cluster.
  6. Overview of ssv-dkg-client commands

    The ssv-dkg-client provides several commands to manage Distributed Key Generation (DKG) ceremonies and validator key shares:

    • init: Starts a new DKG ceremony and generates validator key shares.
    • generate-reshare-msg: Generates the owner-signed message required before a reshare ceremony.
    • reshare: Generates new key shares for a different operator set.
    • generate-resign-msg: Generates the owner-signed message required before a resign ceremony.
    • resign: Regenerates signed key shares metadata for the same validator public key.
    • ping: Checks operator health endpoints before starting a ceremony.
    • start-operator: Runs the DKG server as an operator.
  7. Overview of ssv-dkg for Distributed Key Generation

    The ssv-dkg client allows SSV Operators to participate in ceremonies that generate distributed validator keys for Ethereum Stakers. While ssv-dkg is a separate process from ssv-node and can be hosted on a different machine, they are functionally linked: the keyshare generated by ssv-dkg is subsequently used by the ssv-node to manage the validator. To maximize the chance of being selected for validators in DKG ceremonies initiated by Stakers, the ssv-dkg client must remain online at all times. It is also recommended to use persistent storage to ensure logs are preserved.
  8. Overview of ssv-node Exporter mode

    Exporter mode allows ssv-node to function as an observation and query service rather than a validator-operating node. In this mode, the node connects to the SSV network, subscribes to network traffic, stores data locally, and exposes APIs for querying participation and duty traces. It serves as the data source for the SSV Explorer and ethereum2-monitor.

    Key characteristics:

    • Does not originate validator or signing duties.
    • Skips operator signing and key-management services.
    • Subscribes broadly to SSV network traffic to observe messages.
    • Uses Pebble storage with a -pebble suffix appended to the configured database path.
  9. Overview of SSV SDK Core Modules

    The SSV SDK is organized into four primary modules providing different sets of functionality for interacting with the network:

    • Cluster Module: Used to manage validator clusters, handle deposits, and register validators.
    • Operator Module: Used to interact with network operators and manage operator relationships.
    • API Module: Used to access network data, query states, and retrieve operational information.
    • Utils Module: Provides helper functions for keyshare validation, share generation, and other utilities.
  10. Overview of SSV Network and Distributed Validator Technology (DVT)

    SSV Network is a decentralized, open-source Ethereum staking network utilizing Secret Shared Validator (SSV) technology, also known as Distributed Validator Technology (DVT). DVT allows a single validator key to be split into multiple key shares and distributed across a cluster of non-trusting nodes. This replaces the traditional single-machine validator setup with a distributed cluster, providing active-active redundancy and improving the overall security of validator keys.
  11. Overview of SSV Node monitoring stack

    SSV Node exposes metrics via OpenTelemetry, using Prometheus as the default exporter and Grafana for visualization. For full stack visibility, it is recommended to maintain separate monitoring for Execution and Beacon nodes in addition to the SSV Node.
  12. Overview of SSV Network staker tools

    SSV Network provides two primary technical tools for stakers to manage validator keys and ceremonies:

    1. SSV Keys CLI: Used for generating key share files via command-line interface commands.
    2. SSV DKG: The dedicated tool used to perform Distributed Key Generation (DKG) ceremonies.

    Note: For developers looking to automate the generation of bulk key shares, a specialized developer guide is available as an alternative to the SSV Keys CLI.