Skip to content

addCommitmentsNEAR()

SIP Protocol API Reference v0.7.4


SIP Protocol API Reference / addCommitmentsNEAR

addCommitmentsNEAR(c1, c2): NEARCommitmentPoint

Defined in: @sip-protocol/sdk/dist/index-DXh2IGkz.d.ts:18454

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