Class: DockKeypair

DockKeypair(keyPair)

Wrapped keypair used to interact with the dock blockchain.

Constructor

new DockKeypair(keyPair)

Wraps supplied keypair into a `DockKeypair`.
Parameters:
Name Type Description
keyPair *
Source:

Classes

DockKeypair

Methods

(static) randomSecp256k1(params) → {this}

Generates random `Secp256k1` keypair.
Parameters:
Name Type Description
params
Source:
Returns:
Type
this

publicKey()

Returns underlying public key.
Source:

sign(message)

Signs supplied message using underlying keypair.
Parameters:
Name Type Description
message *
Source: