#key #public-key


WalletD HD Key library for handling HD keys

2 unstable releases

0.2.0 May 15, 2023
0.1.0 Apr 20, 2023

#2610 in Magic Beans

Download history 25/week @ 2023-07-18 25/week @ 2023-07-25 8/week @ 2023-08-01 19/week @ 2023-08-08 22/week @ 2023-08-15 10/week @ 2023-08-22 5/week @ 2023-08-29 23/week @ 2023-09-05 17/week @ 2023-09-12 9/week @ 2023-09-19 13/week @ 2023-09-26 14/week @ 2023-10-03 14/week @ 2023-10-10 16/week @ 2023-10-17 20/week @ 2023-10-24 20/week @ 2023-10-31

74 downloads per month
Used in 4 crates



WalletD HD Key

walletd_hd_key is a Rust library implementation of the BIP-32 standard's hierarchical deterministic (HD) key generation.

More information about this crate can be found in the crate documentation.

High level features

This library supports key generation using the following BIPs (Bitcoin Improvement Proposal).

  • BIP32 - Hierarchical Deterministic Wallets
  • BIP44 - Multi-Account Hierarchy for Deterministic Wallets
  • BIP49 - Derivation scheme for P2WPKH-nested-in-P2SH based accounts
  • BIP84 - Derivation scheme for P2WPKH based accounts

Usage example

See the crate documentation usage examples.


This crate uses #![forbid(unsafe_code)] to ensure everything is implemented in 100% safe Rust.

Minimum supported Rust version

hd_key's MSRV is 1.60.


The examples folder contains various examples of how to use hd_key. The docs also provide lots of code snippets and examples.

Getting Help

In the hd_key's repo we also have a number of examples showing how to put everything together. You're also welcome to open a discussion with your question.


🎈 Thanks for your help improving the project! We are so happy to have you! We have a contributing guide to help you get involved in the hd_key project.


Licensed under the Apache license, Version 2.0 or the MIT license, at your option. Files in the project may not be copied, modified, or distributed except according to those terms.


Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in hd_key by you, shall be licensed as MIT, without any additional terms or conditions.


~91K SLoC