Register to AVS

The Othentic CLI allows you to easily register as an Operator to an AVS built with the Othentic Stack. This guide covers the commands and key configurations needed.

You can choose one of these two options:

  1. Using different Controller and Consensus Key (for production environments)

Prerequisites

  1. Your Controller account has sufficient L1 gas funds

  2. The AVS Governance contract address you want to register with

  3. Optional: A rewards receiver address (can be a smart contract or EOA)

  4. If using Option 2: a raw Consensus key


Option 1: Registration using same Controller and Consensus Key

1

Run the register command

otcli operator register

This command initiates the registration process on the AVS and also syncs the Voting power internally.

2

Enter your private key

When prompted enter the private key of the Operator EOA

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

3

Choose "No" to not use a different private key for Consensus

When prompted with the following query:

? Use a different private-key for Consensus? (y/N)

Enter N and press Enter.

4

AVS Governance Contract Address

Enter the AVS Governance contract address of the AVS

5

Rewards Receiver Address

Optionally, provide an address (typically a smart contract) to receive and distribute rewards. If left blank, your Operator address will be used by default.


Option 2: Registration using different Controller and Consensus Key

1

Run the register command

otcli operator register

This command initiates the registration process on the AVS and also syncs the Voting power internally.

2

Enter your private key

When prompted enter the private key of the Operator EOA

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

Example value: e9859677e161457c5858659c3f017cccd88b6533b750bd5bd1fb20ec439dc14b

3

Choose "Yes" to use a different private key for Consensus

When prompted with the following query:

? Use a different private-key for Consensus? (y/N)

Enter y and press Enter.

4

Enter the Consensus private key

When prompted enter the raw operator Consensus key.

5

AVS Governance Contract Address

Enter the AVS Governance contract address of the AVS.

6

Rewards Receiver Address

Optionally, provide an address (typically a smart contract) to receive and distribute rewards. If left blank, your Operator address will be used by default.

Last updated