Blockchain

The initial plan of making it work with the json rpc API of blockchain panned out to be a problem: the API of blockchain works differently compared to bitcoind. It was different enough that it caused problems. Here's the reimplementation using blockchain's wallet API.