Crate bip85[][src]

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.

Re-exports

pub extern crate bip39;
pub extern crate bitcoin;

Enums

Error

A BIP85 error.

Functions

derive

Derive raw bytes from the root key using provided derivation path.

to_hex

Derive binary entropy of certain length from the root key

to_mnemonic

Derive mnemonic from the xprv key

to_mnemonic_in

Derive mnemonic in given language

to_wif

Derive Bitcoin Private Key from the root key

to_xprv

Derive bip32 extended private key from root xprv