This will fail, because the networks.bitcoin has only 0488b21e & 0488ade4 defined as public and private extended key prefixes.
Is there any interest to add support for zpub & ypub as well? And if so, how to approach this? as these constants are not even defined here but in bitcoinjs-lib as I can see here.
If one tries to use this library with a
zpub
orypub
like:This will fail, because the
networks.bitcoin
has only0488b21e
&0488ade4
defined as public and private extended key prefixes.Is there any interest to add support for
zpub
&ypub
as well? And if so, how to approach this? as these constants are not even defined here but in bitcoinjs-lib as I can see here.