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 MnemonicIdentity from a BIP39 mnemonic phrase.
Pass { isMainnet } for default BIP86 derivation, or
{ descriptor } for a custom derivation path.
BIP39 mnemonic phrase (12 or 24 words)
Network selection or custom descriptor, plus optional passphrase
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.
Mnemonic-based identity derived from a BIP39 phrase.
This is the most user-friendly identity type — recommended for wallet applications where users manage their own backup phrase. Extends
See
SeedIdentity with mnemonic validation and optional passphrase support.
Example