sign
suspend fun sign(roomUuid: RoomUUID, secretShare: Ed25519SecretShare, msg: ByteArray, derivationPath: IntArray): Ed25519Signature
Signs a message using Ed25519 and multi-party computation.
This function requires threshold number of parties to participate in the signing. Like Schnorr signatures in general, in Ed25519 there's no need to hash the message before signing.
Return
The signature of the message, which can be verified using the public key
Parameters
room Uuid
The UUID of the signing room
secret Share
The secret share to be used for signing
msg
The message to be signed as a byte array
derivation Path
The derivation path to use for signing the message