Diva Staking Documentation

website·Indexed 32 days ago

https://docs.divastaking.net/

Documentation for Diva Staking, a distributed validator technology (DVT) network. It includes guides for installing and registering nodes via Docker, configuring API keys and ports, and detailed explanations of network roles such as Signers, Aggregators, Provers, and Oracles. The docs cover testnet setup, validator key management, and liquid staking with divETH.

Tokens
7.6K
Snippets
23
Records
64
Agent score
63%

What's inside Diva Staking

  1. Overview of Diva Nodes for Ethereum Staking

    Diva Nodes are binary clients operated on private hardware to participate in Ethereum staking via the Diva Staking protocol. These nodes work in a decentralized network to perform validation tasks. Operators can register multiple nodes under a single identity to distribute workloads based on their hardware capabilities. Nodes may have specific sub-roles depending on the processes they participate in.
  2. Overview of the Diva Smart Contract suite

    The Diva Smart Contract suite consists of Ethereum-based contracts that orchestrate the Diva Staking protocol. The suite manages network state, ETH flow between participants, and protocol security through five primary functional components:

    • Accounting: Manages Validator balances, deposits, withdrawals, and the onboarding/exiting of Validators on Ethereum.
    • Performance: Tracks Validator metrics to determine operator rewards and ensure operational standards.
    • divETH: A Liquid Staking Token (LST) issued to stakers at a 1:1 ratio for deposited ETH, allowing liquidity and DeFi compatibility while staking.
    • MEV Support: Integrates MEV-Boost rewards, which are distributed proportionally between Stakers and Operators to increase protocol profitability.
    • Validator Management: Automates the lifecycle of Validators (onboarding, operation, and exit) based on data from the Accounting and Performance modules.
  3. Overview of the Diva Staking Protocol

    The Diva Staking Protocol is a trustless, permissionless staking system for Ethereum (ETH). It allows stakers to stake ETH without relying on a counterparty and utilizes Distributed Validator Technology (DVT) to increase resiliency and eliminate single points of failure. Key features include:

    • Liquid Staking: Stakers receive divETH, a liquid staking token that generates Ethereum staking rewards.
    • Lower Operator Barriers: Operators can run nodes with a minimum amount of collateral ETH, removing the requirement for a full 32 ETH stake.
  4. General hardware and connectivity requirements for Diva nodes

    Diva nodes can be deployed on either physical hardware or cloud services. Because Diva requires running a full Ethereum node, the primary resource constraints are storage (for the entire blockchain) and network bandwidth.

    Key requirements include:

    • A reliable internet connection.
    • A minimum of 1.5TB of internet bandwidth per month.
    • Hardware powerful enough to support both Diva and the necessary Ethereum consensus and execution clients.
  5. Understand Distributed Validator Pools in Diva Staking

    In Diva Staking, a pool is a distributed validator operated by multiple nodes. Instead of a single node managing an Ethereum validator, the responsibilities are divided among several Diva Nodes. This architecture is designed to increase security and fault tolerance by removing the single point of failure associated with a single node or operator, allowing the protocol to scale while maintaining Ethereum's decentralized staking model.
  6. Understand the role of an Aggregator in Diva Staking

    An Aggregator is a specialized type of Signer within a pool, elected via a consensus protocol. Its primary responsibility is to manage the signature lifecycle for validator duties requested by the Ethereum node: it proposes the duties, collects the necessary signatures from other signers, and aggregates them into a final signature for the validator representing the pool.
  7. Understand the Diva Operator testnet purpose and security risks

    The Diva Operator testnet allows users to run a Diva node to participate in creating Distributed Validators, test client combinations and validator performance, and stress test the system for Mainnet.

    Security Warning: The testnet runs on Docker containers which may expose machine ports to the public. This setup does not implement security measures; it is strongly recommended to deploy Diva in a secure and controlled network environment to avoid exposing systems and data to risks.

  8. Understand the Diva Distributed Validator creation process

    The Diva Smart Contract (DSC) orchestrates the creation of distributed validators by grouping ETH deposits into 32 ETH bundles. For each bundle, a random seed is generated using the RANDAO value. This seed is used to derive a unique ValidatorID for each distributed validator using a chain of keccak256 hashes:

    1. Seed0 is generated from RANDAO.
    2. ValidatorID_x = HASH(Seed0)
    3. ValidatorID_{x+1} = HASH(ValidatorID_x)

    Diva Nodes monitor the DSC for these ValidatorID events to initiate the Distributed Key Generation (DKG) process.

  9. Understand the role of a Signer in Diva DVT

    A Signer is a node that holds a fragment of a BLS key for a validator, obtained through a Distributed Key Generation (DKG) process. The primary responsibility of a Signer is to validate duties proposed by an Aggregator; if the duties are deemed correct, the Signer signs them. A group of Signers that share fragments of the same BLS key is collectively known as a pool.
  10. Turbo divETH Vault asset lifecycle and strategy

    Assets deposited into the Turbo divETH Vault follow a two-phase strategy:

    1. Pre-launch: BPT tokens are staked on Aura to earn compound rewards.
    2. Post-launch: Assets in the BPT can be transitioned into divETH-powered yield opportunities, such as a Balancer rETH-divETH pool, effectively converting committed ETH into divETH and providing liquidity on decentralized exchanges.
  11. Choose a Diva installation method

    After cloning the repository, you can install Diva using one of two methods:

    1. Automated Scripts (Recommended): Use the provided scripts for a streamlined setup.
    2. Manual Configuration: Manually edit the configuration, typically used for custom Docker setups.
  12. Understand the Submitter role in the Diva network

    A Submitter is a permissionless role in the Diva network responsible for monitoring the P2P Pub/Sub channel of each DKG and relaying specific transactions to the smart contract. The Submitter handles three primary transaction types to facilitate validator registration and activation:

    1. DKG Proposal: Submits the results of participants' contributions to the smart contract.
    2. DKG Register: Registers a validator on Ethereum by sending a transaction containing 1 ETH and the BLS signature of the validator created by the DKG.
    3. DKG Activate: Completes the 32 ETH requirement for a validator. The Submitter requests a Merkle proof of the previous DKG register from the Prover; if verified, it sends the remaining 31 ETH to the registered validator.