connect

suspend override fun connect(action: NetworkAction, params: String?)

Perform websocket connection with another party.

Parameters

action

The mpc action to perform. For example, Keygen, Refresh, etc.

params

Additional parameters for the mpc action. For example, KeyId in KeyRefresh action, etc.


open suspend fun connect(action: T, params: String?)