ReadonlydescriptorWildcard account-descriptor template (e.g.
tr([fp/86'/0'/0']xpub/0/*)). HD rotation consumers materialize
a concrete descriptor at a specific index themselves.
Returns the compressed public key for this identity.
Returns true when descriptor derives from this identity's xpub.
HD descriptors match by account xpub; bare tr(pubkey) descriptors
fall back to comparing against the index-0 x-only pubkey. See
descriptorIsOurs.
Returns the x-only public key used by Taproot scripts.
StaticfromCreates a ReadonlyDescriptorIdentity from an account-descriptor
template (must end with the BIP-32 wildcard suffix /*)).
Wildcard-suffixed Taproot template
(tr([fp/path']xpub.../child/*)).
Watch-only HD identity from a descriptor template.
Can derive public keys but cannot sign transactions. Use this for watch-only wallets — given just an xpub-based template, the readonly side still rotates through HD indices.
Constructed from a wildcard template (e.g.
tr([fp/86'/0'/0']xpub.../0/*)); the descriptor field holds it for HD providers to consume.Example