export Full Private Key
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
room Uuid
The UUID of the export room
secret Share
The secret share of the party participating in the export
to Export ID
The exportID of the party that will receive the private key