Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cake-tech/ledger-litecoin
A Flutter Ledger App Plugin for the Litecoin and Bitcoin Cash blockchain
https://github.com/cake-tech/ledger-litecoin
bitcoin-cash flutter flutter-package litecoin
Last synced: about 2 months ago
JSON representation
A Flutter Ledger App Plugin for the Litecoin and Bitcoin Cash blockchain
- Host: GitHub
- URL: https://github.com/cake-tech/ledger-litecoin
- Owner: cake-tech
- License: mit
- Created: 2024-07-30T11:02:52.000Z (5 months ago)
- Default Branch: trunk
- Last Pushed: 2024-08-15T08:08:26.000Z (5 months ago)
- Last Synced: 2024-08-22T21:47:23.329Z (5 months ago)
- Topics: bitcoin-cash, flutter, flutter-package, litecoin
- Language: Dart
- Homepage:
- Size: 28.3 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
ledger-litecoin
A Flutter plugin to scan, connect & sign transactions using Ledger Nano devices using USB & BLE
« Explore the docs »
Report Bug
· Request Feature
## Overview
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](https://pub.dev/packages/ledger_flutter) package to get accounts and sign transactions using the
Litecoin and Bitcoin Cash blockchains.### Supported devices
| | BLE | USB |
|---------|--------------------|--------------------|
| Android | :heavy_check_mark: | :heavy_check_mark: |
| iOS | :heavy_check_mark: | :x: |### Installation
Install the latest version of this package via pub.dev:
```yaml
ledger_litcoin: ^latest-version
```For integration with the Ledger Flutter package, check out the documentation [here](https://pub.dev/packages/ledger_flutter).
### Setup
Create a new instance of an `LitecoinLedgerApp` and pass an instance of your `Ledger` object.
```dart
final app = LitecoinLedgerApp(ledger);
```## Usage
### Get public keys
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.
```dart
final accounts = await app.getAccounts(device);
```