29 releases (breaking)

0.23.2 Sep 12, 2025
0.23.0 May 27, 2025
0.21.1 Dec 19, 2024
0.20.0 Oct 2, 2024
0.4.0 Mar 20, 2023

#8 in #bdk

Download history 3907/week @ 2025-07-15 3746/week @ 2025-07-22 4115/week @ 2025-07-29 4887/week @ 2025-08-05 5401/week @ 2025-08-12 5360/week @ 2025-08-19 5466/week @ 2025-08-26 4352/week @ 2025-09-02 6598/week @ 2025-09-09 7923/week @ 2025-09-16 9003/week @ 2025-09-23 7487/week @ 2025-09-30 7141/week @ 2025-10-07 7269/week @ 2025-10-14 8819/week @ 2025-10-21 8171/week @ 2025-10-28

32,382 downloads per month
Used in 38 crates (12 directly)

MIT/Apache

310KB
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