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.
Export the private key as a hex string.
The private key as a hex string
Returns the x-only public key used by Taproot scripts.
StaticfromCreate a signing identity from a hex-encoded private key.
StaticfromCreate a signing identity from raw private key bytes.
StaticfromCreate a signing identity with a freshly generated random private key.
In-memory single key implementation for Bitcoin transaction signing.
Example