1.0.0 • Published 5 months ago

@chorus-one/signer-ledger-ton v1.0.0

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
5 months ago

Chorus One SDK: Ledger TON Signer

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

Installation

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

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

Setting Up the LedgerTonSigner

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

import { LedgerTonSigner } from '@chorus-one/signer-ledger-ton'
import TransportNodeHid from '@ledgerhq/hw-transport-node-hid'

const signer = new LedgerTonSigner({
  transport: await TransportNodeHid.create(),
  accounts: [{ hdPath: 'your-hd-path' }],
  bounceable: true
})

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.