30 releases (breaking)

0.23.3 Mar 26, 2026
0.23.2 Sep 12, 2025
0.23.1 Aug 6, 2025
0.23.0 May 27, 2025
0.4.0 Mar 20, 2023

#3 in #miniscript

Download history 18910/week @ 2026-01-24 19043/week @ 2026-01-31 16982/week @ 2026-02-07 17484/week @ 2026-02-14 20873/week @ 2026-02-21 23059/week @ 2026-02-28 24896/week @ 2026-03-07 23700/week @ 2026-03-14 21970/week @ 2026-03-21 26634/week @ 2026-03-28 24590/week @ 2026-04-04 22804/week @ 2026-04-11 21144/week @ 2026-04-18 17940/week @ 2026-04-25 23563/week @ 2026-05-02 19306/week @ 2026-05-09

85,349 downloads per month
Used in 52 crates (14 directly)

MIT/Apache

330KB
5.5K SLoC

This crate is a collection of core structures for Bitcoin Dev Kit.

The goal of this crate is to give wallets the mechanisms needed to:

  1. Figure out what data they need to fetch.
  2. Process the data in a way that never leads to inconsistent states.
  3. Fully index that data and expose it to be consumed without friction.

Our design goals for these mechanisms are:

  1. Data source agnostic -- nothing in bdk_chain cares about where you get data from or whether you do it synchronously or asynchronously. If you know a fact about the blockchain, you can just tell bdk_chain's APIs about it, and that information will be integrated, if it can be done consistently.
  2. Data persistence agnostic -- bdk_chain does not care where you cache on-chain data, what you cache or how you retrieve it from persistent storage.

BDK Chain

BDK keychain tracker, tools for storing and indexing chain data.

Dependencies

~11–15MB
~204K SLoC