ssvlabs / ssv-keys

MIT License
8 stars 8 forks source link

Adding DKG support #13

Open alonmuroch opened 1 year ago

alonmuroch commented 1 year ago

How hard will it be to add to this CLI the ability to run DKG as well?

I'm thinking:

We add a DKG node mode to the cli that opens up a P2P connections to DKG participants (via ENR) When all online the ceremony starts following the repo below (it has all the steps in it, use the existing operator encryption key for communication) DKG finishes, a final step for signing the deposit data starts. all peers sign the pre-defined deposit data, session ends It will take some work but will open up an independent DKG implementation which is super useful and cool!

https://github.com/drand/kyber/tree/master/share/dkg

shanejearley commented 1 year ago

@alonmuroch we're currently using this package for a trusted key generation in the initial testnet version of casimir, and we are interested in helping to add this DKG implementation and then to use it for our second testnet release – we are on the same page with the ceremony steps noted above (your team introduced us to the challenge of trying to figure out how to reshare at the right time).