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
@blooo/hw-app-vtb
Ledger Hardware Wallet VTB JavaScript bindings.
API
Table of Contents
VTB
VTB API
Parameters
transportTransport
Examples
import VTB from "@blooo/hw-app-vtb";
const vtb = new VTB(transport)getAddress
Parameters
pathstringrequireConfirmationboolean if true, user must valid if the address is correct on the device (optional, defaultfalse)
Returns Promise<{pubKey: string, address: string, return_code: number}>
sign
Sign a payload
Parameters
pathanymessagestring payload
Returns string signed payload to be broadcasted