fedimint / ui

https://ui-umber-ten.vercel.app
MIT License
26 stars 40 forks source link

The Great Setup Ceremony Cleanup #482

Open Kodylow opened 1 month ago

Kodylow commented 1 month ago

There's a bunch of things that need to get improved for the setup ceremony to minimize the chances someone fucks it up. Many of these should be done before attempting DKG including:

  1. Network Confirmation: Setup Leader's network in the "Set Configuration" is the source of truth. Follower's network MUST match leader's before being allocated a "Pending" slot, should toast error otherwise.

  2. Bitcoin RPC Connection Test: Each guardian should ping to confirm the bitcoin configuration works, have had a couple people fail it.

  3. Wipe / Restart: Guardians should be able to hard reset during the setup ceremony through the UI if they mess up. Currently we do this by the Setup Leader initiating it, the followers detect it and opt it. However this forces everyone to restart. We should have a 2nd option (probably hidden or danger zone-y) where whatever guardian can force a hard reset if just one of them messes up during the process.

  4. TODO: check with @dpc for other ideas he had

elsirion commented 1 month ago

Not sure if some are redundant or if I misunderstood some of your points, mentioning anyway:

This will likely need some changes on the fedimint/fedimint side too, should also have an issue there once we know what we want.

Kodylow commented 1 month ago

^ yeah I'm going to wait for this to get addressed fedimint-side before continuing here, all this would be better to address then only if not possible there I'll add backstops to the UI