New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@ledgerhq/hw-app-cosmos

Package Overview
Dependencies
Maintainers
0
Versions
178
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ledgerhq/hw-app-cosmos

Ledger Hardware Wallet Cosmos Application API

6.30.4
latest
Source
npm
Version published
Maintainers
0
Created
Source

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

Keywords

Ledger

FAQs

Package last updated on 27 Sep 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts