Skip to main content
Version: v0 (Legacy)

coinCommitment

@midnight-ntwrk/onchain-runtime v0.2.2Readme | API


@midnight-ntwrk/onchain-runtime v0.2.2 / coinCommitment

Function: coinCommitment()

Internal

coinCommitment(coin, recipient): AlignedValue

Internal implementation of the coin commitment primitive.

Parameters

coin: AlignedValue

recipient: AlignedValue

Returns

AlignedValue