19 breaking releases
0.20.0 | Oct 2, 2024 |
---|---|
0.18.1 |
|
0.17.0 | Jul 22, 2024 |
0.11.0 | Mar 5, 2024 |
0.4.0 | Mar 20, 2023 |
#29 in #descriptor
12,980 downloads per month
Used in 15 crates
(8 directly)
245KB
4K
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:
- Figure out what data they need to fetch.
- Process the data in a way that never leads to inconsistent states.
- Fully index that data and expose it to be consumed without friction.
Our design goals for these mechanisms are:
- 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 tellbdk_chain
's APIs about it, and that information will be integrated, if it can be done consistently. - 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
~207K SLoC