Skip to main content

communicationCommitment

@midnight-ntwrk/ledger v3.0.2Readme | API


@midnight-ntwrk/ledger v3.0.2 / communicationCommitment

Function: communicationCommitment()

communicationCommitment(
input,
output,
rand): CommunicationCommitment

Computes the communication commitment corresponding to an input/output pair and randomness.

Parameters

input: AlignedValue

output: AlignedValue

rand: string

Returns

CommunicationCommitment