githubEdit

Create a DV Alone

circle-info

It is possible for a single operator to manage all of the nodes of a DV cluster. The nodes can be run on a single machine, which is only suitable for testing, or the nodes can be run on multiple machines, which is expected for a production setup.

The private key shares can be created centrally and distributed securely to each node. Alternatively, the private key shares can be created in a lower-trust manner with a Distributed Key Generationarrow-up-right process, which avoids the validator private key being stored in full anywhere, at any point in its lifecycle. Follow the group quickstartarrow-up-right instead for this latter case.

Pre-requisites​arrow-up-right

Step 1: Create the key shares locally

Go to the the DV Launchpadarrow-up-right and select Create a distributed validator alone. Follow the steps to configure your DV cluster. The Launchpad will give you a docker command to create your cluster. Before you run the command, clone the CDVC repoarrow-up-right and cd into the directory.

# Clone the repo
git clone https://github.com/ObolNetwork/charon-distributed-validator-cluster.git

# Change directory
cd charon-distributed-validator-cluster/

# Run the command provided in the DV Launchpad "Create a cluster alone" flow
docker run -u $(id -u):$(id -g) --rm -v "$(pwd)/:/opt/charon" obolnetwork/charon:v1.4.3 create cluster --definition-file=...

After the create cluster command is run, you should have multiple subfolders within the newly created ./cluster/ folder, one for each node created.

Backup the ./cluster/ folder, then move on to deploying the cluster.

circle-info

Make sure your backup is secure and private, someone with access to these files could get the validators slashed.

Step 2: Deploy and start the nodes

circle-exclamation

Run this command to start your cluster containers if you deployed using the CDVC repoarrow-up-right.

Check the monitoring dashboard and see if things look all right.

Last updated

Was this helpful?