Github,
@blooo/hw-app-vtb
Ledger Hardware Wallet VTB JavaScript bindings.
API
Table of Contents
VTB
VTB API
Parameters
Examples
import VTB from "@blooo/hw-app-vtb";
const vtb = new VTB(transport)
getAddress
Parameters
path
stringrequireConfirmation
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
anymessage
string payload
Returns string signed payload to be broadcasted