Naked Panda Meditations

    @blooo/hw-app-vtb
    TypeScript icon, indicating that this package has built-in type declarations

    1.0.3 • Public • Published

    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

    Install

    npm i @blooo/hw-app-vtb

    DownloadsWeekly Downloads

    0

    Version

    1.0.3

    License

    Apache-2.0

    Unpacked Size

    42.6 kB

    Total Files

    16

    Last publish

    Collaborators

    • n4l5u0r