Configure Staking Contracts

The Othentic CLI allows you to configure which Staking Contracts are supported by the network. Staking Contracts determine which assets are used to secure the AVS network and derive operator Voting Power. This guide covers the commands needed.

Read More

You can choose one of these options:

Prerequisites

  1. AVS Governance contract address.

  2. If using Option 2: Custom Staking Contract address.


Option 1: Choose Staking Contracts from a list

1

Run the required command

othentic-cli network set-staking-contracts
2

Enter your private key

Use --browser-sign option for the browser wallets support like SAFE Multisig.

3

Enter AVS Governance contract address

4

Choose Staking Contracts to enable

Follow the command instructions on how to make your selection.


Option 2: Define a custom Staking Contract

1

Run the required command

othentic-cli network set-staking-contracts \
  --staking-contracts-address <staking_contract_addresses_list>

Make sure to pass the list of custom Staking Contract addresses in the following format:

  • For a single custom Staking Contract: 0xabc...def

  • For multiple custom Staking Contracts: 0xabc...def,0x123...456

2

Enter your private key

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

3

Enter AVS Governance contract address

4

Choose Staking Contracts to enable

The Staking Contracts chosen here will be enabled alongside the custom list.

If the list is empty, only the custom Staking Contracts will be enabled.

Last updated