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 41850/week @ 2024-07-18 44249/week @ 2024-07-25 43088/week @ 2024-08-01 48475/week @ 2024-08-08 46924/week @ 2024-08-15 43450/week @ 2024-08-22 44195/week @ 2024-08-29 48656/week @ 2024-09-05 46659/week @ 2024-09-12 43413/week @ 2024-09-19 47658/week @ 2024-09-26 57434/week @ 2024-10-03 53579/week @ 2024-10-10 55002/week @ 2024-10-17 49061/week @ 2024-10-24 41564/week @ 2024-10-31

210,358 downloads per month
Used in 287 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
~117K SLoC