[][src]Crate hdwallet

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 original secp256k1 documentation.

  • ChainPath and KeyChain used to derivation keys from string represented path.
  • Derivation key_chain.derive_private_key derives ExtendedPrivKey and Derivation which contains key derivation info.
  • ExtendedPrivKey and ExtendedPubKey as BIP-32 described it is the basic components to derive keys.
  • KeyIndex is a simple enum indicate the index and type of child key(Normal key or Hardened key).
  • [Error] errors.

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

Re-exports

pub use crate::extended_key::key_index::KeyIndex;
pub use crate::extended_key::ExtendedPrivKey;
pub use crate::extended_key::ExtendedPubKey;
pub use crate::extended_key::KeySeed;
pub use crate::key_chain::chain_path::ChainPath;
pub use crate::key_chain::chain_path::Error as ChainPathError;
pub use crate::key_chain::chain_path::SubPath;
pub use crate::key_chain::DefaultKeyChain;
pub use crate::key_chain::Derivation;
pub use crate::key_chain::KeyChain;
pub use rand;
pub use ring;
pub use secp256k1;

Modules

error
extended_key
key_chain
traits