Function hdPrivateKeyToP2pkhLockingBytecode

  • Derive the P2PKH locking bytecode at the provided index of the provided HD private key.

    Parameters

    • __namedParameters: {
          addressIndex: number;
          hdKey: string;
      }
      • addressIndex: number

        The address index at which to derive the address.

      • hdKey: string

        An encoded HD private key, e.g. xprv9s21ZrQH143K2JbpEjGU94NcdKSASB7LuXvJCTsxuENcGN1nVG7QjMnBZ6zZNcJaiJogsRaLaYFFjs48qt4Fg7y1GnmrchQt1zFNu6QVnta

        HD private keys may be encoded for either mainnet or testnet (the network information is ignored).

    Returns Uint8Array

Generated using TypeDoc