bip0039 0.7.2

Another Rust implementation of BIP-0039 standard
Documentation

bip0039-rs

ga-svg crates-svg docs-svg msrv-svg codecov-svg deps-svg

Another Rust implementation of BIP-0039 standard.

Usage

  • Add the bip0039 into the Cargo.toml.

    [dependencies]
    bip0039 = "0.7.2"
    
  • Generate a random BIP-0039 mnemonic in English.

    use bip0039::{Count, Mnemonic};
    
    /// Generates an English mnemonic with 12 words randomly
    let mnemonic = Mnemonic::generate(Count::Words12);
    /// Gets the phrase
    let phrase = mnemonic.phrase();
    /// Generates the HD wallet seed from the mnemonic and the passphrase.
    let seed = mnemonic.to_seed("");
    

Documentation

See documentation and examples at https://docs.rs/bip0039.

Features

  • Support all languages in the BIP-0039 Word Lists
    • English
    • Japanese
    • Korean
    • Spanish
    • Chinese (Simplified)
    • Chinese (Traditional)
    • French
    • Italian
    • Czech
    • Portuguese
  • Support no_std environment

Alternatives

License

Licensed under either of

at your option.