bip0039

Crates.iobip0039
lib.rsbip0039
version0.12.0
sourcesrc
created_at2020-01-07 03:11:51.635404
updated_at2024-02-19 08:20:16.09859
descriptionAnother Rust implementation of BIP-0039 standard
homepage
repositoryhttps://github.com/koushiro/rust-bips
max_upload_size
id196015
size367,197
Qinxuan Chen (koushiro)

documentation

https://docs.rs/bip0039

README

bip0039

gha-svg crates-svg docs-svg msrv-svg

Another Rust implementation of BIP-0039 standard.

Usage

Generate a random BIP-0039 mnemonic in English.

use bip0039::{Count, English, Mnemonic};

// Generates an English mnemonic with 12 words randomly
let mnemonic = <Mnemonic<English>>::generate(Count::Words12);
// Or use the default generic type (English) of struct Mnemonic.
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.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Commit count: 0

cargo fmt