Skip to main content

Interface: ISeed

Interface definitions for seed.

Implemented by

Table of contents

Methods

Methods

keyPair

keyPair(): IKeyPair

Get the key pair from the seed.

Returns

IKeyPair

The key pair.


generateSeedFromPath

generateSeedFromPath(path): ISeed

Generate a new seed from the path.

Parameters

NameTypeDescription
pathBip32PathThe path to generate the seed for.

Returns

ISeed

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.