Eigen layer integration works best through direct contracts when you need operator and reward control, a liquid restaking token (LRT) when users need liquidity, and a staking provider when you need managed infrastructure. The choice turns on who is the staker of record and how an exit can fail. For a product adding restaking, eigen layer lets staked ETH or liquid staking tokens help secure additional services, adding potential rewards and slashing risk to the position.
- Result: Choose an integration path and identify the exit failure your product must handle.
- Work required: Decide who holds the restaking position, who chooses Operators, and how users receive assets when they leave.
Which Eigen Layer Integration Option Controls the Stake?
Direct contracts make the depositing wallet or vault the staker of record; an LRT makes its issuing contract the staker; a provider’s arrangement determines who controls the position. Those differences affect custody, rewards and the code your product must maintain.
- Direct contracts: Deposit supported liquid staking tokens through StrategyManager and delegate through DelegationManager. Your staker address controls operator choice and claims its attributable rewards. Users face the protocol withdrawal queue, delay and possible slashing. Your integration handles contract calls, event indexing and balance accounting.
- Liquid restaking tokens: The issuer holds the EigenLayer position and gives users an ERC-20 claim on its pool. The issuer’s governance chooses Operators and receives rewards for distribution under its token rules. Your product integrates the token, while users depend on DEX depth for a sale or the issuer’s redemption queue for an exit.
- Staking provider: The provider runs validators and Operators, reducing your infrastructure work. Custody and operator control depend on the agreement and contract structure. Exits depend on its operating process as well as any protocol withdrawal delay, adding provider performance and contract terms to your failure cases.
Direct restaking also has two deposit routes worth separating. A supported LST enters through StrategyManager. Native ETH validator restaking uses an EigenPod and brings validator withdrawal credentials into the design. Choosing direct contracts means choosing which route your product can operate safely.
An LRT’s ERC-20 balance is liquid only when someone will buy it at an acceptable price. Selling on a DEX can settle quickly when depth exists; redeeming with the issuer can enter its own queue. Treating those exits as equivalent would make a product promise liquidity that its redemption path cannot deliver.
How Do EigenLayer Withdrawals Change the Integration?
Direct withdrawals require your product to track a queued position until DelegationManager can complete it. Say a user has an LST deposit delegated to an Operator. Before queueing, the app can show active deposit shares. After queueing, those shares leave the active deposit balance and become a pending Withdrawal. The staker and strategy remain identifiable, while the amount ultimately received can change if the position is slashed during the queue period.
Store the full Withdrawal struct emitted by SlashingWithdrawalQueued. Completion requires its staker, delegated operator, withdrawer, nonce, start block, strategies and scaled shares. The withdrawal root identifies the record but cannot be reversed to rebuild those fields. Index the event, associate the struct with its root and user, and retain it through completion. Current contracts can return still-pending, post-slashing withdrawals through getQueuedWithdrawals; that view does not replace a durable record of completed or older withdrawals.
Queueing and completing are separate accounting events. At queue time, move shares from active to pending in your user ledger. At completion, use the actual tokens or shares received to close the pending balance. This distinction matters because scaled shares in the Withdrawal are inputs to slashing calculations, not a guarantee of the final payout.
For most consumer apps, start with an LRT if its market depth and redemption terms fit the liquidity promise. Choose direct contracts when your product must select Operators, control rewards and own the withdrawal workflow. Choose a provider when validator and operator operations need an external team. Make that choice against the exit your users will actually take.
Related Questions
These questions determine how to test the chosen path and account for its operators and rewards.
Do eigen layer contracts have a testnet?
Yes. EigenLayer publishes testnet deployments for its core contracts. Match the deployment to the route you are testing: contract and asset support can differ between testnets, especially for native ETH restaking through an EigenPod.
How do LRTs choose operators?
The LRT issuer chooses Operators through its governance or delegated management process, then delegates the pooled stake. A holder owns the LRT claim, not an individual operator selection. Review the issuer’s policy if operator concentration or slashing exposure affects your product.
How are AVS rewards claimed onchain?
Eligible stakers and Operators, or their designated claimers, submit a Merkle proof to RewardsCoordinator after a distribution root becomes active. The contract pays the claim’s recipient for earnings not previously claimed. With an LRT, the issuing staker claims rewards and applies its own distribution rules to token holders.
What Should You Resolve After Choosing a Path?
Resolve balance treatment, redemption terms and wallet authority before presenting a restaking position to users.
How do I handle slashing in user balances?
Track active shares and queued shares separately, then value each from the relevant withdrawable amount. On completion, reconcile against assets actually received. For an LRT, use the issuer’s share or exchange-rate rules; for a provider, use the balance and loss rules in its agreement.
Which LRTs support instant redemption?
Instant sale and instant issuer redemption are different promises. Compare current DEX depth for the size users may sell with each issuer’s redemption terms. A liquid market can support a fast sale even when issuer redemption is queued.
Can a smart contract wallet be an eigen layer staker?
Yes. A contract wallet can hold a direct LST position when it can make the required StrategyManager and DelegationManager calls. Test its signing and authorization path for any delegated action. Native ETH restaking also requires the wallet design to control its EigenPod and validator withdrawal credentials.