#bitcoin #bip #private-key #bip85

bip85_extended

BIP-85 - deterministic entropy from bip32 keychains

1 stable release

1.2.0-alpha.1 Dec 2, 2024
1.1.0 Nov 20, 2024
0.1.1 Nov 20, 2024

#4 in #bip

Download history 259/week @ 2024-11-18 16/week @ 2024-11-25 117/week @ 2024-12-02 6/week @ 2024-12-09

398 downloads per month

MIT license

440KB
3.5K SLoC

Dart 2.5K SLoC // 0.1% comments C++ 436 SLoC // 0.1% comments Rust 282 SLoC // 0.0% comments Shell 85 SLoC // 0.2% comments Batch 66 SLoC // 0.1% comments Swift 50 SLoC // 0.1% comments Xcode Config 28 SLoC // 0.2% comments PowerShell 25 SLoC Kotlin 6 SLoC

BIP-85 Deterministic Entropy From BIP32 Keychains

codecov

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

This work is sponsored by Bull Bitcoin Sponsor

Features

Flutter bindings

Thanks to flutter_rust_bridge, I've ported this rust library to dart-bip85 for flutter applications.

Examples

There are a few examples in the examples/ folder.

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.

Dependencies

~9.5MB
~127K SLoC