For the complete documentation index, see llms.txt. This page is also available as Markdown.

Create a Lido CSM DV

Setup and run a DV within the Lido Community Staking Module

This is a guide on taking part in Lido's Community Staking Module (CSM) with a squad as part of a Distributed Validator Cluster.

To start, this guide makes a couple assumptions:

  1. You're running a Linux distribution and you've installed Git and Docker (as a non-root user).

  2. You will be deploying on Ethereum mainnet. Some screenshots in this guide are from a previous testnet; use Hoodi for testing. They are kept for demonstration purposes, so please verify you are using the correct mainnet addresses.

Getting started

This guide is broken down into 3 parts:

Part 1: Creating a shared SAFE wallet for the cluster, and a Splits.org reward splitting contract

Part 2: Using the Obol DV Launchpad + CLI to create the cluster

Part 3: Deploying the validator to Lido's CSM using their UI.

Part 1: Creating the Cluster SAFE + Splitter Contract

Deploy the SAFE

Detailed instructions on how to create a SAFE Wallet can be found here.

The squad leader should obtain signing addresses for all the cluster members, to create a new SAFE with the operators all as owners.

Screenshot: The squad leader should obtain signing addresses for all the cluster members, to create a new SAFE with the operators all as owners.

After giving the Safe a name and selecting the appropriate network, continue by clicking the Next button.

Screenshot: After giving the Safe a name and selecting the appropriate network, continue by clicking the Next button.

Add all the signer addresses of the cluster members, select a threshold, and proceed to the final step by clicking the Next button.

Don't require 100% of signers to approve transactions, in case someone loses access to their address. Using the same threshold as your cluster will use is a reasonable starting point.

Screenshot: Don't require 100% of signers to approve transactions, in case someone loses access to their address. Using the same threshold as your cluster will use is a reasonable starting…

Finally, submit the transaction to create the Safe by clicking on the Create button.

Screenshot: Finally, submit the transaction to create the Safe by clicking on the Create button.

Deploy the Splitter Contract

The squad leader should obtain the reward addresses from all the cluster members (this can be the same address used in the SAFE contract). Open https://app.splits.org and create a New contract. Make sure to select the appropriate network.

Screenshot: The squad leader should obtain the reward addresses from all the cluster members (this can be the same address used in the SAFE contract). Open https://app.splits.org and create a…

Select Split for the contract type.

Screenshot: Select Split for the contract type.

Add the reward addresses of all cluster members. Choose whether the contract is immutable (recommended option), whether to sponsor the maintainers of splits.org, and optionally whether to set a distribution bounty such that third parties could pay the gas costs of distributing the accrued rewards in exchange for a small fee.

Screenshot: If your cluster would like to contribute a portion of its rewards to Obol protocol development, thereby earning Obol Incentives as part of Lido's integration of CSM into the DV…

Finally, click the Create Split button, execute the transaction and share the created split contract with all cluster members for review.

Part 2: Use the DV Launchpad + CLI to create the cluster keys

Charon is the middleware client that enables validators to be run by a group of independent node operators - a cluster or squad. A complete multi-container Docker setup including execution client, consensus client, validator client, MEV-Boost, the Charon client and monitoring tools can be found in this repository.

Step 1: Clone the repo

Step 2: Create ENR and Backup your Private Key

Enter the CDVN directory:

Use docker to create an ENR

Back up the private key located in .charon/charon-enr-private-key

Screenshot: docker run --rm -v "$(pwd):/opt/charon" obolnetwork/charon:v1.10.0 create enr.

Step 3: Create the DV cluster configuration using the Launchpad

Obol has integrated the CSM details into the DV Launchpad. Choosing the "Lido CSM" withdrawal configuration allows you to create validator keys with Lido's required withdrawal and fee recipient addresses.

To start, the squad leader opens the DV Launchpad, then connects their wallet and chooses Create a cluster with a group.

Screenshot: To start, the squad leader opens the DV Launchpad, then connects their wallet and chooses Create a cluster with a group.

Then click Get Started.

Screenshot: Then click Get Started.

Accept all the necessary advisories and sign to confirm.

Screenshot: Accept all the necessary advisories and sign to confirm.

Cluster configuration begins next. First, select the cluster name and size, then enter all cluster members signer addresses.

Screenshot: Cluster configuration begins next. First, select the cluster name and size, then enter all cluster members signer addresses.
  • Select the number of validators to create.

  • (If the cluster creator is taking part in the cluster) Enter your Charon node's ENR which was generated during step 2 above.

  • In the Withdrawal Configuration field, select LIDO CSM. This will automatically fill the required Withdrawal Address and Fee Recipient Addresss per Lido's Documentation.

  • Finally, click on the Create Cluster Configuration button.

Screenshot: Finally, click on the Create Cluster Configuration button.

Lastly, share the cluster invite link with the other cluster members.

Screenshot: Lastly, share the cluster invite link with the other cluster members.

Step 4: Distributed Key Generation (DKG)

All squad members need to open the cluster invitation link, connect their wallet, accept all necessary advisories, and to verify the cluster configuration is correct with a signature. Each squad member will also need to upload and sign an ENR to represent their charon client, so see steps 1 and 2 above.

Screenshot: All squad members need to open the cluster invitation link, connect their wallet, accept all necessary advisories, and to verify the cluster configuration is correct with a…

Once all members confirm the configuration they will see the Continue button.

Screenshot: Once all members confirm the configuration they will see the Continue button.

On the next page, they will find a CLI command which is used to begin the Distributed Key Generation (DKG) ceremony. All members need to synchronously complete this step.

Screenshot: On the next page, they will find a CLI command which is used to begin the Distributed Key Generation (DKG) ceremony. All members need to synchronously complete this step.

Paste the DKG command into your terminal and wait for all the other squad members to connect and complete the DKG ceremony.

Screenshot: Paste the DKG command into your terminal and wait for all the other squad members to connect and complete the DKG ceremony.

New files were generated: cluster-lock.json, deposit-data.json, validator_keys are all found in the .charon folder (hidden by default). This contains each operator's partial key signatures for the validators.

Step 5: Create a .env file for Mainnet

Copy and rename the .env.sample.mainnet file to .env

Open the .env file using your favorite editor:

Uncomment and set BUILDER_API_ENABLED=true.

Uncomment MEVBOOST_RELAYS= and set it to the URL of at least one of Lido's approved MEV relays here. Multiple relays must be separated by a comma. Consult our deployment best practices for further info on MEV relay selection.

Step 6: Starting the Node

Each cluster member should start the node with the following command:

At this point, execution and consensus clients should start syncing. Charon and the validator client should start waiting for the consensus client to be synced and the validator to be activated.

Part 3: Upload the public keys and deposit to Lido CSM

CSM V3 introduces a new operator type, Identified DVT Cluster (IDVTC), that is purpose-built for distributed validator clusters. An IDVTC cluster must have exactly four operators (no more, no less), and every operator must already hold the Identified Community Staker (ICS) operator type. See Lido's IDVTC description page for full eligibility and rules.

Choose the tab below that matches how your cluster will deposit. Both flows continue with the shared Create the Node Operator section once any pre-deposit steps are complete.

A single squad member who holds ICS should be the one to create the node through the CSM widget. Doing so ensures the cluster's validators receive ICS benefits.

There are no additional pre-deposit steps for ICS clusters. Proceed to Create the Node Operator below.

Create the Node Operator

An ICS member of the cluster heads to csm.lido.fi and connects their wallet.

Screenshot: An ICS member heads to csm.lido.fi and connects their wallet.

Click the Create Node Operator button.

Screenshot: The ICS member clicks on the Create Node Operator button.
  • Paste the contents of the deposit-data.json file into the Upload deposit data field. The member submitting the transaction should have enough ETH/stETH/wstETH to cover the bond.

  • Expand the Specify custom addresses section.

    • Set the Reward Address field to the Split contract address and the Manager Address field to the Safe wallet address. (These were created previously in part 1)

    • Verify that the Extended box is outlined. This ensures that the Safe address has the ability to change the reward address if necessary.

  • Check that the correct addresses are set and click the Create Node Operator button.

    Screenshot: Check that the correct addresses are set and click the Create Node Operator button.

Sign the transaction. The cluster is ready for deposit from Lido CSM. At this point, your job is finished.

Last updated

Was this helpful?