1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
|
Received: from sog-mx-2.v43.ch3.sourceforge.com ([172.29.43.192]
helo=mx.sourceforge.net)
by sfs-ml-2.v29.ch3.sourceforge.com with esmtp (Exim 4.76)
(envelope-from <jgarzik@bitpay.com>) id 1UuPir-0007P3-1p
for bitcoin-development@lists.sourceforge.net;
Wed, 03 Jul 2013 16:16:01 +0000
Received-SPF: pass (sog-mx-2.v43.ch3.sourceforge.com: domain of bitpay.com
designates 74.125.82.42 as permitted sender)
client-ip=74.125.82.42; envelope-from=jgarzik@bitpay.com;
helo=mail-wg0-f42.google.com;
Received: from mail-wg0-f42.google.com ([74.125.82.42])
by sog-mx-2.v43.ch3.sourceforge.com with esmtps (TLSv1:RC4-SHA:128)
(Exim 4.76) id 1UuPip-00018P-86
for bitcoin-development@lists.sourceforge.net;
Wed, 03 Jul 2013 16:16:01 +0000
Received: by mail-wg0-f42.google.com with SMTP id z11so5663411wgg.5
for <bitcoin-development@lists.sourceforge.net>;
Wed, 03 Jul 2013 09:15:53 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=google.com; s=20120113;
h=mime-version:date:message-id:subject:from:to:content-type
:x-gm-message-state;
bh=iQhqmzWtyJVYSInUDmir6eDoWcPz7Q4neDMYbC7wdX0=;
b=E/ySdK7aRJWgEpLOgbwhsnK+yM8YPtlJNdXVzNvYj/kUWJ9t0U9Dvb741fM4U74u/j
6Ykgnhbno5rSL7rrHeAeZcaXH8pKhvih1G7BqPLPTlqMaNwl8xyH47s2b+Zx2uWDy/H6
as0KL31hPPqs7klt5Y4OpWBqjkBqtenQVOfzUbGHIiS63J0sBdB5Ad9wIY07+GLNNeIu
9G16HDRs7cciy3vCP1+0lP/QsPUuPA18ZlC4vgwYZyYFjd742er1zHxsmBgt2Nzbu+JT
GBW9vnYEqnWmGrNSZIdMZgHBmmoVtv6lfgaNVxeF5qnWh7MGlnXeLh73T1ZeBqnCUvSM
xEuw==
MIME-Version: 1.0
X-Received: by 10.180.102.36 with SMTP id fl4mr968707wib.45.1372868152806;
Wed, 03 Jul 2013 09:15:52 -0700 (PDT)
Received: by 10.194.242.36 with HTTP; Wed, 3 Jul 2013 09:15:52 -0700 (PDT)
Date: Wed, 3 Jul 2013 12:15:52 -0400
Message-ID: <CAJHLa0PkRV+Jh6ZvPGuvOUwZc-=4LjS0ONT8h3VAESvF33s28A@mail.gmail.com>
From: Jeff Garzik <jgarzik@bitpay.com>
To: Bitcoin Dev <bitcoin-development@lists.sourceforge.net>
Content-Type: text/plain; charset=ISO-8859-1
X-Gm-Message-State: ALoCoQmtNA4dTniHAnT10Bc5PUGKdmt7j22379zaGdxgTp3KnqPkksD3L2fhUcOhycNh8B3dkKH4
X-Spam-Score: -1.6 (-)
X-Spam-Report: Spam Filtering performed by mx.sourceforge.net.
See http://spamassassin.org/tag/ for more details.
-1.5 SPF_CHECK_PASS SPF reports sender host as permitted sender for
sender-domain
-0.0 SPF_PASS SPF: sender matches SPF record
-0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from
author's domain
0.1 DKIM_SIGNED Message has a DKIM or DK signature,
not necessarily valid
-0.1 DKIM_VALID Message has at least one valid DKIM or DK signature
X-Headers-End: 1UuPip-00018P-86
Subject: [Bitcoin-development] txtool: Advanced transaction building and fun
X-BeenThere: bitcoin-development@lists.sourceforge.net
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: <bitcoin-development.lists.sourceforge.net>
List-Unsubscribe: <https://lists.sourceforge.net/lists/listinfo/bitcoin-development>,
<mailto:bitcoin-development-request@lists.sourceforge.net?subject=unsubscribe>
List-Archive: <http://sourceforge.net/mailarchive/forum.php?forum_name=bitcoin-development>
List-Post: <mailto:bitcoin-development@lists.sourceforge.net>
List-Help: <mailto:bitcoin-development-request@lists.sourceforge.net?subject=help>
List-Subscribe: <https://lists.sourceforge.net/lists/listinfo/bitcoin-development>,
<mailto:bitcoin-development-request@lists.sourceforge.net?subject=subscribe>
X-List-Received-Date: Wed, 03 Jul 2013 16:16:01 -0000
URL: https://github.com/jgarzik/txtool
txtool is a command line tool written in node.js that interfaces with
Bitcoin-Qt/bitcoind, to automate or assist in building interesting,
unusual, complicated or just plain odd transactions. The goal is to
demonstrate advanced bitcoin features, and make it easier for users to
experiment. The intended audience has a basic awareness of how
bitcoin transactions look and work.
The theory of operation and full list of commands may be reviewed at
https://github.com/jgarzik/txtool/blob/master/README
Initially, two working examples are presented:
* Easy multi-signature transaction building:
https://github.com/jgarzik/txtool/blob/master/examples/multisig.txt
(similar to gmaxwell's P2SH multisig example)
* Passing around transactions (possibly multi-signature) for signing:
https://github.com/jgarzik/txtool/blob/master/examples/tx-signing.txt
Further examples such as decentralized crowdfunding and atomic coin
swapping* will be demonstrated soon.
* https://bitcointalk.org/index.php?topic=112007.msg1212356#msg1212356
--
Jeff Garzik
Senior Software Engineer and open source evangelist
BitPay, Inc. https://bitpay.com/
|