Skip to content

The relayer for the v3-operator service to register DVT validators that used DKG to generate the private keys.

License

Notifications You must be signed in to change notification settings

stakewise/dvt-relayer

Repository files navigation

DVT-relayer

DVT Relayer is a service providing validators' registration data to Stakewise v3-operator in DVT setup.

As a general introduction in DVT read the article on Ethereum web-site. For technical details see Obol docs or SSV docs.

Generating DV keystores

Distributed validator (DV) keystores are used:

  • on DVT sidecars
  • for Relayer testing

The easiest way to generate DV keys for testing is Obol launchpad. Works for Hoodi, Mainnet and Gnosis. Select appropriate network. Then select "Create a distributed validator alone". Follow instructions. Use vault address as withdrawal address.

In production environment:

  • Validators' keystores should be created via distributed key generation (DKG) procedure
  • DVT Relayer should not have access to DV keystores.

Setup

  1. Install poetry
  2. Install dependencies: poetry install
  3. cp .env.example .env
  4. Fill .env file with appropriate values

Run

  1. poetry shell
  2. export PYTHONPATH=.
  3. python src/app.py

Test

Running the whole cluster of DVT sidecars locally may be cumbersome. For testing purpose single sidecar may work on behalf of several DVT operators. See DVT sidecar readme for details.

DVT sidecar:

  1. Loads DV keystores
  2. Polls validator exits from Relayer
  3. Pushes exit signature shares to Relayer on behalf of DVT operators.

About

The relayer for the v3-operator service to register DVT validators that used DKG to generate the private keys.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •