Sign a P2TR key spend transaction. IMPORTANT: This method is for demonstration purposes only and it only supports signing transactions if: 1. All the inputs are referencing outpoints that are owned by `own_address`. 2. `own_address` is a P2TR address.
(
ctx: &BitcoinContext,
own_address: &Address,
mut transaction: Transaction,
prevouts: &[TxOut],
derivation_path: Vec<Vec<u8>>,
merkle_root_hash: Vec<u8>,
signer: SignFun,
source not stored for this graph (policy: none)
no outgoing calls
no test coverage detected