12 releases

0.8.7 Aug 23, 2023
0.8.6 Apr 10, 2023
0.8.3 Mar 15, 2023
0.7.0 Jul 6, 2022
0.2.2 Apr 4, 2021

#2083 in Magic Beans

Download history 37596/week @ 2023-11-29 38011/week @ 2023-12-06 36290/week @ 2023-12-13 28088/week @ 2023-12-20 20831/week @ 2023-12-27 35697/week @ 2024-01-03 42975/week @ 2024-01-10 46500/week @ 2024-01-17 46599/week @ 2024-01-24 56978/week @ 2024-01-31 49550/week @ 2024-02-07 47229/week @ 2024-02-14 46155/week @ 2024-02-21 41210/week @ 2024-02-28 41627/week @ 2024-03-06 35716/week @ 2024-03-13

172,286 downloads per month
Used in 189 crates (2 directly)

MIT/Apache

85KB
946 lines

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

~6MB
~116K SLoC