Web3 · Engineering

Liquid Staking & Restaking Vaults

Most liquid staking forks copy the receipt token and skip the part that breaks: slashing-aware accounting under real validator load. Liquid staking and vault development is the smart-contract practice that issues a transferable receipt token for staked assets, then routes validators, tracks the exchange rate, and defends the vault against slashing before mainnet.

  • ~$20MTVL engineered
    nsASTR on Astar
  • 4Hacken audit rounds
    cleared on staking work
  • Memestakesin-house vault product
    tax-funded meme staking

In short

What is Liquid Staking & Restaking Vaults?

Liquid staking and vault development is a smart-contract practice for protocol founders that issues a transferable receipt token in exchange for staked assets while keeping them liquid. Metaborong engineered nsASTR, a liquid staking product at roughly twenty million dollars in TVL on Astar, and built Memestakes, an in-house meme-coin staking vault. Our staking contracts have cleared four Hacken audit rounds.

What we deliver

Concrete artefacts, not capabilities

  • 01

    Vault contracts with validator routing and slashing-aware exchange-rate accounting.

  • 02

    Liquid receipt token: rebasing or wrapped, composable by downstream DeFi.

  • 03

    Restaking and validator-rotation logic with an exit-queue model.

  • 04

    Oracle and exchange-rate feed plus risk controls for slashing and depeg.

  • 05

    Mainnet deployment scripts, multisig handover, and a parameter runbook.

Key concepts

Key terms, defined

Liquid staking token
A liquid staking token (LST) is a transferable receipt minted when an asset is staked. It represents the staked principal plus accrued rewards, so holders earn yield while keeping a tradable token they can lend, supply as collateral, or use across DeFi instead of locking the underlying.
Restaking
Restaking is the reuse of an already-staked asset, or its liquid staking token, to secure additional protocols in exchange for extra rewards. A liquid restaking token (LRT) represents this layered position. It raises yield but compounds slashing exposure, since one position now backs more than one network.
Validator routing
Validator routing is the vault logic that distributes staked assets across a validator set and rebalances over time. Routing targets uptime, decentralization, and slashing risk rather than raw yield. An exit queue governs unstaking so withdrawals settle in order without forcing the vault to unwind every validator at once.
Exchange rate
The exchange rate is the ratio between a liquid staking token and the underlying staked asset. It rises as rewards accrue and falls when slashing burns value. A non-rebasing vault holds the receipt supply fixed and lets this rate climb; an oracle publishes it so downstream protocols price the token correctly.

How we work

Engagement phases

  1. Validator & vault spec

    We pin down the receipt-token mechanic and the validator-set strategy first. Rebasing or wrapped, in-protocol or external validator selection, exit-queue model, restaking posture, and how the exchange rate accrues are decided here. The spec covers routing logic, fee splits, and the slashing boundary between the vault and the staking layer. It is the document the auditor reads first.

  2. Contracts & keepers

    We build the vault contracts and the off-chain keepers in parallel. Property-based tests cover the accounting invariants: total receipt supply, validator-side balance, and exchange-rate monotonicity. Fork tests run the vault against real validator data and simulated slashing. Keepers handle rotation, restaking, and exit-queue processing, and the two pieces are tested as one system before audit.

  3. Audit & integration

    The contract suite goes to external audit while we ship the operator dashboard and the integration SDK. Downstream DeFi composing your receipt token needs the exchange-rate adapter and a clear guide, so that lands with the audit rather than after. Findings feed a second-round review; our staking contracts have cleared four Hacken audit rounds on prior work.

  4. Mainnet & operate

    Mainnet deployment runs from a reviewed script. Validators are routed to, the receipt token is live, the oracle feed publishes, and keepers run under monitoring. We respond to slashing events, validator-set changes, and exit-queue load through the operate phase. nsASTR currently runs at roughly twenty million dollars in TVL on Astar, the operating envelope we engineer for.

Tech stack

What we build on

  • SolidityContracts
  • FoundryTesting
  • Astar / EVMChains
  • GelatoKeepers
  • ChainlinkOracles
  • The GraphIndexing
  • TenderlyMonitoring
  • TypeScriptSDK
  • SolidityContracts
  • FoundryTesting
  • Astar / EVMChains
  • GelatoKeepers
  • ChainlinkOracles
  • The GraphIndexing
  • TenderlyMonitoring
  • TypeScriptSDK

Scope

When this fits and when it doesn't

When this engagement fits and when it does not.
This fits whenThis doesn't fit when
You're shipping a liquid staking or restaking product and need contracts, keepers, and oracle wiring in one engagement.You want to fork an existing liquid staking codebase and deploy it on a new chain unchanged.
Receipt-token composability matters: DeFi protocols integrate your token and need an exchange-rate adapter and SDK.Validator selection is fixed to one operator with no rotation, no restaking, and no exit queue.
Budget covers external audit and the operate-phase keeper, oracle, and monitoring work, not just contract delivery.The vault is a throwaway mechanic for a token launch with no long-term operate-phase requirement.
FAQ

Frequently asked questions

Liquid staking is the mechanic: you stake an asset and receive a transferable receipt token that keeps earning rewards. The vault is the smart-contract system that makes it work, holding the staked assets, routing validators, tracking the exchange rate, and processing the exit queue. A liquid restaking vault adds a layer, reusing the staked position to secure extra protocols for additional yield.

Last reviewed · Reviewed by Metaborong engineering team

Got a project in mind?

Tell us what you are building.

We build what large agencies under-deliver and freelancers can't architect, across Web3 protocols, AI agents, and SaaS products. Tell us what you are building. We will tell you how we would approach it, no pitch deck, no fluff, no commitment required.

Start a conversation
Reply within 12hNo pitch deck. No commitment.contact@metaborong.com