Noteworthy Puppy Movies

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

    6.27.1 • Public • Published

    Github, Ledger Devs Slack

    @ledgerhq/hw-app-polkadot

    Ledger Hardware Wallet Polkadot JavaScript bindings.

    API

    Table of Contents

    Polkadot

    Polkadot API

    Parameters

    • transport Transport

    Examples

    import Polkadot from "@ledgerhq/hw-app-polkadot";
    const polkadot = new Polkadot(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 @ledgerhq/hw-app-polkadot

    DownloadsWeekly Downloads

    728

    Version

    6.27.1

    License

    Apache-2.0

    Unpacked Size

    56.5 kB

    Total Files

    15

    Last publish

    Collaborators

    • haammar-ledger
    • kvn-ledger
    • ofreyssinet
    • jelbaz-ledger
    • achabrolin-ledger
    • gre
    • btchip
    • meriadec
    • flocks
    • amougel
    • juan-cortes
    • val_pinkman
    • iammorrow
    • phenry-ledger
    • jdecussy-ledger
    • lfbarreto
    • junsugiura
    • hzheng_ledger
    • machard-ledger
    • glethuillier_ledger