Blockchain 9 min read

Liquid Staking: Architecture and Implementation

By Born Digital Studio Team Malta

Liquid staking has become the largest DeFi category by total value locked, solving the fundamental trade-off between staking yield and capital liquidity. When users stake ETH directly, their capital is locked and cannot be used elsewhere. Liquid staking protocols issue a derivative token representing the staked position, which can be traded, used as collateral, or deployed across DeFi while the underlying ETH continues earning staking rewards.

How Liquid Staking Works

The liquid staking flow is straightforward from the user's perspective: deposit ETH into the protocol and receive a liquid staking token (stETH from Lido, rETH from Rocket Pool, cbETH from Coinbase). The protocol aggregates deposits, runs or delegates to validators, and distributes staking rewards to token holders. There are two models for reward accrual: rebasing tokens like stETH increase the holder's balance daily as rewards are earned, while value-accruing tokens like rETH maintain a fixed balance but increase in value relative to ETH over time. The value-accruing model is simpler for DeFi integrations since the token balance does not change unexpectedly.

Protocol Architecture

A liquid staking protocol consists of several core components:

  • Deposit pool: Accepts user deposits and batches them into 32 ETH increments needed for validator activation. Manages the queue between deposit receipt and validator deployment.
  • Validator management: Coordinates with node operators to create and manage validators. Tracks validator performance, handles slashing events, and manages the validator lifecycle from activation to exit.
  • Oracle system: Reports validator balances from the beacon chain to the execution layer. This data is used to calculate the exchange rate between the liquid staking token and the underlying ETH, accounting for rewards and any slashing penalties.
  • Withdrawal queue: Handles unstaking requests by exiting validators and returning ETH to users. Withdrawal times depend on the Ethereum exit queue length and can range from hours to days during high-demand periods.

Decentralisation and Risk

The concentration of staked ETH in a few liquid staking protocols poses systemic risks to Ethereum's decentralisation. Lido alone controls a significant percentage of all staked ETH. Mitigation strategies include distributing validators across diverse node operators (as Lido does with its curated and community operator sets), implementing DVT (Distributed Validator Technology) to split individual validators across multiple operators, and capping protocol growth to prevent excessive concentration. Slashing risk — where validators are penalised for misbehaviour — is the primary financial risk, mitigated through operator diversification, slashing insurance funds, and careful operator selection.

Building a Liquid Staking Protocol

Developing a liquid staking protocol requires deep understanding of Ethereum's consensus layer, validator operations, and DeFi composability. The smart contracts must handle complex accounting for rewards, slashing, and withdrawals with absolute precision — rounding errors accumulate across millions of staked ETH. Extensive testing, formal verification where feasible, and multiple security audits are essential. At Born Digital, we work with staking infrastructure providers to build reliable, secure liquid staking systems that contribute to Ethereum's decentralisation while providing users with capital-efficient staking solutions.

Need help with blockchain?

Born Digital offers expert blockchain services from Malta.

Share this article

Help others discover this insight

Born Digital Studio Team

Born Digital Studio is a Malta-based digital engineering studio specialising in eCommerce, blockchain, and digital product development. We build high-performance platforms for businesses across Europe.

Have a project in mind?

If this topic resonates with your business challenges, let's talk about how we can help.