@lelantos-org/sdk / primitives / buildDiversifiedKeys
Function: buildDiversifiedKeys()
ts
function buildDiversifiedKeys(
P,
J,
ivk,
d
): DiversifiedKeys;Defined in: @lelantos-org/sdk/dist/keys/diversified.d.ts:34
Every key of the address (ivk, d).
Parameters
| Parameter | Type |
|---|---|
P | Poseidon |
J | Jubjub |
ivk | bigint |
d | bigint |
Returns
Throws
when d is not in [0, 2^128), or when ivk mod q or dk_root is zero: either makes a published key the identity.