Options
All
  • Public
  • Public/Protected
  • All
Menu
interface

KeyProvider

package

Governable

subpackage

Kernel

since

v1.0.0

description

Interface that describes key providers.

Hierarchy

  • KeyProvider

Implemented by

Index

Properties

keyChain

keyChain: Network
description

The provider keychain (e.g.: Network.BITCOIN, Network.CATAPULT)

Methods

getKeyProvider

  • getKeyProvider(seed: Buffer): Wallet
  • Creates a key provider for the current blockchain implementation.

    see

    symbol-hd-wallets

    Parameters

    • seed: Buffer

      The password encrypted mnemonic seed (bip39).

    Returns Wallet

    Returns a key provider.

getPrivateKey

  • getPrivateKey(seed: Buffer, derivationPath: string): Buffer
  • Unlock a key tree for signing. This method returns a private key.

    Parameters

    • seed: Buffer
    • derivationPath: string

    Returns Buffer

Generated using TypeDoc