Methods
# static from_base58(contents) → {NodeKey}
Decodes a private key from a string encoded in Base58.
Parameters:
Name | Type | Description |
---|---|---|
contents |
string
|
A base58 string |
An instance of NodeKey matching the string provided
Example
const key = new NodeKey.from_base58(<base 58 encoded data>);