commit 27af31e4d50ae3ab7fc59b7dc63fdd154f38330a parent de5792eb48229bbcd478e23945d4809ccadc7ce6 Author: William Casarin <jb55@jb55.com> Date: Tue, 24 Oct 2017 10:24:49 -0700 examples: some example scripts for testing Diffstat:
A | examples/htlc | | | 8 | ++++++++ |
1 file changed, 8 insertions(+), 0 deletions(-)
diff --git a/examples/htlc b/examples/htlc @@ -0,0 +1,7 @@ +OP_IF + [HASHOP] <digest> OP_EQUALVERIFY OP_DUP OP_HASH160 <seller pubkey hash> +OP_ELSE + <num> [TIMEOUTOP] OP_DROP OP_DUP OP_HASH160 <buyer pubkey hash> +OP_ENDIF +OP_EQUALVERIFY +OP_CHECKSIG+ \ No newline at end of file