Options
All
  • Public
  • Public/Protected
  • All
Menu

Utility object to calculate symbols's derivation paths.

Hierarchy

  • LedgerDerivationPath

Index

Constructors

constructor

Methods

Static getBipPathArray

  • getBipPathArray(path: string): number[]
  • TODO change the implementation to a typescript friendly one.

    Parameters

    • path: string

      the path string.

    Returns number[]

    the number array representation of the path.

Static getPath

  • getPath(networkType: LedgerNetworkType, accountIndex?: number, changeIndex?: number, addressIndex?: number): string
  • Generates a path according to the network type and the provided indexes

    Parameters

    • networkType: LedgerNetworkType

      the network type.

    • accountIndex: number = 0

      the account index.

    • changeIndex: number = 0

      the change index

    • addressIndex: number = 0

      the address index.

    Returns string

Static isValid

Generated using TypeDoc