1
0
mirror of https://github.com/bitcoin/bips.git synced 2024-11-19 01:40:05 +01:00

bip-path-templates: Add Compatibility section

This commit is contained in:
Dmitry Petukhov 2021-05-11 17:51:24 +05:00
parent c90c76bc1b
commit 25f8c3e694
No known key found for this signature in database
GPG Key ID: 2301D26BDC15160D

View File

@ -197,6 +197,14 @@ At the moment, three implementations exist:
* FSM implementation in Python (micropython compatible): https://github.com/dgpv/bip32_template_python_implementation
* non-FSM implementation in python: BIP32PathTemplate class in bitcointx.core.key module of python-bitcointx library (https://github.com/Simplexum/python-bitcointx)
==Compatibility==
The full path template that only contains Unit index templates represents a fully valid BIP32 path.
There's no other path template standards that is known to the author currently.
There is a discussion on path templating for bitcoin script descriptors at https://github.com/bitcoin/bitcoin/issues/17190, which proposes the format '''"xpub...{0,1}/*"''', of which the '''"{0,1}/*"''' part would correspond to the partial path template in the format of this BIP.
==Examples==
'''"m/{44,49,84}'/0'/0'/{0-1}/{0-50000}"''' specifies a full template that matches both external and internal chains of BIP44, BIP49 and BIP84 paths, with a constraint that the address index cannot be larger than 50000