Skip to content

Instantly share code, notes, and snippets.

View jaekwon's full-sized avatar

Jae Kwon jaekwon

View GitHub Profile
@jaekwon
jaekwon / 2of3.md
Created July 7, 2016 21:29
2-of-3 Escrow Example with Electrum (Updated May 2014)

2-of-3 Escrow Example with Electrum

This is gmaxwell's 2-of-2 escrow example, adapted to Electrum and to a lesser extent, GFM.

The Scenario

Archey wants to pay Bertha 0.001 BTC for a Twitter Platinum invite, but prevent Bertha from cheating him. Archey selects Iceland to act as

Create:
Serverside:
POST /api/v1/wallet/create
?id
&secret
&wallet
&coin
response: {
@jaekwon
jaekwon / gist:761071
Created December 31, 2010 15:10 — forked from dwillis/gist:756581
Derek-Williss-MacBook-Pro:zappa-test derek$ zappa cuppa.coffee
Error: ENOENT, No such file or directory 'node'
at Object.openSync (fs:153:18)
at Object.readFileSync (fs:94:15)
at Zappa.read (/usr/local/lib/node/.npm/zappa/0.1.3/package/lib/zappa.js:67:17)
at Zappa.run_file (/usr/local/lib/node/.npm/zappa/0.1.3/package/lib/zappa.js:71:75)
at Object.run_file (/usr/local/lib/node/.npm/zappa/0.1.3/package/lib/zappa.js:650:23)
at Object.<anonymous> (/usr/local/lib/node/.npm/zappa/0.1.3/package/bin/zappa.coffee:96:15)
at Object.<anonymous> (/usr/local/lib/node/.npm/zappa/0.1.3/package/bin/zappa.coffee:100:4)
at Module._compile (node.js:462:23)