All Projects → MelbourneDeveloper → Trezor.Net

MelbourneDeveloper / Trezor.Net

Licence: MIT license
Cross platform C# library for talking to the Trezor hardwarewallet

Programming Languages

C#
18002 projects

Projects that are alternatives of or similar to Trezor.Net

Device.net
A C# cross platform connected device framework
Stars: ✭ 347 (+813.16%)
Mutual labels:  hid, uwp
ghostly
Ghostly is a GitHub notification client for Windows 10/11
Stars: ✭ 252 (+563.16%)
Mutual labels:  uwp
VisualBTC
Visual bitcoin private key generator - a tool for safe bitcoin private key generation with the physical coin, or create funny "patterns" keys for gifts to your friends.
Stars: ✭ 29 (-23.68%)
Mutual labels:  bitcoin-wallet
Xalami
A delicious way to kickstart your Xamarin Forms project
Stars: ✭ 18 (-52.63%)
Mutual labels:  uwp
Breadcrumb
Minimalistic Bitcoin toolkit for iOS.
Stars: ✭ 23 (-39.47%)
Mutual labels:  bitcoin-wallet
Crypto-Wallet
Open source SHA-512 loginless bitcoin wallet
Stars: ✭ 24 (-36.84%)
Mutual labels:  bitcoin-wallet
stadiacontroller
Command line application that emulates an Xbox 360 controller from a wired Stadia controller on Windows.
Stars: ✭ 142 (+273.68%)
Mutual labels:  hid
Rise-Media-Player
One media player for everything you own or stream; whether it's music or videos, online or offline Rise Media Player does it all. And it's beautiful and native with the latest version of WinUI.
Stars: ✭ 600 (+1478.95%)
Mutual labels:  uwp
Kulman.WPA81.BaseRestService
Base class for a Windows Phone 8.1 XAML, Windows 8.1 and Windows 10 Universal REST service implementation
Stars: ✭ 19 (-50%)
Mutual labels:  uwp
Chatovatko
A chatting C# application with end-to-end encryption.
Stars: ✭ 19 (-50%)
Mutual labels:  uwp
authenticator-rs
Rust library to interact with Security Keys, used by Firefox
Stars: ✭ 209 (+450%)
Mutual labels:  hid
ContextMenuForWindows11
Add Custom Context Menu For Windows11
Stars: ✭ 693 (+1723.68%)
Mutual labels:  uwp
Portable-WebDAV-Library
Moved to codeberg.org - https://codeberg.org/DecaTec/Portable-WebDAV-Library - The Portable WebDAV Library is a strongly typed, async WebDAV client library which is fully compliant to RFC 4918, RFC 4331 and "Additional WebDAV Collection Properties". It is implemented as .NETStandard 1.1 library in oder to be used on any platform supporting .NETS…
Stars: ✭ 45 (+18.42%)
Mutual labels:  uwp
MindSetUWP
NeuroSky MindWave & MindWave Mobile EEG Headset library for Windows 10 Universal applications
Stars: ✭ 14 (-63.16%)
Mutual labels:  uwp
Cauldron
C# Toolkit
Stars: ✭ 68 (+78.95%)
Mutual labels:  uwp
LocalNotifications
Create and manage in-app notifications in Universal Windows applications.
Stars: ✭ 37 (-2.63%)
Mutual labels:  uwp
Nethereum.UI.Wallet.Sample
Cross platform wallet example using Nethereum, Xamarin.Forms and MvvmCross
Stars: ✭ 77 (+102.63%)
Mutual labels:  uwp
UWP-MVVM-Toolkit-Sample
Demonstrates using the Windows Community MVVM Toolkit in a UWP app.
Stars: ✭ 31 (-18.42%)
Mutual labels:  uwp
Microsoft.Toolkit.Win32
This repository contains all controls for WPF and WinForms to simplify and demonstrate usage of UWP controls
Stars: ✭ 345 (+807.89%)
Mutual labels:  uwp
Win32Acrylic
Acrylic demo applications based on different technology stack
Stars: ✭ 35 (-7.89%)
Mutual labels:  uwp

Trezor.Net

Follow Me on Twitter

Cross Platform C# Library for the Trezor Cryptocurrency Hardwarewallet

This library allows you to communicate with both Trezor hardwarewallets in the same way that the Trezor browser wallet app communicates with them. It can be used to build apps that send or receive crypto currencies like Bitcoin in a secure way.

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

Would you like to contribute?

Quick Start

  • Clone the repo and open the solution
  • There is a console sample, Xamarin Forms sample and unit tests for UWP, and .NET
  • Compile one of the unit test apps, run the UWP/Android Xamarin Forms apps or,
  • Go to Test->Windows->Text Explorer in Visual Studio
  • Run one of the unit tests in the pane.
  • Note that the UWP unit test has a UI for entering the pin. Please read instructions there.

All Trezor messages are in the Trezor.Net.Contracts namespace. To implement them, you need to call SendMessageAsync

NuGet: Install-Package Trezor.Net

Example:

public async Task<string> GetAddressAsync()
{
    //Register the factory for creating Usb devices. Trezor One Firmware 1.7.x, 1.8.x / Trezor Model T 2.1.x
    WindowsUsbDeviceFactory.Register();
    //Register the factory for creating Hid devices. Trezor One Firmware 1.6.x
    WindowsHidDeviceFactory.Register();

    var trezorManagerBroker = new TrezorManagerBroker(GetPin, 2000, new DefaultCoinUtility());

    var trezorManager =  await trezorManagerBroker.WaitForFirstTrezorAsync();

    var bip44AddressPath = AddressPathBase.Parse<BIP44AddressPath>("m/49'/0'/0'/0/0");

    return await trezorManager.GetAddressAsync(bip44AddressPath, 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.

Coin Address
Bitcoin 33LrG1p81kdzNUHoCnsYGj6EHRprTKWu3U
Ethereum 0x7ba0ea9975ac0efb5319886a287dcf5eecd3038e

Based On

Library Description
Hardwarewallets.Net This 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.Net Trezor.Net communicates with the devices via the Hid.Net and Usb.Net libraries. You can see the repo for this library here.

See Also

Library Description
KeepKey.Net KeepKey Hardwarewallet Library
Ledger.Net Ledger Hardwarewallet Library
Ledger .NET API A similar Ledger library
Ledger Bitcoin App Bitcoin wallet application for Ledger Blue and Nano S
Ledger Ethereum App Ethereum wallet application for Ledger Blue and Nano S

Hardfolio - Store App Production Usage

https://play.google.com/store/apps/details?id=com.Hardfolio (Android)

https://www.microsoft.com/en-au/p/hardfolio/9p8xx70n5d2j (UWP)

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].