22 breaking releases

0.23.0 May 27, 2025
0.21.1 Dec 19, 2024
0.20.0 Oct 2, 2024
0.17.0 Jul 22, 2024
0.4.0 Mar 20, 2023

#4 in #bdk

Download history 4716/week @ 2025-03-01 6796/week @ 2025-03-08 5433/week @ 2025-03-15 7025/week @ 2025-03-22 4712/week @ 2025-03-29 4638/week @ 2025-04-05 5008/week @ 2025-04-12 6425/week @ 2025-04-19 6224/week @ 2025-04-26 5780/week @ 2025-05-03 6603/week @ 2025-05-10 5584/week @ 2025-05-17 6734/week @ 2025-05-24 5638/week @ 2025-05-31 5260/week @ 2025-06-07 4684/week @ 2025-06-14

23,238 downloads per month
Used in 30 crates (10 directly)

MIT/Apache

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

~10–14MB
~197K SLoC