Skip to content
Branch: master
Clone or download
Christian Release 1.6.0
Latest commit 3e4e4c7 Apr 24, 2019
Type Name Latest commit message Commit time
Failed to load latest commit information.
src Release 1.6.0 Apr 24, 2019
.gitignore First version Dec 14, 2018
LICENSE Update LICENSE Dec 15, 2018 Update Dec 15, 2018


Cross platform C# library for general Crypto Currency functionality, communicating with Cryptocurrency exchanges, and Blockchain APIs.

This library is designed for any project that works with cryptocurrency in any way. It attempts to put a layer over several aspects of querying the blockchain such as getting address balances, transactions and so on.

Join us on Slack:



Currently supports:

  • .NET Framework
  • .NET Core
  • Android
  • UWP
  • Linux*
  • MacOS*
  • iOS*

*these platforms should work, but remain untested

Quick Start

  • Clone the repo and open the solution
  • Compile and run one of the unit tests


Install the NuGet and use the example code.

        //Output: Address: 
        //qzl8jth497mtckku404cadsylwanm3rfxsx0g38nwlqzl8jth497mtckku404cadsylwanm3rfxsx0g38nwl Balance: 0
        public async Task GetBitcoinCashAddresses()
            var blockchainClientManager = new BlockchainClientManager(new RESTClientFactory());
            var addresses = await blockchainClientManager.GetAddresses(
            CurrencySymbol.BitcoinCash,new List<string>
            var address = addresses[CurrencySymbol.BitcoinCash].First();
            $"Address: {address.Address} Balance: { address.Balance }"
        //Output: Token: RHOC Balance: 0.49048
        public async Task GetERC20Tokens()
            var result = await _BlockchainClientManager.GetAddresses(CurrencySymbol.Ethereum, 
            new List<string> { "0xA3079895DD50D9dFE631e8f09F3e3127cB9a4970" });
            var nonEthereumResult = result.FirstOrDefault(a => !a.Key.Equals(CurrencySymbol.Ethereum));
            $"Token: {nonEthereumResult.Key} Balance: {nonEthereumResult.Value.First().Balance}");
        //Currency: ETH Balance: 0.????????
        //Currency: BNB Balance: 0.????????
        //Currency: EOS Balance: 0.????????
        //public async Task GetBinanceAddresses()
            var binanceClient = new BinanceClient(ApiKey, ApiSecret, new RESTClientFactory());
            var holdings = await binanceClient.GetHoldings(binanceClient);
            foreach(var holding in holdings.Result)
                Console.WriteLine($"Currency: {holding.Symbol} Balance: {holding.HoldingAmount}");


Install-Package CryptoCurrency.Net


I welcome feedback, and pull requests. If there's something that you need to change in the library, please log an issue, and explain the problem. If you have a proposed solution, please write it up and explain why you think it is the answer to the problem. The best way to highlight a bug is to submit a pull request with a unit test that fails so I can clearly see what the problem is in the first place.

Pull Requests

Please break pull requests up in to their smallest possible parts. If you have a small feature of refactor that other code depends on, try submitting that first. Please try to reference an issue so that I understand the context of the pull request. If there is no issue, I don't know what the code is about. If you need help, please jump on Slack here:


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

Bitcoin: 33LrG1p81kdzNUHoCnsYGj6EHRprTKWu3U

Ethereum: 0x7ba0ea9975ac0efb5319886a287dcf5eecd3038e

Litecoin: MVAbLaNPq7meGXvZMU4TwypUsDEuU6stpY

Store App Production Usage

This app currently only Supports Trezor ( but it will soon support Ledger with this library. (Android) (UWP)

See Also

Trezor.Net - Trezor Hardwarewallet Library

Ledger.Net - Ledger Hardwarewallet Library

KeepKey.Net - KeepKey Hardwarewallet Library

You can’t perform that action at this time.