# @ledgerhq/hw-app-cosmos

> Ledger Hardware Wallet Cosmos Application API

Latest version **6.36.7** (published 2026-08-04) · Apache-2.0 license · 4.2K weekly downloads

## Install

```sh
npm install @ledgerhq/hw-app-cosmos
pnpm add @ledgerhq/hw-app-cosmos
yarn add @ledgerhq/hw-app-cosmos
bun add @ledgerhq/hw-app-cosmos
```

## Health

**Score 80/100 (A)** — status: active.

Positive: has types; esm support; no vulnerabilities; recently updated; high maintenance score; high quality score.

## Facts

| | |
|---|---|
| Version | 6.36.7 |
| Published | 2026-08-04 |
| First published | 2021-03-12 |
| Weekly downloads | 4.2K |
| License | Apache-2.0 |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 3 |
| Unpacked size | 74.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 617 |
| Maintainers | phenry-ledger, sergii-shkolin, gbrahm-ledger, thomas.coudray, ldg-github-ci, vbouzon, ledger-releaser |
| Keywords | Ledger, LedgerWallet, atom, Cosmos, NanoS, Blue, Hardware Wallet |

## Links

- npm: https://www.npmjs.com/package/@ledgerhq/hw-app-cosmos
- Repository: https://github.com/LedgerHQ/ledger-live
- Homepage: https://github.com/LedgerHQ/ledger-live/tree/develop/libs/ledgerjs/packages/hw-app-cosmos
- Issues: https://github.com/LedgerHQ/ledger-live/issues
- npm.io page: https://npm.io/package/@ledgerhq/hw-app-cosmos

## Dependencies (3)

- [bip32-path](https://npm.io/package/bip32-path.md) ^0.4.2
- [@ledgerhq/errors](https://npm.io/package/@ledgerhq/errors.md) ^7.0.0
- [@ledgerhq/hw-transport](https://npm.io/package/@ledgerhq/hw-transport.md) 6.35.7

## Alternatives

- [@commercetools/sync-actions](https://npm.io/package/@commercetools/sync-actions.md) — 25.1K weekly downloads
- [cwait](https://npm.io/package/cwait.md) — 21.4K weekly downloads
- [@financial-times/o-loading](https://npm.io/package/@financial-times/o-loading.md) — 2.8K weekly downloads
- [fa](https://npm.io/package/fa.md) — 185 weekly downloads
- [@quenty/grouputils](https://npm.io/package/@quenty/grouputils.md) — 80 weekly downloads

## Recent versions

- 6.36.7 (latest) — 2026-08-04
- 6.36.7-nightly.20260731030119 (nightly) — 2026-07-31
- 6.32.3-next.0 (next) — 2025-06-17
- 6.30.2-hotfix.0 (hotfix) — 2024-07-22
- 6.30.0-windows-certificate.0 (windows-certificate) — 2024-05-28
- 6.29.4-new-wc.0 (new-wc) — 2024-02-20
- 6.29.4-new-wc-test.0 (new-wc-test) — 2024-02-20
- 6.29.4-wc-test.0 (wc-test) — 2024-02-14
- 6.29.3-start-exchange.0 (start-exchange) — 2024-01-31
- 6.29.2-custom-exchange.0 (custom-exchange) — 2024-01-09
- 6.28.6-tag-word.0 (tag-word) — 2023-10-25
- 6.28.2-notarizer.0 (notarizer) — 2023-06-22
- 6.27.13-recover-beta.0 (recover-beta) — 2023-04-01
- 6.27.13-recover-simu.0 (recover-simu) — 2023-03-24
- 6.27.13-recover-staging.0 (recover-staging) — 2023-03-22
- … 387 more at https://npm.io/package/@ledgerhq/hw-app-cosmos/versions

## README

<img src="https://user-images.githubusercontent.com/4631227/191834116-59cf590e-25cc-4956-ae5c-812ea464f324.png" height="100" />

[GitHub](https://github.com/LedgerHQ/ledger-live/),
[Ledger Devs Discord](https://developers.ledger.com/discord-pro),
[Developer Portal](https://developers.ledger.com/)

## @ledgerhq/hw-app-cosmos

> \[!WARNING]
> **Status: DEPRECATED** — Replaced by the Device Management Kit (DMK). Migrate to `@ledgerhq/device-signer-kit-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](https://developers.ledger.com/docs/transport/overview/) and
*   Go on [Discord](https://developers.ledger.com/discord-pro/) to chat with developer support and the developer community.

***

## API

<!-- Generated by documentation.js. Update this documentation by updating the source code. -->

#### Table of Contents

*   [Cosmos](#cosmos)
    *   [Parameters](#parameters)
    *   [Examples](#examples)
    *   [getAddress](#getaddress)
        *   [Parameters](#parameters-1)
        *   [Examples](#examples-1)

### Cosmos

Cosmos API

#### Parameters

*   `transport` **Transport**&#x20;
*   `scrambleKey` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)**  (optional, default `APP_KEY`)

#### Examples

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

#### getAddress

get Cosmos address for a given BIP 32 path.

##### Parameters

*   `path` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** a path in BIP 32 format
*   `hrp` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** usually cosmos
*   `boolDisplay` **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)?**&#x20;

##### Examples

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

Returns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)<{publicKey: [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String), address: [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)}>** an object with a publicKey, address and (optionally) chainCode

---
_Source: https://npm.io/package/@ledgerhq/hw-app-cosmos · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
