Skip to content

@lelantos-org/sdk / primitives / diversifiedBase

Function: diversifiedBase() ​

ts
function diversifiedBase(
   J, 
   P, 
   d
): Point;

Defined in: @lelantos-org/sdk/dist/crypto/diversified-base.d.ts:39

The base point g_d of the address with diversifier d.

A function of d alone, so a sender computes it from the address.

Parameters ​

ParameterType
JJubjub
PPoseidon
dbigint

Returns ​

Point

Throws ​

when d is not in [0, 2^128).