1 stable release
Uses old Rust 2015
1.0.0 | May 25, 2021 |
---|
#10 in #bip39
Used in splitmonic
290KB
20K
SLoC
bip39
A Rust implementation of BIP-39 mnemonic codes.
Word lists (languages)
We support all languages specified in the BIP-39 standard as of writing.
The English language is always loaded and other languages can be loaded using the corresponding feature.
Use the all-languages
feature to enable all languages.
- English (always enabled)
- Simplified Chinese (
chinese-simplified
) - Traditional Chinese (
chinese-traditional
) - Czech (
czech
) - French (
french
) - Italian (
italian
) - Japanese (
japanese
) - Korean (
korean
) - Spanish (
spanish
)
MSRV
This crate supports Rust v1.29 and up and works with no_std
.
lib.rs
:
BIP39 Mnemonic Codes
We currently don't implement seed generation from the phrase.
https://github.com/bitcoin/bips/blob/master/bip-0039.mediawiki
Test some Japanese language test vectors. For these test vectors, we seem to generate different mnemonic phrases than the test vectors expect us to. However, our generated seeds are correct and tiny-bip39, an alternative implementation of bip39 also does not fulfill the test vectors.
Dependencies
~245–710KB
~21K SLoC