Code Monkey home page Code Monkey logo

nbitcoin's Introduction

#NBitcoin

NBitcoin is the most complete Bitcoin library for the .NET platform. It is compatible with Open Assets and implements most relevant Bitcoin Improvement Proposals (BIPs). It provides also low level access to Bitcoin primitives so you can easily create your own smart contracts.

#How to use ? With nuget :

Install-Package NBitcoin

Or if you are running on Mono (using mono develop) :

Install-Package NBitcoin.Mono

Go on the nuget website for more information.

The packages supports the following Portable profile :

  • net45
  • portable-net45+win+wpa81+Xamarin.iOS10+MonoAndroid10+MonoTouch10
  • portable-net45+win+wpa81+wp80+Xamarin.iOS10+MonoAndroid10+MonoTouch10
  • portable-net45+MonoAndroid1

To compile it by yourself, you can git clone, open the project and hit the compile button on visual studio. How to get started ? Check out this article on CodeProject for some basic Bitcoin operations.

##Description NBitcoin notably includes:

  • A TransactionBuilder supporting Stealth, Open Asset, and all standard transactions
  • Full script evaluation and parsing
  • A RPC Client
  • A SPV Wallet implementation with sample
  • The parsing of standard scripts and creation of custom ones
  • The serialization of blocks, transactions and script
  • The signing and verification with private keys (with support for compact signatures) for proving ownership
  • Bloom filters and partial merkle trees
  • Mnemonic code for generating deterministic keys (BIP 39), credits to Thasshiznets
  • Hierarchical Deterministic Wallets (BIP 32)
  • Payment Protocol (BIP 70)
  • Payment URLs (BIP 21,BIP 72)
  • Two-Factor keys (BIP 38)
  • Stealth Addresses (Also on codeproject)

NBitcoin is inspired by Bitcoin Core code but provides a simpler object oriented API (e.g., new Key().PubKey.Address.ToString() to generate a key and get the associated address). It relies on BountyCastle cryptography library instead of OpenSSL, yet replicates OpenSSL bugs to guarantee compatibility. NBitcoin also ports the integrality of Bitcoin Core unit tests with their original data in order to validate the compatibility of the two implementations.

NBitcoin license is MIT and we encourage you to use it to explore, learn, debug, play, share and create software for Bitcoin and with other Metaco services.

Useful doc :

Please, use github issues for questions or feedback. For confidential requests or specific demands, contact us on Metaco support.

##Useful link : Visual studio express : http://www.visualstudio.com/en-us/products/visual-studio-express-vs.aspx

nbitcoin's People

Contributors

2269213870 avatar adrientr avatar bitcoinbrisbane avatar deathandtaxes avatar dthorpe avatar dugongsoftware avatar eric898989 avatar fonix232 avatar lontivero avatar nicolasdorier avatar satwo avatar thepok avatar veqtrus avatar xeniacx avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.