Skip to content

Recover Descriptors from Seeds

BDK wallets require the use of descriptors, but recovery phrases (also called seed phrases) are a common and popular backup solution. Creating descriptors from a recovery phrase is a common workflow and BDK makes this easy with its descriptor templates, which are offered for common descriptors (BIP 44/49/84/86).

Feature Flags

The current example requires the feature keys-bip39 for bdk_wallet. You can add it with:

cargo add bdk_wallet --features="keys-bip39"

Example