Skip to main content

ecAdd

For the complete documentation index, see llms.txt

@midnight-ntwrk/compact-runtime v0.19.0


@midnight-ntwrk/compact-runtime / ecAdd

Function: ecAdd()

function ecAdd(a, b): JubjubPoint;

The Compact builtin ecAdd function

This function add two elliptic curve points (in multiplicative notation)

Parameters

a

JubjubPoint

b

JubjubPoint

Returns

JubjubPoint