Rust Bitcoin

A set of Rust crates for parsing, constructing and working with Bitcoin protocol data, transactions, scripts, addresses and network messages.

Rust Bitcoin gives Rust programs typed building blocks for working with Bitcoin data. The public repository began in July 2014 and now contains the main bitcoin crate alongside smaller crates for hashes, addresses, network messages, consensus encoding, primitives and units. The project publishes them separately so applications can take only the layers they need.

The main crate parses and serializes transactions, blocks, scripts, addresses, keys, partially signed Bitcoin transactions and peer-to-peer messages. Its API also covers BIP-32 derivation, compact block filters and Taproot data. Optional features add serialization support and conveniences without making them part of every build. The library can also run without Rust's standard library, which makes the same data types available to constrained or embedded software.

The boundaries matter. The maintainers state that Rust Bitcoin should not be used as a replacement for Bitcoin Core's consensus validation. Its types can represent and inspect consensus data, but the project does not promise exact agreement with every Bitcoin Core validation rule. It also directs Bitcoin Core JSON-RPC users to a separate client instead of folding node control into this library.

The current published bitcoin crate is version 0.32.102, dated 6 July 2026 in the project changelog and shown by the hosted API documentation. The repository remained active on 5 October 2026. Its code is released under CC0-1.0, while the project does not publish a legal entity or organisational form. The structure is therefore recorded as undocumented. No individual profile is required to explain the library, and the directory uses its monogram fallback instead of copying the repository artwork.

Newsletter

Bitcoin, without the noise

What happened in Bitcoin, what it actually changes, and the sources so you can check us. One issue at a time, straight to your inbox.

  • One email per issue, never a drip campaign
  • No tracking pixels and no shared addresses
  • Unsubscribe from any issue in one click

Get the next issue

One email per issue, no tracking pixels, and unsubscribe from any of them. We do not share your address. Privacy policy