Why Nostr? What is Njump?
2023-04-05 18:14:42
in reply to

1f52b on Nostr: Yes, think so - you’d put all the different unlocks in a modified BIP199 HTLC ...

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
```
Author Public Key
npub1raftzmju5gq77twqxrumv5gnweew2t0p4v5upv8kku4vsz4j8jzq3tgns2