Home

Awesome

Ledger.Net

Cross Platform C# Library for the Ledger Cryptocurrency Hardwarewallet

Ledger Nano X Support is here in Version 4.0.0!

a

Currently supports: .NET Framework, .NET Core, Android, UWP , See MacOS and Linux Support

Would you like to contribute?

Quick Start

For any instructions that are not implemented you will need to create a RequestBase, and ResponseBase class. Then, you will need to call SendRequestAsync or CallAndPrompt.

NuGet: Install-Package Ledger.Net

Example:

public async Task DisplayAddress()
{
    WindowsHidDeviceFactory.Register(new DebugLogger(), new DebugTracer());
    var ledgerManagerBroker = new LedgerManagerBroker(3000, null, null, new LedgerManagerFactory() );
    var ledgerManager = (IAddressDeriver) await ledgerManagerBroker.WaitForFirstDeviceAsync();
    var path = $"m/49'/0'/0'/0/0";
    var addressPath = AddressPathBase.Parse<BIP44AddressPath>(path);
    var address = await ledgerManager.GetAddressAsync(addressPath, false, true);
}

Contact

Contribution

The community needs your help! Unit tests, integration tests, more app integrations and bug fixes please! Check out the Issues section.

Donate

All my libraries are open source and free. Your donations will contribute to making sure that these libraries keep up with the latest firmware, functions are implemented, and the quality is maintained.

CoinAddress
Bitcoin33LrG1p81kdzNUHoCnsYGj6EHRprTKWu3U
Ethereum0x7ba0ea9975ac0efb5319886a287dcf5eecd3038e

Based On

LibraryDescription
Hardwarewallets.NetThis library is part of the Hardwarewallets.Net suite. It is aimed toward putting a set of common C# interfaces, and utilities that will work with all hardwarewallets.
Hid.Net, Usb.NetLedger.Net communicates with the devices via the Hid.Net and Usb.Net libraries. You can see the repo for this library here.

See Also

LibraryDescription
Trezor.NetTrezor Hardwarewallet Library
KeepKey.NetKeepKey Hardwarewallet Library
Ledger .NET APIA similar library
Ledger Bitcoin AppBitcoin wallet application for Ledger Blue and Nano S
Ledger Ethereum AppEthereum wallet application for Ledger Blue and Nano S