14 unstable releases (6 breaking)

0.12.0 Jul 27, 2024
0.8.7 Aug 23, 2023
0.8.6 Apr 10, 2023
0.8.3 Mar 15, 2023
0.3.0 Jul 6, 2021

#3 in #coin

Download history 44297/week @ 2024-08-24 46018/week @ 2024-08-31 46721/week @ 2024-09-07 45357/week @ 2024-09-14 44925/week @ 2024-09-21 48435/week @ 2024-09-28 59528/week @ 2024-10-05 52865/week @ 2024-10-12 54835/week @ 2024-10-19 46595/week @ 2024-10-26 41646/week @ 2024-11-02 42620/week @ 2024-11-09 46823/week @ 2024-11-16 43825/week @ 2024-11-23 54098/week @ 2024-11-30 45587/week @ 2024-12-07

197,006 downloads per month
Used in 300 crates (4 directly)

MIT/Apache

170KB
3K SLoC

coins-bip39

This is an implementation of BIP39. It is heavily inspired by and reuses code from Wagyu under the MIT license. It uses the coins-bip32 to derive extended keys.

Building

$ cargo build
$ cargo build --target wasm32-unknown-unknown

Run tests (make sure to run with all feature combinations):

$ cargo test

lib.rs:

The bip39 crate is heavily inspired by and reuses code from Wagyu under the MIT license. The difference being, the underlying extended private keys are generated using the bip32 crate, that depends on k256 instead of libsecp256k1.

Dependencies

~6.5MB
~118K SLoC