The bdk_redb project provides a redb based persistence backend for bdk_wallet and bdk_chain.
The crate is currently EXPERIMENTAL. DO NOT use with MAINNET wallets.
There is currently one published crate in this repository:
The crate has a default feature called wallet which provides methods on Store to persist bdk_wallet::ChangeSet and bdk_wallet::WalletPersister implementation for Store.
The library maintains a MSRV of 1.89.0 due to dependency on redb.
The bdk_redb project operates an open contributor model where anyone is welcome to contribute towards development in the form of peer review, documentation, testing, and patches.
- Fork & Branch: Fork the repository and create a dedicated topic branch for your feature or fix.
- Commits: Ensure commits are atomic, self-contained, and easy to review.
- Testing & Documentation: Ensure new features are covered by tests and public APIs are documented.
Please avoid submitting pull requests solely for fixing spelling mistakes, typos, or renaming items, as these will not be prioritized by the maintainers. First-time contributors are encouraged to tackle more substantial tasks such as resolving open issues, adding functional tests, or enhancing documentation.
We use just to streamline development commands. Key shortcuts include:
just b: Build the project with all features.just c: Run code checks (formatting, compilation, clippy, commit signature).just f: Format code withcargo +nightly fmt.just t: Run tests across some feature configurations.just p: Run the pre-push check suite (fmt,check,test).
Please run just p before submitting a pull request.
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.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.