performDkg

suspend fun performDkg(groupId: String): Result<DkgResult>

Perform Distributed Key Generation with the AC device. One-time operation per MPC group — produces keyshares stored permanently.

The DKG result (combined public key + share) is stored internally via MpcWalletStorage. Flutter receives the DkgResult containing groupId and combined public key.

Progress: 20% → 100%

Return

DkgResult containing groupId and combined public key (SEC1 compressed)