A Flutter plugin to scan, connect & sign transactions using Ledger Nano devices using USB & BLE
« Explore the docs »
Report Bug
· Request Feature
Ledger Nano devices are the perfect hardware wallets for managing your crypto on the go. This Flutter package is a plugin for the ledger_flutter package to get accounts and sign transactions using the Litecoin and Bitcoin Cash blockchains.
BLE | USB | |
---|---|---|
Android | ✔️ | ✔️ |
iOS | ✔️ | ❌ |
Install the latest version of this package via pub.dev:
ledger_litcoin: ^latest-version
For integration with the Ledger Flutter package, check out the documentation here.
Create a new instance of an LitecoinLedgerApp
and pass an instance of your Ledger
object.
final app = LitecoinLedgerApp(ledger);
Depending on the required blockchain and Ledger Application Plugin, the getAccounts()
method can be used to fetch the
public keys from the Ledger Nano device.
Based on the implementation and supported protocol, there might be only one public key in the list of accounts.
final accounts = await app.getAccounts(device);