pub async fn dkg(t: u16, n: u16, terminal: &impl Terminal) -> Result<Config>
Expand description
A distributed key generation protocol, producing a config without a centralized dealer.
Unlike the deal method on Config, this method will never have any participant know the key. Otherwise, the parameters controlling the threshold and the number of participants are the same as that method.
This takes in a terminal, because it requires interacting with the other participants.