Nice catch ๐Ÿ˜œ Takers might need to "fake" a swap whenever they want to spend. But if they do so, the onchain fingerprint is "perfect". A maker could give an equal amount P2TR otuput to a swap claim address (onchain could look like a 1 input 2 outputs tx). The "maker" has change from the swap, but the other "branch" of that swap are now someone else's. That might do whatever with it. How could you tell if it was a real swap or not? But there are other ways. Takers can also get channel opens as change outputs. Which could then be spent in part (splice, swap out, rebalance, ...) or fully (ideally cooperatively as well). And of course, makers can also eventually spend! Probably by the time we get there we can come up with simpler ideas though. The challenge definitely is complexity.

Replies (1)

โ†‘