Generate the ENR

Woohoo! You Are in a Cluster!

Congratulations! You now have a new line in the dashboard, and when you click on it, you arrive at a detailed view of the cluster that looks like this:

The First Step: Generate the ENR and Activate the Cluster

This step allows you to create the identifier for the computer running the operator and your address, and to confirm clustering with these other operators.

In the Operators tab, you can see all the operators, including yourself, especially if you are connected since you will appear highlighted in pink. Next to each operator, a status is displayed, showing either "Action required" or "Waiting for others". This means you either have something to do, or you are waiting for others to complete their tasks.

In our case shown in the screenshots, we are in "Action required" status, and you can see the large orange-bordered div indicating the action that needs to be taken.

Click on this div, and you will see a pop-up appear. There are several steps to follow, and we invite you to follow them as detailed below:

Steps to Generate the ENR

  1. Open Docker

  2. From your command line, clone and enter this repository:

    git clone https://github.com/ObolNetwork/charon-distributed-validator-node
    cd charon-distributed-validator-node/
  3. Once in the charon-distributed-validator-node folder, create the ENR:

    docker run --rm -v "$(pwd):/opt/charon" obolnetwork/charon:v0.19.2 create enr

    Make sure to not loose the .charon folder created. We recommend you to backup your private key located at .charon/charon-enr-private-key. If you loose your key, you won't be able to participate in running a charon cluster.

  4. Copy the generated ENR and paste it into the input field in the Byzantine interface:

  5. Sign the messages

    • Once the ENR is pasted, sign the message to accept the cluster with the ENR. Please note that there are two separate messages to sign.

  6. ENR accepted

    • Once the ENR is accepted, you will see a confirmation message. In the detailed view of the cluster, your status will change to "Waiting for others", the action required div will disappear, and your ENR will be displayed. (don't hesitate to refresh the page)

Note: If other operators are taking a bit long, feel free to remind them in your private Discord channel to complete their parts.

This process ensures that your Charon client is uniquely identified and you are correctly clustered with the other operators, moving you one step closer to earning rewards.

Once everyone has completed this step, and only then, you will proceed to the next step, which is to run the DKG. This process will be explained in the next chapter.

Last updated