Returns the compressed public key for this identity.
Sign the provided transaction inputs.
Transaction to sign
OptionalinputIndexes: number[]Optional input indexes to sign. When omitted, the implementation should sign every signable input.
Returns a signer session used for musig2 tree signing flows.
Converts to a watch-only identity that cannot sign.
Returns the x-only public key used by Taproot scripts.
StaticfromCreates a SeedIdentity from a raw 64-byte seed.
Pass { isMainnet } for default BIP86 derivation, or
{ descriptor } for a custom derivation path.
64-byte seed (typically from mnemonicToSeedSync)
Network selection or custom descriptor.
Seed-based identity derived from a raw seed and an output descriptor.
This is the recommended identity type for most applications. It uses standard BIP86 (Taproot) derivation by default and stores an output descriptor for interoperability with other wallets.
Prefer this (or
See
MnemonicIdentity) over
SingleKeyfor new integrations —SingleKeyexists for backward compatibility with raw nsec-style keys.For descriptor-based signing, wrap with StaticDescriptorProvider.
Example