#bip-39 #mnemonic #bitcoin #crypto

no-std fedimint-patch-bip39

Library for BIP-39 Bitcoin mnemonic codes

1 stable release

2.1.0 Nov 12, 2024

#874 in Magic Beans

Download history 109/week @ 2024-11-10 15/week @ 2024-11-17

124 downloads per month

CC0 license

330KB
22K 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)
  • Portuguese (portuguese)
  • Spanish (spanish)

MSRV

This crate supports Rust v1.41.1 and up and works with no_std.

When using older version of Rust, you might have to pin the version of the bitcoin_hashes crate used as such:

$ cargo update --package "bitcoin_hashes" --precise "0.12.0"

If you enable the zeroize feature the MSRV becomes 1.51.

Dependencies

~0.4–0.8MB
~20K SLoC