Getting Started
Notice
This book is up-to-date with version 1.0.0 of the bdk_wallet rust library.
Install Rust
See the Rust Getting Started page to install the Rust development tools.
Using BDK in a Rust project
Follow these steps to use BDK in your own rust project with the electrum blockchain client.
- Create a new Rust project:
- Add
bdk_walletto yourCargo.tomlfile. Find the latestbdk_walletrelease on crates.io, for example:
- Add other required dependencies:
Follow the Sync a Wallet with Electrum page for a simple example of how to create and sync a wallet.