# rust-bitcoin/rust-bitcoin

Rust Bitcoin library

Repository: https://github.com/rust-bitcoin/rust-bitcoin
Canonical: https://ross.abutalabs.com/products/rust-bitcoin
Language: Rust
License: CC0-1.0
License Family: permissive
Last push: 2026-08-24T18:29:47+00:00

## Health v2 (maintenance only)
Score: 77/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 35, longevity 100
- inputs: {"age_days": 4429, "days_push": 9, "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 2672, forks 1009 (observed 2026-08-28T04:07:09.563469+00:00)

## What it is
A Rust library for parsing, serializing, and working with Bitcoin data structures such as transactions, blocks, scripts, network messages, keys, and addresses (including full BIP-32 support). It is explicitly not suitable for consensus-critical validation code.

## Use cases
- build and sign bitcoin transactions in rust
- parse bitcoin blocks and transactions
- derive hierarchical deterministic wallets with bip32
- encode and decode bitcoin network messages
- create and validate bitcoin addresses and private keys

## When to choose
- you need a well-maintained Rust library for Bitcoin data structures and serialization
- you are building wallets, tooling, or services that interact with Bitcoin data
- you want a permissively licensed (CC0) dependency

## When to avoid
- you need consensus-critical block validation identical to Bitcoin Core
- you need JSON-RPC interaction with Bitcoin Core (use corepc-client instead)
- you target 16-bit pointer platforms

## Facets
- artifact type: library
- maturity: active
- function: serialization, parser, cryptography
- domain: blockchain, developer-tools
- platform: rust, cross-platform
- tags: bitcoin, blockchain, transactions, bip32, wallets, no-consensus, cryptocurrency

## Member repositories
- rust-bitcoin/rust-bitcoin (main) score 77

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:09.563469+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-30T02:18:07.163553+00:00, confidence not recorded.
  - readme: https://github.com/rust-bitcoin/rust-bitcoin (fetched 2026-08-28T04:07:09.563469+00:00, sha 7dccee832af6)
- Data as of 2026-08-30T08:39:29.467469+00:00.
