exportFullPrivateKey

suspend fun exportFullPrivateKey(roomUuid: RoomUUID, secretShare: EcdsaSecretShare, toExportID: String): String?

Exports a full ECDSA private key(xpriv according to BIP-32).

Combines secret shares to export the full private key to a single party. Requires threshold number of parties to participate.

Return

The party being exported to will receive a string containing the full xpriv, while the rest will receive an empty string.

Parameters

roomUuid

The UUID of the export room

secretShare

The secret share of the party participating in the export

toExportID

The exportID of the party that will receive the private key