tangle-network/dkg-substrate

Implement FROST DKG into the DKG

Opened this issue · 4 comments

We currently have a PR up on a FROST-related repo that will enable us to use that repo properly with the DKG gadget. We can use the fork, then, we can use the official repository once the PR is merged to add a DKGModule for FROST.

Steps

  • Prototype the protocol using a basic network test engine, sort out any nuances (#712)
  • Add a DKGModule trait implementation for FROST, e.g., FrostModule (#713)
  • Add on-pallet logic for unsigned proposals and keygens (i.e., should_execute_keygen related information) that uses a single byte-sized field for denoting which DKGModule to use for the given unsigned proposal or keygen (#714)
  • Determine a mechanism for selecting a DKGModule during runtime (#714)
  • Add integration test that selects the FrostModule and runs it in the local chain environment #715

If we convert these into tasks (make this a proper checklist) and then assign deadlines to them. We want to get this into the Universe board.

The final part of this task, which will be done in the future, is to determine the selection algorithm/process for determining which DKG to use. Then, we must debug and test FROST.

As I understand currently, the frost algorithm is not used in dkg-gadget for signing msg. Can I help you with that logic of implementing updates to pallets?

Yea but it's important @akorchyn to ensure that it adds functionality and not removes any so that one can still use it for ECDSA if one pleases. We have been working together w/ some others on CGGMP implementation too. Let us know in our slack if you have an approach.