View Source Key derivation

For reference, is a very nice doc describing key derivation. At the moment, bip44, bip49 and bip84 purposes are supported, with taproot being the next in line.

Any extended private key can be derived using any of these purposes. Choosing the right one is important, as it will impact address types generated down the line.

create-the-bip84-bitcoin-account-0

Create the bip84 Bitcoin account #0

Starting from a mnemonic phrase, down to the private key

"blue involve cook print twist crystal razor february caution private slim medal"
|> ExtendedPrivate.from_mnemonic_phrase()
|> ExtendedPrivate.from_derivation_path!("m/84'/0'/0'")