Skip to content

SatoshiPortal/flutter-ledger-bitcoin

 
 

Repository files navigation


Bitcoin (BTC) Logo

ledger-bitcoin

A Flutter Ledger App Plugin for the Bitcoin blockchain
Report Bug · Request Feature



Overview

Ledger devices are the perfect hardware wallets for managing your crypto & NFTs on the go. This Flutter package is a plugin for the ledger_flutter_plus package to get accounts and sign transactions using the Bitcoin blockchain.

Getting started

Installation

Install the latest version of this package via pub.dev:

ledger_bitcoin: ^latest-version

For integration with the Ledger Flutter package, check out the documentation here.

Setup

Create a new instance of an BitcoinLedgerApp and pass an instance of your LedgerConnection object.

final app = BitcoinLedgerApp(connection);

Usage

Get Wallet Address

Depending on the required blockchain and Ledger Application Plugin, the getAccounts() method can be used to fetch the main address from the Ledger device.

final accounts = await app.getAccounts();

License

The ledger_bitcoin SDK is released under the MIT License (MIT). See LICENSE for details.

About

A collection of Flutter plugins to scan, connect & sign transactions using Ledger devices using USB & BLE

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Dart 100.0%