Scheme

abstract class Scheme(hostUrl: String)

Base class for all cryptographic scheme implementations in the Sodot SDK.

This abstract class defines the common interface and functionality that all cryptographic schemes (such as ECDSA, Ed25519, BIP340, Sr25519) must implement. It provides a unified API for distributed key generation, signing, refreshing, resharing, and key import/export operations.

Each concrete implementation of Scheme represents a different cryptographic algorithm with its own properties and capabilities, while sharing the common multi-party computation (MPC) foundation.

Inheritors

Constructors

Link copied to clipboard
constructor(hostUrl: String)

Functions

Link copied to clipboard
suspend fun createRoom(numParties: Int, apiKey: String): RoomUUID

Creates a room for multi-party computation.

Link copied to clipboard

Initializes key generation for MPC protocols.