Package-level declarations

Types

Link copied to clipboard
@Serializable
class Commitment<T>(val hash: ByteArray)

A commitment to a value of type T. Can be opened to receive the committed value.

Link copied to clipboard
@Serializable
class Committed<T>

A value committed to. Packages the value and the secret needed to open the Commitment.

Link copied to clipboard

Thrown when opening a commitment fails.