createRoom

suspend fun createRoom(numParties: Int, apiKey: String): RoomUUID

Creates a room for multi-party computation.

A room is a virtual space where multiple parties can perform an MPC operation such as key generation, signing, refreshing, or resharing.

Return

The UUID of the created room as a string

Parameters

numParties

Number of parties that will participate in the operation

apiKey

API key for authentication with the host server

Throws

if an error occurs during room creation