Constructor
new DockKeypair(keyPair)
Wraps supplied keypair into a `DockKeypair`.
Parameters:
Name | Type | Description |
---|---|---|
keyPair |
* |
- Source:
Classes
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: