21 breaking releases

new 0.22.0 May 1, 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

#128 in Magic Beans

Download history 4111/week @ 2025-01-10 3923/week @ 2025-01-17 3645/week @ 2025-01-24 4199/week @ 2025-01-31 3873/week @ 2025-02-07 3746/week @ 2025-02-14 5311/week @ 2025-02-21 4823/week @ 2025-02-28 6606/week @ 2025-03-07 5612/week @ 2025-03-14 6702/week @ 2025-03-21 4977/week @ 2025-03-28 4659/week @ 2025-04-04 4703/week @ 2025-04-11 6369/week @ 2025-04-18 5021/week @ 2025-04-25

21,655 downloads per month
Used in 25 crates (8 directly)

MIT/Apache

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