This idea suddenly popped into my head, and I just
had to write it down to see whether it's feasible:
https://github.com/cornwarecjp/amiko-pay/blob/master/doc/pay%20with%20blockchain%20knowledge.mdI admit that, with the final script being even larger than shown here, transaction fees will probably be quite large, but as long as the transaction value is more than the fee, it might be worth it. Please note that, in the context of the problem I'm trying to solve, these scripts will rarely be actually published on the block chain, so the
average fee you'll have to pay will be much lower.