Package-level declarations

Types

Link copied to clipboard
class BIP340(hostUrl: String = SODOT_RELAY_URL) : Scheme

BIP340 scheme implementation providing functionality for the FROST MPC protocol.

Link copied to clipboard

A 32 byte BIP340 public key, generated by the BIP340.keygen function.

Link copied to clipboard

The per-party private key material that is used for threshold signing.

Link copied to clipboard

A 64 byte BIP340 Signature, generated by the BIP340.sign function.

Link copied to clipboard

A 32 byte tweak as defined in BIP-341

Link copied to clipboard
class Ecdsa(hostUrl: String = SODOT_RELAY_URL) : Scheme

ECDSA scheme implementation providing functionality for the DKLs19 MPC protocol.

Link copied to clipboard

Represents an ECDSA public key.

Link copied to clipboard

The per-party private key material that is used for threshold signing.

Link copied to clipboard

Represents an ECDSA signature.

Link copied to clipboard
class Ed25519(hostUrl: String = SODOT_RELAY_URL) : Scheme

Ed25519 scheme implementation providing functionality for the FROST MPC protocol.

Link copied to clipboard

A 32 byte Ed25519 Public Key, generated by the Ed25519.keygen() function.

Link copied to clipboard

The per-party private key material that is used for threshold signing.

Link copied to clipboard

A 64 byte Ed25519 Signature, generated by the Ed25519.sign() function.

Link copied to clipboard
class ExportableEd25519(hostUrl: String = SODOT_RELAY_URL) : Scheme

ExportableEd25519 scheme implementation providing functionality for a variant of the FROST MPC protocol.

Link copied to clipboard

The per-party private key material that is used for threshold signing.

Link copied to clipboard
typealias KeygenID = String

KeygenID is a base58 string representing the ID of the party in the key generation protocol.

Link copied to clipboard

KeygenPrivateKey is 32 bytes representing the private key of the corresponding KeygenID.

Link copied to clipboard
class MessageHash(bytes: ByteArray)

Represents a cryptographic hash of a message.

Link copied to clipboard
typealias PrivateKey = ByteArray

PrivateKey is a 32 bytes representing some private key.

Link copied to clipboard
typealias RoomUUID = String

RoomUUID is a hex string representing a room, which is created for each MPC operation (e.g. Signing, Keygen, Refresh, etc.) and acts as a session identifier to synchronize all involved parties.

Link copied to clipboard
abstract class Scheme(hostUrl: String)

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

Link copied to clipboard
class SodotException(message: String, val code: Int = -1, cause: Throwable? = null) : Exception

Exception thrown by the Sodot SDK when an error occurs during cryptographic operations.

Link copied to clipboard
class Sr25519(hostUrl: String = SODOT_RELAY_URL) : Scheme

Sr25519 scheme implementation providing functionality for the FROST MPC protocol.

Link copied to clipboard

A 64 byte sr25519 private keypair

Link copied to clipboard

A 32 byte Sr25519 public key, generated by the Sr25519.keygen() function.

Link copied to clipboard

The per-party private key material that is used for threshold signing.

Link copied to clipboard