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 41755/week @ 2024-07-29 44387/week @ 2024-08-05 48535/week @ 2024-08-12 45368/week @ 2024-08-19 44621/week @ 2024-08-26 46863/week @ 2024-09-02 45719/week @ 2024-09-09 45455/week @ 2024-09-16 44648/week @ 2024-09-23 51560/week @ 2024-09-30 56365/week @ 2024-10-07 53489/week @ 2024-10-14 53630/week @ 2024-10-21 46593/week @ 2024-10-28 41041/week @ 2024-11-04 41263/week @ 2024-11-11

185,134 downloads per month
Used in 292 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