Watch-only identity from an output descriptor.
Can derive public keys but cannot sign transactions. Use this for watch-only wallets or when sharing identity information without exposing private keys.
const descriptor = "tr([fingerprint/86'/0'/0']xpub.../0/0)";const readonly = ReadonlyDescriptorIdentity.fromDescriptor(descriptor);const pubKey = await readonly.xOnlyPublicKey(); Copy
const descriptor = "tr([fingerprint/86'/0'/0']xpub.../0/0)";const readonly = ReadonlyDescriptorIdentity.fromDescriptor(descriptor);const pubKey = await readonly.xOnlyPublicKey();
Readonly
Static
Creates a ReadonlyDescriptorIdentity from an output descriptor.
Taproot descriptor: tr([fingerprint/path']xpub.../child/path)
Watch-only identity from an output descriptor.
Can derive public keys but cannot sign transactions. Use this for watch-only wallets or when sharing identity information without exposing private keys.
Example