Created
July 8, 2015 00:56
-
-
Save maraoz/6619395a475eadec25b5 to your computer and use it in GitHub Desktop.
Smart contract for trustless double-sha256 pre-image cracking 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 | |
OP_HASH256 <challenge hash> OP_EQUALVERIFY | |
<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