# MetacoSA/NBitcoin

Comprehensive Bitcoin library for the .NET framework.

Repository: https://github.com/MetacoSA/NBitcoin
Canonical: https://ross.abutalabs.com/products/nbitcoin
Language: C#
License: MIT
License Family: permissive
Last push: 2026-08-12T17:51:19+00:00

## Health v2 (maintenance only)
Score: 76/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 97, release rhythm 35, longevity 100
- inputs: {"age_days": 4529, "days_push": 21, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1941, forks 869 (observed 2026-08-28T04:05:57.387088+00:00)

## What it is
NBitcoin is the most complete Bitcoin library for the .NET framework, implementing all relevant Bitcoin Improvement Proposals (BIPs) and providing low-level access to Bitcoin primitives. It supports Windows, Mac, and Linux via .NET, .NET Core, Xamarin, and Unity, with an optional NBitcoin.Altcoins package for altcoin support.

## Use cases
- build a bitcoin wallet in C#
- create and sign bitcoin transactions from .NET
- generate BIP39 mnemonics and derive HD wallets (BIP32)
- parse and validate raw bitcoin transactions
- build a bitcoin payment processor in ASP.NET
- interact with bitcoin testnet and regtest for development
- implement multisig and segwit addresses in .NET

## When to choose
- you are building any Bitcoin-related application on .NET, .NET Core, Xamarin, or Unity
- you need comprehensive BIP coverage and low-level Bitcoin primitives in C#
- you want a mature, MIT-licensed library with good documentation and unit tests

## When to avoid
- your project is not on the .NET platform
- you need a full Bitcoin node implementation rather than a library
- you need support for non-Bitcoin chains not covered by NBitcoin.Altcoins

## Facets
- artifact type: library
- maturity: stable
- function: cryptography, serialization, sdk
- domain: blockchain, developer-tools, fintech
- platform: dotnet, cross-platform, windows
- tags: bitcoin, csharp, bip32, bip39, wallet, transactions, altcoins, nuget, cryptocurrency, macos, linux

## Member repositories
- MetacoSA/NBitcoin (main) score 76

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:57.387088+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:08:05.849597+00:00, confidence not recorded.
  - readme: https://github.com/MetacoSA/NBitcoin (fetched 2026-08-28T04:05:57.387088+00:00, sha f641a69e836d)
- Data as of 2026-08-30T08:39:29.467469+00:00.
