2 releases

0.1.1 Apr 19, 2021
0.1.0 Apr 6, 2021

#25 in #bip-32

39 downloads per month
Used in 2 crates

MIT license

19KB
300 lines

BIP-85 implementation in Rust

BIP-85 - deterministic entropy from bip32 keychains.

Derives entropy from the extended private key according to BIP-85.

Try it online with WASM magic!

Examples

There are a few examples in the repository.

Running examples:

cargo run --example simple
cargo run --example mnemonic --features japanese

Optional features

By default the library can derive entropy in any format specified by the standard except mnemonics. To use mnemonics enable feature "mnemonic".

All bip-39 languages except english are also optional, so if you plan generating mnemonics in japanese enable feature "japanese", and so on.


lib.rs:

BIP-85 deterministic entropy generation

Derives entropy from the extended private key according to BIP-85.

Examples

There are a few examples in the repository.

Optional features

By default the library can derive entropy in any format specified by the standard except mnemonics. To use mnemonics enable feature "mnemonic".

All bip-39 languages except english are also optional, so if you plan generating mnemonics in japanese enable feature "japanese", and so on.

Dependencies

~7MB
~84K SLoC