All Projects → cryptean → Bitcoinlib

cryptean / Bitcoinlib

Licence: mit
Bitcoin Core RPC compatible, battle-tested .NET library and RPC wrapper for Bitcoin and Altcoins

Projects that are alternatives of or similar to Bitcoinlib

Crypto Whale Watching App
Python Dash app that tracks whale activity in cryptocurrency markets.
Stars: ✭ 389 (+11.14%)
Mutual labels:  bitcoin, cryptocurrency, litecoin, cryptocurrency-exchanges, dash
Cryptocurrency Dashboard
Crypto Currency Dashboard Using Twitter 🐦 And Coinmarketcap 🚀 API
Stars: ✭ 54 (-84.57%)
Mutual labels:  bitcoin, cryptocurrency, litecoin, dash
Cryptex
Gemini, GDAX, Bitfinex, Poloniex, Binance, Kraken, Cryptopia, Koinex, BitGrail and CoinMarketCap cryptocurrency exchange API clients in Swift / iOS SDK. Check prices and account balances using Sample iOS app.
Stars: ✭ 51 (-85.43%)
Mutual labels:  bitcoin, cryptocurrency, cryptocurrencies, litecoin
Cryptocurrency Cli
💰 Cryptocurrency Portfolio On The Command Line 💰
Stars: ✭ 99 (-71.71%)
Mutual labels:  bitcoin, cryptocurrency, litecoin, dash
Crypto Arbitrage
Automatic Cryptocurrency Trading Bot using Triangular or Exchange Arbitrages
Stars: ✭ 369 (+5.43%)
Mutual labels:  bitcoin, cryptocurrency, litecoin, exchange
Exchange Core
Ultra-fast matching engine written in Java based on LMAX Disruptor, Eclipse Collections, Real Logic Agrona, OpenHFT, LZ4 Java, and Adaptive Radix Trees.
Stars: ✭ 801 (+128.86%)
Mutual labels:  bitcoin, cryptocurrency, cryptocurrency-exchanges, exchange
Opencx
An open-source cryptocurrency exchange toolkit for implementing experimental exchange features
Stars: ✭ 86 (-75.43%)
Mutual labels:  bitcoin, cryptocurrency, cryptocurrency-exchanges, exchange
Peatiocryptoexchange
An open-source Crypto-Currency exchange. Peatio v3.0 Coming Soon !
Stars: ✭ 141 (-59.71%)
Mutual labels:  bitcoin, cryptocurrency, cryptocurrencies, cryptocurrency-exchanges
Multicurrencywallet
Bitcoin, Ethereum, ERC20 crypto wallets with Atomic Swap exchange. Release announce: https://twitter.com/SwapOnlineTeam/status/1321844352369500160
Stars: ✭ 136 (-61.14%)
Mutual labels:  bitcoin, cryptocurrency, litecoin, exchange
Gnome Feeder
Profit Trailer Feeder Full Build with Settings
Stars: ✭ 122 (-65.14%)
Mutual labels:  bitcoin, cryptocurrency, cryptocurrencies, litecoin
Wolfbot
Crypto currency trading bot written in TypeScript for NodeJS
Stars: ✭ 335 (-4.29%)
Mutual labels:  bitcoin, cryptocurrency, cryptocurrencies, exchange
Bitcoin Etl
ETL scripts for Bitcoin, Litecoin, Dash, Zcash, Doge, Bitcoin Cash. Available in Google BigQuery https://goo.gl/oY5BCQ
Stars: ✭ 174 (-50.29%)
Mutual labels:  bitcoin, cryptocurrency, litecoin, dash
Donut
🏹 Dead-simple cross-platform cryptocurrency tracker.
Stars: ✭ 367 (+4.86%)
Mutual labels:  bitcoin, cryptocurrency, dash, exchange
Crypto Whale Watcher
An app to keep a watch on big volume trades of cryptocurrecies on different exchanges by sending alerts via a Telegram Bot.
Stars: ✭ 60 (-82.86%)
Mutual labels:  bitcoin, cryptocurrency, cryptocurrencies, cryptocurrency-exchanges
Moneda Cli
Command line to track cryptocurrency prices
Stars: ✭ 114 (-67.43%)
Mutual labels:  bitcoin, cryptocurrency, litecoin, dash
Socktrader
🚀 Websocket based trading bot for 💰cryptocurrencies 📈
Stars: ✭ 152 (-56.57%)
Mutual labels:  bitcoin, cryptocurrency, cryptocurrencies, exchange
Antminer Monitor
Cryptocurrency ASIC mining hardware monitor using a simple web interface
Stars: ✭ 176 (-49.71%)
Mutual labels:  bitcoin, cryptocurrency, litecoin, dash
Coinapi Sdk
SDKs for CoinAPI
Stars: ✭ 238 (-32%)
Mutual labels:  bitcoin, cryptocurrencies, exchange
Edge React Gui
Edge Wallet React Native GUI for iOS and Android
Stars: ✭ 303 (-13.43%)
Mutual labels:  bitcoin, litecoin, dash
Gitbitex Spot
An Open Source Cryptocurrency Exchange
Stars: ✭ 320 (-8.57%)
Mutual labels:  bitcoin, cryptocurrency, cryptocurrency-exchanges

BitcoinLib

.NET Bitcoin & Altcoins library

Features

  • Compatible with Bitcoin Core RPC API.
  • Strongly-typed structures for complex RPC requests and responses.
  • Implicit JSON casting for all RPC messages.
  • Extended methods for every-day scenarios where the built-in methods fall short.
  • Exposure of all RPC API's functionality as well as the extended methods through a single interface.
  • Custom RPC exceptions.
  • Supports all Bitcoin clones.
  • Can operate on unlimited daemons with a single library reference.
  • Bitcoin, Litecoin, Dogecoin, SmartCash, Dash and other Altcoins included.
  • Each coin instance can be fully parametrized at run-time and implement its own constants.
  • Demo client included.
  • Disconnected raw RPC connector included for quick'n'dirty debugging.
  • Handles and relays RPC internal server errors along with their error code.
  • Can work without a .config file.
  • Fully compatible with Mono.
  • Test Network (testnet) and Regression Test Mode (regtest) ready.
  • Fully configurable.

Support

Premium Support is available by our team of experts at: [email protected].

License

See LICENSE.

NuGet packages

BitcoinLib is available on NuGet:

Versioning

From version 1.4.0, BitcoinLib follows Semantic Versioning 2.0.0.

Building from source

To build BitcoinLib from source, you will need either the .NET Core SDK or Visual Studio.

Building & running tests

With Visual Studio you can build BitcoinLib and run the tests from inside the IDE, otherwise with the dotnet command-line tool you can execute:

dotnet build

Instructions for Bitcoin

  • Locate your bitcoin.conf file (in Windows it's under: %AppData%\Roaming\Bitcoin, if it's not there just go ahead and create it) and add these lines:
    rpcuser = MyRpcUsername
    rpcpassword = MyRpcPassword
    server=1
    txindex=1
    
  • Edit the app.config file in the Console test client to best fit your needs. Make sure you also update the bitcoin.conf file when you alter the Bitcoin_RpcUsername and Bitcoin_RpcPassword parameters.

Instructions for Litecoin and other Bitcoin clones

  • Perform the same steps as those mentioned above for Bitcoin.
  • Litecoin configuration file is: litecoin.conf under: %AppData%\Roaming\Litecoin and its daemon is: litecoind.
  • Each coin can be initialized by its own interface specification:
    • IBitcoinService BitcoinService = new BitcoinService();
    • ILitecoinService LitecoinService = new LitecoinService();
  • Any bitcoin clone can be adopted without any further installation steps with the use of the generic ICryptocoinService:
    • ICryptocoinService cryptocoinService = new CryptocoinService("daemonUrl", "rpcUsername", "rpcPassword", "walletPassword");
  • Use (ICryptocoinService).Parameters to fully configure each coin pointer at run-time.

Configuration

Sample configuration:

<?xml version="1.0" encoding="utf-8"?>
<configuration>
  <appSettings>
    <!-- BitcoinLib settings start -->

      <!-- Shared RPC settings start -->
      <add key="RpcRequestTimeoutInSeconds" value="10" />
      <!-- Shared RPC settings end -->

      <!-- Bitcoin settings start -->
      <add key="Bitcoin_DaemonUrl" value="http://localhost:8332" />
      <add key="Bitcoin_DaemonUrl_Testnet" value="http://localhost:18332" />
      <add key="Bitcoin_WalletPassword" value="MyWalletPassword" />
      <add key="Bitcoin_RpcUsername" value="MyRpcUsername" />
      <add key="Bitcoin_RpcPassword" value="MyRpcPassword" />
      <!-- Bitcoin settings end -->

    <!-- BitcoinLib settings end -->
  </appSettings>
</configuration>

Bitcoin Core resources

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