Description
bwt is a lightweight and performant descriptor-based wallet indexer for Bitcoin, implemented in Rust. It is backed by a bitcoin full node, using a model similar to that of Electrum Personal Server. It can serve as a personal alternative to public Electrum servers or power bitcoin apps such as wallet backends, payment processors and more. It uses bitcoind to keep track of wallet addresses (derived from xpubs) and builds an index of their history that can be queried using the Electrum RPC protocol or bwt's custom designed HTTP API. Real-time updates are available through Server-Sent events or Web Hooks. The index is currently managed in-memory and does not get persisted (this is expected to change), but building it is pretty fast: bwt can index thousands of transactions in under a second.