#hdwallet #BIP32 #wallet #bitcoin #crypto

hdwallet-bitcoin

Bitcoin BIP-32 key derivation

4 releases

✓ Uses Rust 2018 edition

0.2.2 Jan 11, 2020
0.2.1 Mar 12, 2019
0.1.1 Mar 3, 2019
0.1.0 Mar 3, 2019

#107 in Cryptocurrencies

26 downloads per month
Used in 2 crates

MIT license

54KB
1K SLoC

HDWallet

Crates.io MIT licensed Build Status Docs

HD wallet(BIP-32) related key derivation utilities.

This crate is build upon secp256k1 crate, only provide BIP-32 related features, for signatures see the secp256k1 documentation.

  • [ChainPath] and [KeyChain] used to derive HD wallet keys.
  • [Derivation] contains key derivation info.
  • [ExtendedPrivKey] and [ExtendedPubKey] according to BIP-32 described represents a key that can derives child keys.
  • [KeyIndex] indicate index and type in a child key derivation (Normal key or Hardened key).
  • [Error] errors.

hdwallet crate itself is a key derivation framework. Check hdwallet-bitcoin if you want to derive bitcoin keys, and you can find or submit other crypto currencies support on hdwallet homepage.

Documentation

License

MIT

Dependencies

~6.5MB
~199K SLoC