Class: EclipseIdentity

module:kadence/eclipse~ EclipseIdentity

Generates an indentity for use with the module:kadence/spartacus~SpartacusPlugin that satisfies a proof of work

new EclipseIdentity(xprv [, index] [, path])

Parameters:
Name Type Argument Default Description
xprv string Private extended key
index number <optional>
0 Derivation index
path string <optional>
Key derivation path
Source:

Methods


solve()

Finds the correct derivation index
Source:
Returns:
Type
number

validate()

Validates the given extended private key and index
Source:
Returns:
Type
boolean