All Projects → MelbourneDeveloper → CryptoCurrency.Net

MelbourneDeveloper / CryptoCurrency.Net

Licence: MIT license
CryptoCurrency.Net

Programming Languages

C#
18002 projects

Projects that are alternatives of or similar to CryptoCurrency.Net

profbit
Track your Coinbase profits!
Stars: ✭ 37 (+76.19%)
Mutual labels:  bitcoin-price, bitcoin-cash
bch-devsuite
A quick and easy setup for Bitcoin Cash Node, SLP infrastructure and SmartBCH
Stars: ✭ 12 (-42.86%)
Mutual labels:  bitcoin-api, bitcoin-cash
dnsimple-python
The DNSimple API client for Python.
Stars: ✭ 66 (+214.29%)
Mutual labels:  api-client
go-typetalk
go-typetalk is a GO client library for accessing the Typetalk API.
Stars: ✭ 19 (-9.52%)
Mutual labels:  api-client
kdecole-api
Unofficial Node.js API client of Kdecole (Skolengo EMS)
Stars: ✭ 31 (+47.62%)
Mutual labels:  api-client
Jib.jl
A Julia implementation of Interactive Brokers API
Stars: ✭ 42 (+100%)
Mutual labels:  api-client
redash-api-client
Redash API Client written in Python
Stars: ✭ 36 (+71.43%)
Mutual labels:  api-client
v-shopware-api-client
The reliable way to import and update a bazillion products.
Stars: ✭ 20 (-4.76%)
Mutual labels:  api-client
pyracing
A complete overhaul of the original ir_webstats; pyracing is an API client/wrapper for iRacing, the leading online simracing service. pyracing handles the queries to iRacing's (known) URL endpoints and maps the returned JSON data into structured objects, allowing for easier access to the data.
Stars: ✭ 52 (+147.62%)
Mutual labels:  api-client
NClient
💫 NClient is an automatic type-safe .Net HTTP client that allows you to call web service API methods using annotated interfaces or controllers without boilerplate code.
Stars: ✭ 25 (+19.05%)
Mutual labels:  api-client
connectapi
An R package for interacting with the RStudio Connect Server API
Stars: ✭ 26 (+23.81%)
Mutual labels:  api-client
Bitcoin Analysis-
Python Bitcoin is widely used cryptocurrency for digital market. It is decentralised that means it is not own by government or any other company.Transactions are simple and easy as it doesn’t belong to any country.Records data are stored in Blockchain.Bitcoin price is variable and it is widely used so it is important to predict the price of it f…
Stars: ✭ 42 (+100%)
Mutual labels:  bitcoin-price
closeio-api
Python API Client for Close
Stars: ✭ 53 (+152.38%)
Mutual labels:  api-client
tiktok-scraper-php
Tiktok (Musically) PHP scraper
Stars: ✭ 65 (+209.52%)
Mutual labels:  api-client
pywnedpasswords
Checkt pwnedpasswords.com in a secure way
Stars: ✭ 22 (+4.76%)
Mutual labels:  api-client
airtable
Airtable API Client for Go
Stars: ✭ 25 (+19.05%)
Mutual labels:  api-client
braze-php-sdk
A PHP client to interact with Braze API
Stars: ✭ 15 (-28.57%)
Mutual labels:  api-client
wporg-client
Standalone HTTP client for public WordPress.org API.
Stars: ✭ 73 (+247.62%)
Mutual labels:  api-client
jellyfin-apiclient-python
Python API Client for Jellyfin
Stars: ✭ 30 (+42.86%)
Mutual labels:  api-client
mailerlite-api-python
Python wrapper for Mailerlite API v2
Stars: ✭ 31 (+47.62%)
Mutual labels:  api-client

CryptoCurrency.Net

Build Status

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: https://hardwarewallets.slack.com

Twitter: https://twitter.com/HardfolioApp

Blog: https://christianfindlay.wordpress.com

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

Or...

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>
            {
            "qzl8jth497mtckku404cadsylwanm3rfxsx0g38nwlqzl8jth497mtckku404cadsylwanm3rfxsx0g38nwl",
            "bitcoincash:qrcuqadqrzp2uztjl9wn5sthepkg22majyxw4gmv6p"
            });
            var address = addresses[CurrencySymbol.BitcoinCash].First();
            Console.WriteLine
            (
            $"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));
            Console.WriteLine(
            $"Token: {nonEthereumResult.Key} Balance: {nonEthereumResult.Value.First().Balance}");
        }
        //Output:
        //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}");
            }
        }

NuGet

Install-Package CryptoCurrency.Net

Contribution

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: https://hardwarewallets.slack.com

Donate

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 (https://github.com/MelbourneDeveloper/Trezor.Net) but it will soon support Ledger with this library.

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

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

See Also

Trezor.Net - Trezor Hardwarewallet Library

Ledger.Net - Ledger Hardwarewallet Library

KeepKey.Net - KeepKey Hardwarewallet Library

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].