@chorus-one/signer-ledger-cosmos
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

Chorus One SDK: Ledger Cosmos Signer

Ledger signer for the Chorus One SDK, used for signing Cosmos transactions

Installation

In the project’s root directory, run the following command:

npm install @chorus-one/signer-ledger-cosmos --save

Setting Up the LedgerCosmosSigner

With your mnemonic and HD path ready, you can now configure and initialize the LedgerCosmosSigner:

import { LedgerCosmosSigner } from '@chorus-one/signer-ledger-cosmos'

const signer = new LedgerCosmosSigner({
  accounts: [{ hdPath: 'your-hd-path' }],
  bechPrefix: 'cosmos'
})

await signer.init()

License

The Chorus One SDK is licensed under the Apache 2.0 License. For more detailed information, please refer to the LICENSE file in the repository.

Package Sidebar

Install

npm i @chorus-one/signer-ledger-cosmos

Weekly Downloads

14

Version

1.0.0

License

Apache-2.0

Unpacked Size

77.9 kB

Total Files

23

Last publish

Collaborators

  • dyakimov-chorus-one
  • mateusz-chorus
  • maria_chorus_one
  • chorusone-mksh
  • c1-opus