Deposit Stake

The Othentic CLI allows you to deposit stake to EigenLayer staking contracts (strategies).

You can choose one of these options:

Prerequisites

  1. Asset balance to deposit

  2. Sufficient funds to cover gas costs

If depositing a custom asset, note its staking contract address (strategy address)


Option 1: Deposit native ETH

1

Run the deposit command

othentic-cli operator deposit
2

Enter your private key

Make sure to input the raw 32-byte private key that controls the Operator Account, without leading 0x.

3

Choose stETH as the staking contract

Choose stETH, the first option in the list, and press Enter.

4

Enter the amount

For example: 0.1 to deposit 0.1 ETH.

5

Choose "YES" to convert amount

When prompted with the following query:

? Convert ETH to get the amount to deposit (Y/n) 

Enter "Y" and press Enter.


Option 2: Deposit a supported staking contract

1

Run the deposit command

othentic-cli operator deposit
2

Enter your private key

Make sure to input the raw 32-byte private key that controls the Operator Account, without leading 0x.

3

Choose the supported asset from the list

If you can't find it, refer to Option 3: Deposit to a custom staking contract.

4

Enter the amount

For example: 0.1 to deposit 0.1 ETH.


Option 3: Deposit a custom staking contract

1

Find your custom staking contract address

For help, please contact the AVS team or the Othentic team.

2

Run the deposit command with the required option

othentic-cli operator deposit --staking-contract-address <staking_contract_address>

Provide the staking contract address.

3

Enter your private key

Make sure to input the raw 32-byte private key that controls the Operator Account, without leading 0x.

4

Enter the amount to deposit in ETH units

For example: 0.1 to deposit 0.1 ETH.


Option 4: Deposit Manually

1

Find the Staking Contract and Strategy contract addresses

You can find the addresses in eigenlayer-contracts.

For eg:

stETH Staking Contract address on Holesky is 0x3F1c547b21f65e10480dE3ad8E19fAAC46C95034

stETH Strategy Address on Holesky is

0x93c4b944D05dfe6df7645A86cd2206016c51564D

2

Get the Staking Token

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

See the example transaction here.

3

Approve Strategy Manager as spender

To stake with EigenLayer using a staking contract, Approve the EigenLayer StrategyManager to spend maximum allowance of tokens from a Staking Contract.

Execute approve method in the Staking Contract with below values:

  • _spender: Strategy Manager For eg. 0xA744429bf286789225308a81A5a4b8049562A362

  • _amount: 115792089237316195423570985008687907853269984665640564039457584007913129639935

approve
4

Deposit into the Staking Contract

Execute 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: Strategy address 0x96D47307C2844fb46792BcEFC903855440b4b2ad

  • token: Staking contract address 0x3F1c547b21f65e10480dE3ad8E19fAAC46C95034

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

deposit
5

Verify Your Deposit

To ensure your tokens were successfully deposited, go to the Strategy Contract (stETH) and call the sharesOf(address) function.

Last updated