Package Exports
- @ledgerhq/hw-app-cosmos
- @ledgerhq/hw-app-cosmos/lib-es/Cosmos.js
- @ledgerhq/hw-app-cosmos/lib/Cosmos.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 (@ledgerhq/hw-app-cosmos) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme

@ledgerhq/hw-app-cosmos
Ledger Hardware Wallet Cosmos JavaScript bindings.
API
Table of Contents
Cosmos
Cosmos API
Parameters
transport
TransportscrambleKey
string (optional, defaultAPP_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