Is there a way to build HTLCs or PTLCs that can be unlocked using different preimages or signatures?
Or: Is the equivalent of a 1-of-n multisig possible with PTLCs?
Is there anything remotely related to that for HTLCs?
Is there a way to build HTLCs or PTLCs that can be unlocked using different preimages or signatures?
Or: Is the equivalent of a 1-of-n multisig possible with PTLCs?
Is there anything remotely related to that for HTLCs?
Idk anything you said but I have your back 💜
Yes, think so - you’d put all the different unlocks in a modified BIP199 HTLC script?
Something like
```
OP_IF
[spend with a pre image (hash)]
OP_ELSE
OP_IF
[spend with some multisig and CLTV]
OP_ELSE
[spend with weaker or other multisig and longer CLTV]
OP_ENDIF
OP_ENDIF
OP_EQUALVERIFY
OP_CHECKSIG
```