~~Function: verifyCommitment()~~
SIP Protocol API Reference v0.7.0
SIP Protocol API Reference / verifyCommitment
Function: verifyCommitment()
Section titled “Function: verifyCommitment()”verifyCommitment(
commitment,expectedValue):boolean
Defined in: @sip-protocol/sdk/dist/index-BYZbDjal.d.ts:3324
Verify a Pedersen commitment (requires knowing the value and blinding factor)
Parameters
Section titled “Parameters”commitment
Section titled “commitment”expectedValue
Section titled “expectedValue”bigint
Returns
Section titled “Returns”boolean
Deprecated
Section titled “Deprecated”Use verifyOpening() from ’./commitment’ for new code.