Operator Deposit

To have shares in EigenLayer protocol and operate the network, participants must deposit any LST shares into EigenLayer's delegation manager.

Using the CLI

The Othentic CLI streamlines the staking process on EigenLayer protocol and supports multiple strategies. This command also supports conversions between ETH and LRTs.

To deposit, use the following command:

othentic-cli operator deposit

This command initiates the deposit process on EigenLayer. You will be prompted to provide the following details:

  1. Private Key : Operator's private key.

  2. Staking contract: Choose from a menu of available staking contracts.

  3. Amount: Specify the amount to deposit.

    • If you lack sufficient funds, you will be asked whether to convert funds automatically.

Using Flags:

othentic-cli operator deposit --staking-contract stETH --amount 0.001 --convert 0.002

Command Options:

  • staking-contract is the name of LRT. Currently, only the default strategies are supported. If you wish to deposit into an additional strategy, you will need to follow the manual deposit process and call the contract function.

  • amount is the amount in strategy token to be staked on EigenLayer.

  • convert is the amount of ETH to be converted for strategy token.

  • --staking-contract-address allows you to specify custom staking contract.


Manual Deposit Process

Depositing as an Operator on EigenLayer is a two-step process:

  1. Get stETH

  2. Stake with EigenLayer

1. Get stETH

Contracts

stETH ERC20 Contract

How to

The stETH address on Holesky is: 0x3F1c547b21f65e10480dE3ad8E19fAAC46C95034

To generate stETH on Holesky, simply transfer any ETH amount to the stETH contract.

See the example transaction here.

2. Stake with EigenLayer

Contracts

stETH ERC20 Contract

stETH StrategyManager

To stake with EigenLayer, you need to deposit stETH into the stETH Strategy contract. First, approve the StrategyManager account as spender on your stETH:

Values should be:

  • _spender: 0xA744429bf286789225308a81A5a4b8049562A362

  • _amount: 115792089237316195423570985008687907853269984665640564039457584007913129639935

Then, find the depositIntoStrategy function on the StrategyManager contract and call it with the amount you'd like to restake:

The parameters to pass should be:

  • strategy: 0x96D47307C2844fb46792BcEFC903855440b4b2ad

  • token: 0x3F1c547b21f65e10480dE3ad8E19fAAC46C95034

  • amount: amount you'd like to re-stake

To make sure your tokens got deposited, go to the strategy contract and call the function shares.

Last updated