Skip to content
This repository has been archived by the owner on Oct 22, 2024. It is now read-only.
/ ledger-nano Public archive

A Flutter Ledger App Plugin for the Nano Blockchain.

License

Notifications You must be signed in to change notification settings

cake-tech/ledger-nano

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


ledger-nano

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 & NFTs on the go. This Flutter package is a plugin for the ledger_flutter package to get accounts and sign transactions using the Nano blockchain.

Supported devices

BLE USB
Android ✔️ ✔️
iOS ✔️

Installation

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

ledger_nano: ^latest-version

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

Setup

Create a new instance of an NanoLedgerApp and pass an instance of your Ledger object.

final app = NanoLedgerApp(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.

final accounts = await app.getAccounts(device);