1.0.0 • Published 12 months ago
@chorus-one/signer-ledger-cosmos v1.0.0
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.
1.0.0
12 months ago