19 releases (breaking)
| 0.15.3 | Nov 19, 2025 |
|---|---|
| 0.15.0 | Sep 30, 2025 |
| 0.13.1 | Jul 4, 2025 |
| 0.8.0 | Feb 21, 2025 |
| 0.3.0 | Nov 7, 2024 |
#2 in #light-client
6,120 downloads per month
Used in bdk-cli
27KB
318 lines
BDK Kyoto
BDK-Kyoto is an extension of Kyoto, a client-side implementation of BIP157/BIP158. These proposals define a way for users to fetch transactions privately, using compact block filters. You may want to read the specification here. Kyoto runs as a psuedo-node, sending messages over the Bitcoin peer-to-peer layer, finding new peers to connect to, and managing a light-weight database of Bitcoin block headers. As such, developing a wallet application using this crate is distinct from a typical client/server relationship. Esplora and Electrum offer proactive APIs, in that the servers will respond to events as they are requested.
In the case of running a node as a background process, the developer experience is far more reactive, in that the node may emit any number of events, and the application may respond to them. BDK-Kyoto curates these events into structures that are easily handled by BDK APIs, making integration of compact block filters easily understood.
License
Licensed under either of
- Apache License, Version 2.0, (LICENSE-APACHE or https://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or https://opensource.org/licenses/MIT)
at your option.
Dependencies
~17–30MB
~326K SLoC