(Taproot environment) What I came up with is the following logic:
$alice = A;
$bob = B;
pk($bob) || (pk($alice) && older(10))
(See on Minsc).
I looked at the generated / resulting Bitcoin Script, which worked in Regtest.
What I was not able to reproduce / verify are the following question:
- Could Bob batch spend UTXOs across contracts with different partners (partners like Alice, in this case) in a single transaction?
Basically Bob creates an address based off the conditions above and James or multiple Payers send their UTXOs to the Tapscript contract.
Bob now wants to spend the received coins, but to reduce fees, he wants to batch spending. So a typical transaction would contain several UXTOs from several different tapscripts. The outputs are 3rd party addresses - including Alice's.
In case Bob is not able to do those transactions, Alice should be able to claim the UXTOs remaining after 10 blocks.
- Is this reproducable in Mainnet once Taproot is activated? Am I missing something?