Bitcoin Institute

[ANN] txtool: Advanced transaction building

1 messages BitcoinTalk Jeff Garzik July 3, 2013 — July 3, 2013

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, spending: https://github.com/jgarzik/txtool/blob/master/examples/multisig.txt
  • 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 (https://bitcointalk.org/index.php?topic=112007.msg1212356#msg1212356) will be demonstrated soon.