Distributed Validation
Diva uses Distributed Validation Technology (DVT) to operate Ethereum validators in a fully distributed manner.
π Watch Prada's deep-diva about Diva's DVT at Dappcon 2023 (20 min)
Diva's Smart Contract extends Ethereum, wrapping the Consensus Layer Deposit Contract to provide new functionalities:
- Liquid Stakers deposit ETH to receive divETH to generate Staking Rewards.
- Liquid Stakers don't need to run nodes. Operators run nodes.
- Operators use DVT Key Shares instead of Ethereum validator keys.
- Each validator is run by 16 DVT Key Shares.
- Operators must lock 1 divETH collateral per Key Share instead of Ethereum's 32Ξ per validator.
- Operators generate additional divETH Operator Rewards for the Key Shares they operate.
Key Share Creation & Distributionβ
The Diva Smart Contract receives ETH deposits from Liquid Stakers. Every time there's 32Ξ available, it deposits them to the Ethereum Consensus Layer to form a new validator, which is operated by 16 unique Key Shares to generate Staking Rewards.
Key Shares are created using Distributed Key Generation (DKG). This allows the Operator peer-to-peer network to split validator keys into Key Shares operated by separate nodes using βBonehβLynnβShachamβ BLS threshold signatures.
Key shares are generated by the Operator network with state-of-the-art Multi-Party Computation (MPC) so private keys never come together, eliminating single points of failure. This technology is used by custodians like Fireblocks to safely operate wallets.
Operators receive Key Shares to new validators in a stochastic but fair process which ensures a uniform distribution of duties across the network. This is crucial to prevent clusterization and Sybil attacks.
Running Validators using Key Sharesβ
The Ethereum Consensus Layer requires validators to fulfill validation duties every few minutes, which requires signing validation duties.
Diva Operators connect via a P2P network, performing signatures independently without the need to interact with the Diva Smart Contract.
Whenever a validator is required to sign, Operators holding its different Key Shares coordinate through the P2P network to sign the attestation duties.
Once 11 out of 16 Key Shares (2/3rds) have signed, the validation duty is fulfilled by sending the message to the network.
This continues until the validator is shut down by requesting a withdrawal to recover its ETH.
Diva provides native mechanisms to eject bad actors or regenerate Key Shares that have been lost, allowing it to recover full liveliness.
How does Diva's DVT compare to SSV and Obol?β
Diva is similar to Obol and SSV in that its DVT provides fault tolerance and consensus mechanisms. This prevents single Operators from causing damage, while enabling uninterrupted operation even with some nodes offline.
Diva uses its own DVT implementation, which is different and independent from the ones of Obol and SSV.
The main difference is that Diva provides integrated Liquid Staking + DVT in one single trustless and permissionless system.
The main differences are:
- Diva's DVT is deeply integrated with its Liquid Staking, while SSV and Obol provide modular middlewares to distribute signatures.
- Diva provides an incentives and penalties system for Operators, while Obol and SSV leave that up to the system integrators using them.
- Diva is one fully integrated system extending Ethereum, while Obol and SSV are lego blocks intended to be integrated in staking systems.
- Diva is trustless as there are no trusted committees, multisigs, while others rely on external parties to handle some functionalities.
- Diva provides collateral guarantees from Operators, where neither Obol or SSV provide economic systems to protect stakers.
- Diva provides mechanisms to eject bad actors automatically.
- Diva uses a rotational nondeterministic consensus with 2x lower latency than classic DVT, which requires 2 round-trips.
- Diva is fully permissionless and doesn't use whitelists or any reputational factors in its design.
Key Benefitsβ
Diva's DVT translates into better performance with less risks, allowing it to operate a network of permissionless and trustless nodes.
This has very real benefits:
- Lower risk offline penalties, as its DVT delivers up to 500x better uptime by allowing multiple nodes to go offline without issues.
- Lower risk of lost keys, as Key Shares are both disposable and can be regenerated dynamically.
- Lower risk of slashing, as any malicious action would require 2/3rd of Key Shares to collude, and this would be punished by confiscating their collateral.
- Lower risk of MEV stealing
- Better economic conditions for both Liquid Stakers as well as Operators.
- Optimized for low latency, improving Staking Rewards.
- Fully trustless: Stake through Diva without needing to trust any of its participants.
- Permissionless: Run nodes for Diva without requesting permission from anyone.
DVT modelingβ
The benefit of Diva's DVT becomes clear here.
Consider a set of nodes with 5% downtime each β which would be unacceptabe by today's standards.
However, when incorporated into a Diva committee, the resulting downtime would be less than 0.01%! This is a huge improvement compared to the typical single-node operator, showcasing the resilience and reliability of the DVT system.
Diva's DVT turns a set of 16 nodes with 95% uptime into a Distributed Validator with 99.99% uptime
Thanks to its fault tolerance, consensus mechanisms, and integrated incentive systems, Diva's DVT system offers a robust and reliable option for trustless staking.
Learn moreβ
The explanation above is very high level. Watch this 20 min walk for a deeper dive:
π Read the Ethereum Foundation's explainer on DVT, describing the general mechanics and advantages of DVT.