eigenlayer

Implements EigenLayer restaking, delegation, withdrawals, and operator registration on Ethereum mainnet.

1|1|Updated May 21, 2026
One-click install
npx skills add https://github.com/naruto11eth/cryptoskills --skill eigenlayer-naruto11eth
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: eigenlayer
Source: https://github.com/naruto11eth/cryptoskills/tree/main/skills/eigenlayer
Command: npx skills add https://github.com/naruto11eth/cryptoskills --skill eigenlayer-naruto11eth

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? AI agents frequently hallucinate EigenLayer contract addresses, confuse restaking with liquid staking, and miss critical protocol mechanics like the two-step withdrawal queue, all-or-nothing delegation, and slashing exposure. This Skill provides verified proxy addresses, correct ABI signatures, and working viem and Solidity code for the full EigenLayer restaking lifecycle. ## Core Features & Use Cases - LST and Native Restaking: Deposit stETH, rETH, cbETH, and other LSTs into Strategy contracts, or create EigenPods for native ETH restaking with beacon chain proof verification. - Delegation and Operator Management: Delegate restaked assets to operators, register as an operator with metadata, and generate EIP-712 signatures for AVS registration via the AVSDirectory. - Withdrawals, Rewards, and Slashing: Queue and complete withdrawals after the escrow delay, claim rewards via RewardsCoordinator Merkle proofs, and assess operator slashing risk through the AllocationManager. - Use Case: A developer building a restaking dashboard uses the included TypeScript client template to deposit stETH, check restaked shares, delegate to an operator, and queue a withdrawal, while consulting the error-codes reference to debug a failed completeQueuedWithdrawals call. ## Quick Start Ask the agent to deposit 1 stETH into EigenLayer and delegate the restaked position to a registered operator address.

Frequently Asked Questions about eigenlayer

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I deposit stETH into EigenLayer with viem?

Approve the StrategyManager proxy (0x858646372CC42E1A627fcE94aa7A7033e7CF075A) to spend your stETH, then call depositIntoStrategy with the stETH strategy address, token address, and amount. The function returns shares representing your restaked position.

How does EigenLayer delegation to an operator work?

Delegation assigns all your restaked shares across all strategies to a single registered operator via DelegationManager.delegateTo. You cannot split delegation across multiple operators from one address, and undelegating automatically queues withdrawals of all assets.

What is the difference between EigenLayer restaking and liquid staking?

EigenLayer is a restaking protocol, not a liquid staking protocol. You deposit already-staked assets like stETH or rETH to secure AVSs, and EigenLayer does not issue a liquid receipt token for your deposit.

Why does completeQueuedWithdrawals revert on EigenLayer?

Common causes are the minWithdrawalDelayBlocks escrow period not elapsing, a withdrawal struct that does not exactly match the original queued withdrawal, or the withdrawal already being completed. Verify the nonce, startBlock, strategies, and shares match exactly.

Can I withdraw restaked ETH from EigenLayer instantly?

No. Withdrawals are two-step: queueWithdrawals starts an escrow period defined by minWithdrawalDelayBlocks, then completeQueuedWithdrawals finalizes it. The delay exists so slashing can be processed before funds are released.

How do I register as an EigenLayer operator and join an AVS?

Call DelegationManager.registerAsOperator with your earnings receiver and metadata URI, then sign the EIP-712 digest from AVSDirectory.calculateOperatorAVSRegistrationDigestHash. The AVS's ServiceManager submits your signature to registerOperatorToAVS.