<p>Maybe not with OP_CHECKLOCKTIMEVERIFY, as it is not possible to consume an external input with that particular operation. But you can write a third-party oracle that will release some secret (i.e. a hash) based on the set of potential use-cases you have suggested, so the beneficiary could redeem the funds promised on the fulfillments of the condition.</p>

<p>A contract similar to that of a <a href="https://lists.linuxfoundation.org/pipermail/lightning-dev/2015-July/000021.html" rel="nofollow">Hashed-Timelock Contract (HTLC)</a> should be useful in this situation.</p>

CC BY-SA 3.0
2016-06-03T01:23:12.610Z
2016-06-03T01:23:12.610Z
rny
<p>Can OP_CHECKLOCKTIMEVERIFY and multi-sig be used to trigger a transaction based on external verifiable events?</p>

<p>Some potential uses I have in mind:</p>

<ul>
<li>Death</li>
<li>College graduation of a child or grandchild</li>
<li>Issuance of building permits</li>
<li>Yearly net company profits exceeding a certain threshold</li>
<li>Deposit refund after verification that vacation rental property is undamaged</li>
</ul>

<multi-signature><checklocktimeverify>
Can I program OP_CHECKLOCKTIMEVERIFY to trigger based on external verifiable events?
Nagu Dalal
# Can I program OP_CHECKLOCKTIMEVERIFY to trigger based on external verifiable events?

(Asked by: username_0 on 2016-06-03)

Can OP\_CHECKLOCKTIMEVERIFY and multi-sig be used to trigger a transaction based on external verifiable events?

Some potential uses I have in mind:

* Death
* College graduation of a child or grandchild
* Issuance of building permits
* Yearly net company profits exceeding a certain threshold
* Deposit refund after verification that vacation rental property is undamaged

**Tags:** multi-signature, checklocktimeverify


---

## 1 answers

### Answer by username_1 on 2016-06-03. Score: 3 | Accepted answer

Maybe not with OP\_CHECKLOCKTIMEVERIFY, as it is not possible to consume an external input with that particular operation. But you can write a third-party oracle that will release some secret (i.e. a hash) based on the set of potential use-cases you have suggested, so the beneficiary could redeem the funds promised on the fulfillments of the condition.

A contract similar to that of a [Hashed-Timelock Contract (HTLC)](https://lists.linuxfoundation.org/pipermail/lightning-dev/2015-July/000021.html) should be useful in this situation.


---

