Class: EclipseIdentity

module:kadence/eclipse~ EclipseIdentity

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

new EclipseIdentity(publicKey [, nonce] [, proof])

Parameters:
Name Type Argument Description
publicKey string SECP256K1 public key
nonce number <optional>
Equihash proof nonce
proof buffer <optional>
Equihash proof value
Source:

Methods


solve()

Returns a equihash proof and resulting fingerprint
Source:
Returns:
Type
Promise.<EclipseIdentity>

validate()

Validates the
Source:
Returns:
Type
boolean