Interface: ISeed
Interface definitions for seed.
Implemented by
Table of contents
Methods
Methods
keyPair
▸ keyPair(): IKeyPair
Get the key pair from the seed.
Returns
The key pair.
generateSeedFromPath
▸ generateSeedFromPath(path
): ISeed
Generate a new seed from the path.
Parameters
Name | Type | Description |
---|---|---|
path | Bip32Path | The path to generate the seed for. |
Returns
The generated seed.
toBytes
▸ toBytes(): Uint8Array
Return the key as bytes.
Returns
Uint8Array
The key as bytes.
toString
▸ toString(): string
Return the key as string.
Returns
string
The key as string.