Dear list,

I am sharing a BIP draft for a new key expression for output script descriptors.
A mnemonic alone does not fully describe a wallet: reliable recovery also 
requires information such as the derivation paths and script types used. 
Descriptors capture that information.
This proposal aims to standarize mnemonic imports into descriptor-based 
workflows, by allowing wallets to represent an English BIP39 mnemonic and 
optional passphrase directly through a descriptor.

For example:
wpkh(bip39([word1, ..., wordN], "passphrase")/84h/0h/0h/0/*)

The expression derives the BIP32 master extended private key and behaves like 
the equivalent xprv key expression, including multi-key expressions, derivation 
paths and multipath descriptors.

You can find the full text to read and comment on in the following draft PR: 
https://github.com/polespinasa/bips/pull/2
There is also a first-draft implementation on top of Bitcoin Core here 
https://github.com/polespinasa/bitcoin/pull/8 in case anyone wants to test it 
and leave feedback.

Feel free to leave comments in the PR or respond here on the list.


Pol

-- 
You received this message because you are subscribed to the Google Groups 
"Bitcoin Development Mailing List" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/bitcoindev/JiUeNigF_rzI9YOrqHZrjBrjYeoxPWHsbVSHAaSoA2vimubD0Z-t8eAxL5DfWGTeWuLGxx3xpg-u6MOjYIS17a_MxFA-GiCM5hmaASrAixU%3D%40protonmail.com.

Attachment: publickey - [email protected] - 0x44205759.asc
Description: application/pgp-keys

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to