Skip to content

addCommitmentsNEAR()

SIP Protocol API Reference v0.15.1


SIP Protocol API Reference / addCommitmentsNEAR

addCommitmentsNEAR(c1, c2): NEARCommitmentPoint

Defined in: @sip-protocol/sdk/dist/index-GLbkPPho.d.ts:18790

Add two commitments homomorphically (ed25519)

C1 + C2 = (v1+v2)*G + (r1+r2)*H

`0x${string}`

First commitment point

`0x${string}`

Second commitment point

NEARCommitmentPoint

Sum of commitments