Commitment

@Serializable
class Commitment<T>(val hash: ByteArray)

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

Constructors

Link copied to clipboard

Functions

Link copied to clipboard
inline fun <T> open(secret: Committed<T>): T

Properties

Link copied to clipboard