JSPM

@blooo/hw-app-vtb

1.0.3
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 1
  • Score
    100M100P100Q32120F
  • License Apache-2.0

Ledger Hardware Wallet VTB Application API

Package Exports

  • @blooo/hw-app-vtb
  • @blooo/hw-app-vtb/lib-es/Vtb.js
  • @blooo/hw-app-vtb/lib/Vtb.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@blooo/hw-app-vtb) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Github,

@blooo/hw-app-vtb

Ledger Hardware Wallet VTB JavaScript bindings.

API

Table of Contents

VTB

VTB API

Parameters

  • transport Transport

Examples

import VTB from "@blooo/hw-app-vtb";
const vtb = new VTB(transport)

getAddress

Parameters
  • path string
  • requireConfirmation boolean if true, user must valid if the address is correct on the device (optional, default false)

Returns Promise<{pubKey: string, address: string, return_code: number}>

sign

Sign a payload

Parameters
  • path any
  • message string payload

Returns string signed payload to be broadcasted