I’m working on a tool for timelocked contract generation. My redeem script looks like so: OP_HASH160 <revocationHash> OP_EQUAL OP_IF <bobPubKey> OP_ELSE <timeDelay> OP_CHECKSEQUENCEVERIFY OP_DROP <alicePubKey> OP_ENDIF OP_CHECKSIG The goal is that Alice can spend the funds after a time delay, while Bob can spend them at any time by proving knowledge of the hash preimage.Read more