Nervous Parrot Muttering

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

    6.27.7 • Public • Published

    GitHub, Ledger Devs Discord, Developer Portal

    @ledgerhq/hw-app-cosmos

    Ledger Hardware Wallet Cosmos JavaScript bindings.


    Are you adding Ledger support to your software wallet?

    You may be using this package to communicate with the Cosmos Nano App.

    For a smooth and quick integration:

    • See the developers’ documentation on the Developer Portal and
    • Go on Discord to chat with developer support and the developer community.

    API

    Table of Contents

    Cosmos

    Cosmos API

    Parameters

    • transport Transport
    • scrambleKey string (optional, default APP_KEY)

    Examples

    import Cosmos from "@ledgerhq/hw-app-cosmos";
    const cosmos = new Cosmos(transport)

    getAddress

    get Cosmos address for a given BIP 32 path.

    Parameters
    Examples
    cosmos.getAddress("44'/60'/0'/0/0", "cosmos").then(o => o.address)

    Returns Promise<{publicKey: string, address: string}> an object with a publicKey, address and (optionally) chainCode

    Install

    npm i @ledgerhq/hw-app-cosmos

    DownloadsWeekly Downloads

    864

    Version

    6.27.7

    License

    Apache-2.0

    Unpacked Size

    47.7 kB

    Total Files

    16

    Last publish

    Collaborators

    • sergii-shkolin
    • yogh
    • 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