@chorus-one/signer-ledger-cosmos
v1.0.0
Published
Ledger signer for the Chorus One SDK, used for signing Cosmos transactions
Downloads
7
Readme
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.