Mantle Staked ETH (mETH) Integration for Liquid Staking on Mantle L2

Liquid staking breaks where shares diverge from accounting, and withdrawals get stuck in manual reconciliations. We set up Mantle Staked ETH integration turnkey: accounting model, parameters, procedures, and handover to the team. Share reconciliation and withdrawals stop depending on manual operations.

Blockchain Development Services

Frequently Asked Questions

Latest works

  • Development of a web application for FEEDME
    Development of a web application for FEEDME
    1365
  • Development of an online store for the company FURNORO
    Development of an online store for the company FURNORO
    1330
  • B2B Advance company logo design
    B2B Advance company logo design
    776
  • Development of a web application for Enviok
    Development of a web application for Enviok
    1077
  • AIDER company logo development
    AIDER company logo development
    1022
  • CRM development for Chasseurs
    CRM development for Chasseurs
    1113

Mantle Staked ETH: where liquid staking breaks in the product

Liquid staking breaks not at integration, but in accounting. A team integrates Mantle Staked ETH, receives a share in the pool, and assumes that from then on it is enough to display the balance — but the balance reflects the share rate, not what the user actually earned.

The first failure is a frozen share. While the request is queued for withdrawal, the asset has already been debited from the product balance but has not yet returned in liquid form, and accounting shows a gap that cannot be closed.

The second: accruals are calculated manually, using spreadsheets and exports: the discrepancy between the share rate and the calculation surfaces only during reconciliation and after the figures have gone to the user.

The third: on withdrawal, part of the income is lost: the rate is recalculated at the time of the request, not at the time funds actually return to the pool.

The cost to the team is not measured by support tickets.

Manual recalculation of share accounting does not scale: as the number of positions grows, the share of errors and manual adjustments grows, a frozen share blocks liquidity and cuts turnover, and the discrepancy between what the user sees and what is held in the contract undermines trust in the product as a whole.

Hence the only correct question: how to keep share accounting so that it matches the state of the pool at any moment — including the withdrawal period. We break down how this is solved.

What changes in the product economics after integrating mETH

Classic staking freezes a position: the asset goes into a deposit and falls out of circulation until exit. mETH removes this limitation — a settlement token on Mantle confirms a staking share and remains in circulation. Staking yield and token liquidity cease to be mutually exclusive.

The economics change primarily at the accounting level. Accrual is not spread across separate journal entries: the yield is embedded in mETH itself and manifests in its rate to ETH.

A single value describes both the position and the accrued amount — reconciliation reduces to the rate on a date, not to a register of manual accruals for each period.

Token liquidity directly drives asset turnover. mETH is held as collateral, supplied to pools, passed through on-chain settlements — while the staking position is not closed.

Protocol fees become visible: they arise on entry and exit, rather than being spread across the holding period.

Along with this, a whole class of reconciliation errors disappears. The discrepancy between the deposit position, accrued income, and actual receipt used to be found by comparing statements, and each missed period led to a manual adjustment.

Now the position and the accrual are one number, and the question 'where did it settle' simply does not arise. This is the measurable effect: the asset works while accrual is ongoing, rather than waiting for the lock-up to end.

Integration options: native staking, swap, liquidity pool

The choice of mode is determined by two questions: whether the position must remain liquid while ETH is staked, and how long withdrawal takes.

Native staking gives full protocol yield and control over the validator, but keys, monitoring, and the withdrawal queue remain on the team's side — the assets are unavailable to the application during that period.

Issuance of Mantle Staked ETH (mETH) through the staking contract removes the key question: the deposit is exchanged at the rate, and the token is immediately recorded in the balance.

Integration option When it fits Limitations
Native staking Need maximum yield and your own validator Keys and monitoring are on the team, exit through the withdrawal queue
Issuance of mETH through the staking contract The position must remain in circulation Exchange at the rate, not at market price; entry is instant, exit is queued
Swap on the secondary market Need entry and exit in a single transaction Slippage and deviation from the rate when liquidity is thin
Liquidity pool with mETH Need yield on top of staking Risk of impermanent loss and price deviation from the rate

The hybrid solves both tasks: we hold mETH as the unit of account inside the product, and we top up liquidity with a pool.

In the staking integration, we pin down which rate source is used for accounting and what happens on divergence — otherwise the application's and protocol's balances will drift apart.

Implementation stages: scheme audit, configuration, verification, handover

The engineering order of work is structured so that share accounting in Mantle Staked ETH remains verifiable at every step — from the current state to handover into operation.

First, we break down how the share is accounted for today: who holds the rights to issuance and redemption, where balances diverge from actual collateral, and which external calls already touch the contracts.

Order of work

  1. Scheme audit — we reconcile share accounting with the actual balance, and record places where double counting or divergence during issuance and redemption is possible.
  2. Flow design — we describe how the share passes through the contracts: who calls the methods, what is checked before the operation, and which records remain in the journal for reconciliation.
  3. Contract configuration — we assemble issuance, redemption, and share transfer methods, separate roles, and restrict them so that one error does not block all accounting.
  4. Testnet run — we go through scenarios with partial redemption, pauses, and rejected operations, and observe how share calculation behaves.
  5. Acceptance on control scenarios — we check reward accrual, rounding, behavior on external call failure, and recovery after it.
  6. Handover of procedures — we provide the role scheme, reconciliation checklist, escalation procedure for balance divergence, and instructions for the on-call team.

After acceptance, the client sees not 'working code' but a clear procedure: what is reconciled and when, by which rule the share is calculated, and to whom one turns on deviation. Further changes are made in the same contracts without rebuilding the accounting scheme.

Implementation artifacts: configurations, accounting schemes, procedures

An integration is considered complete not at the moment of the first successful operation, but when your team independently conducts staking, handles an incident, and submits reporting without our involvement.

Therefore, along with the working code, we hand over a set of artifacts: configurations, an accounting scheme, access policies, and response procedures.

  • Environment configurations — Mantle Staked ETH contract addresses, per-operation volume limits, list of allowed nodes, and transaction cost thresholds; each parameter has a comment: what it controls and how to change it.
  • Accounting scheme — how deposited ETH, accrued income, changes in the mETH exchange rate, and withdrawal are reflected: accounts, entries, revenue recognition point, and the procedure for reconciling with network data.
  • Access policies — roles and separation of duties, signature threshold, key rotation, daily limits, and the procedure for granting and revoking rights when responsible parties change.
  • Response procedures — what the on-call shift does on exchange rate deviation, validator stoppage, withdrawal delay, and planned network changes.
  • Instructions for the on-call shift — step-by-step scenarios: starting an operation, checking state, rolling back a failed transaction, and escalation points.
  • Reporting — exports for operations and accruals, daily and monthly reconciliation, templates for internal control and external audit.
  • Acceptance checklist — a set of checks that your engineer goes through independently; we attend and confirm the result.

Each artifact is tied to a specific action rather than sitting there for a checkbox: the configuration is used to bring up an environment, the procedure is used to handle an incident, and the accounting scheme is used to make reporting reconcile.

Further development of the integration can be done by your own team — we join in on a targeted basis, for new scenarios or protocol changes.

Case study: share reconciliation and withdrawal without manual operations

Before implementation, share accounting was manual: an operator exported wallet tables once a week, reconciled accruals, and only then initiated payouts.

With several hundred addresses, this caused a withdrawal delay of 2–3 days, and discrepancies were found after accrual — they had to be sorted out in support, retroactively.

What we changed

We connected an event stream for the Mantle Staked ETH contract: the handler reads every confirmed event, recalculates the address's share, and writes it to its own register.

Withdrawal is assembled in batches, each operation is tagged with a run key — a repeated run does not create double debits, and the amount to withdraw is reconciled with the network state before sending.

Results

Metric Before After
Share reconciliation once a week, manually continuously, per each event
Withdrawal delay 2–3 days minutes
Disputed accruals 4% of operations 0.1%
Manual register adjustments daily not required

The result was confirmed by a control reconciliation: calculated shares matched the contract data for all addresses, and the operations journal stores history — any payout can be replayed and explained to the client. We deploy the same contour where liquid staking coexists with ordinary transfers.

What to do if regular staking is already deployed in the product

Yes, migration is possible without stopping the product if you do not switch the stake storage scheme all at once, but instead build an accounting layer on top that abstracts the yield source.

New inflows go into mETH — the liquid staking token of the Mantle network — while old positions continue to live until natural exit. The product interface reads the aggregate balance from a single share register, so nothing 'flickers' for the user.

The main difficulty is different accrual models. Classic staking records the reward as separate payouts, while mETH grows in price: the income is embedded in the exchange rate, which is updated by an oracle.

Therefore, the first thing to migrate is not fund inflow, but reading and accounting — the balance calculation is rebuilt from 'reward for the period' to 'value of the share', with rounding checks and reconciliation against the rate.

The order of work is as follows: display and reconciliation of balances, then acceptance of new funds via mETH, then reward distribution, and only at the end — exit from the old scheme.

The final step runs into the withdrawal queue: it can stretch for days, and if liquidity is needed immediately, the only option is swapping mETH on the market — with slippage and the risk of a thin order book.

Bottlenecks are compatibility of accounting models, rate freshness, and the exit queue. Plus, the interface must honestly show two states: 'withdrawing' and 'converted'.

We keep the adapter and the old inflow path working until full reconciliation, so that rollback takes minutes rather than requiring a service shutdown.

Technical concerns: contract risks, withdrawal, reporting

Engineering concerns rarely relate to yield — they are about control: who can access the keys, what happens to the position during an incident, how funds are withdrawn, and where the numbers in accounting come from. Below are direct answers for each point that can be defended at a technical council.

Who controls the keys and what can be revoked?

The deposit leaves your wallet — the contract does not gain access to the balance. Management roles (deposit acceptance, fee parameters, reward collection) are granted separately and via multisig, so a single participant cannot withdraw the pool. Revoking a role does not affect funds already deposited.

What does the audit show and how does the contract behave on failure?

We verify the audit report and role composition before launch, including changes made after the review. A pause stops deposit acceptance but does not block withdrawal, so the position does not remain locked during an incident.

How are funds withdrawn and what about liquidity?

Swapping Mantle Staked ETH on the secondary market is faster but depends on pool depth; redemption through the contract goes through a queue while the validator exits the network.

We review market depth and expected withdrawal volume in advance and keep a buffer so that a large exit does not move the rate.

How do accruals get into reporting?

The exchange rate grows along with validator rewards, so the balance changes without separate transactions.

We collect contract events, reconcile them with the rate at period boundaries, and provide an export with the accrual for each day and its source — divergence is visible before the reporting date, not after.

Let's discuss the task: what data is needed for assessment and start

For the project assessment to rely on facts rather than assumptions, we need enough inputs about the contour: where the logic lives, which mETH operations you plan to support, and what is already running in production.

Below is the minimum data set to start; from it we assemble the integration scheme and come back with a work plan.

  • Target contour: we work only in the L2 network, deploy a separate contour, or support multiple networks — the accounting model and bridge choice depend on this.
  • Current stack: contract language, framework, node version, deployment orchestration, and what is already in production.
  • List of mETH operations: issuance and redemption, transferring the token as collateral, reward accrual, pauses, and emergency stops.
  • Access and key model: who holds issuance rights, how multisig is set up, and which roles need to be separated.
  • Surrounding integrations: wallets, custody, price oracles, analytics, and accounting reporting.
  • Verification requirements: whether external audit is needed, test coverage, jurisdiction restrictions, and KYC contour.
  • Phasing: what must go into the first release, and what can be moved to a second pass without risk to core logic.

If some data is not yet available — that does not block: we clarify some inputs in the first conversation with your engineers. Describe the task — we will come back with a project assessment and work plan: stages, team composition, and control points.