Created
July 8, 2015 01:01
-
-
Save maraoz/1e7ed2238492db6600fb to your computer and use it in GitHub Desktop.
Generic smart contract for trustless service with a time restriction
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
OP_IF | |
<service provided conditions> | |
<provider pubkey> | |
ELSE | |
<expiry time> OP_CHECKLOCKTIMEVERIFY OP_DROP | |
<client pubkey> | |
OP_ENDIF | |
OP_CHECKSIGVERIFY |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment