#p2p #bitcoin #light-client

bdk_kyoto

BDK blockchain integration using P2P light client Kyoto

8 releases (breaking)

0.8.0 Feb 21, 2025
0.7.1 Jan 29, 2025
0.6.0 Dec 18, 2024
0.5.0 Dec 11, 2024
0.1.0 Oct 3, 2024

#2 in #light-client

Download history 421/week @ 2024-12-02 632/week @ 2024-12-09 222/week @ 2024-12-16 13/week @ 2025-01-06 5/week @ 2025-01-13 284/week @ 2025-01-20 331/week @ 2025-01-27 161/week @ 2025-02-03 1/week @ 2025-02-10 415/week @ 2025-02-17 283/week @ 2025-02-24 131/week @ 2025-03-03 1229/week @ 2025-03-10

2,058 downloads per month

MIT/Apache

26KB
265 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

at your option.

Dependencies

~48MB
~738K SLoC