20 breaking releases

0.21.1 Dec 19, 2024
0.20.0 Oct 2, 2024
0.17.0 Jul 22, 2024
0.11.0 Mar 5, 2024
0.4.0 Mar 20, 2023

#38 in #descriptor

Download history 3676/week @ 2024-11-15 3054/week @ 2024-11-22 3430/week @ 2024-11-29 5090/week @ 2024-12-06 3899/week @ 2024-12-13 1586/week @ 2024-12-20 1468/week @ 2024-12-27 3211/week @ 2025-01-03 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 4172/week @ 2025-02-28

18,154 downloads per month
Used in 21 crates (7 directly)

MIT/Apache

260KB
4.5K SLoC

BDK Chain

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


lib.rs:

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.

Dependencies

~11–15MB
~206K SLoC