[Bitcoin-development] Serialised P2SH HD chains

2014-12-04 Thread Luke Dashjr
Is anyone working on a serialisation format to convey P2SH HD chains? For example, to give someone who wants to make recurring payments a single token that can be used to generate many P2SH addresses paying to a multisig script. I'm thinking of something along the lines of a simple series of

Re: [Bitcoin-development] Serialised P2SH HD chains

2014-12-04 Thread Gavin Andresen
On Thu, Dec 4, 2014 at 10:42 AM, Luke Dashjr l...@dashjr.org wrote: Is anyone working on a serialisation format to convey P2SH HD chains? For example, to give someone who wants to make recurring payments a single token that can be used to generate many P2SH addresses paying to a multisig

Re: [Bitcoin-development] Serialised P2SH HD chains

2014-12-04 Thread William Swanson
Yes. A few of us over here in San Diego actually started working on a format like this a few months ago, but it's been on the back burner for a while. Our motivation was to come up with a shared HD wallet format. Say I would like create a 2-of-3 multisig wallet using my phone, PC, and hardware

Re: [Bitcoin-development] Serialised P2SH HD chains

2014-12-04 Thread Mike Hearn
I wrote a little Javascript program https://github.com/bitcoinj/bitcoinj/blob/master/examples/src/main/javascript/payprotocol.js to print some minimal protobufs to base64. Result for a multisig output:

Re: [Bitcoin-development] Serialised P2SH HD chains

2014-12-04 Thread Jeffrey Paul
On 20141204, at 07:42, Luke Dashjr l...@dashjr.org wrote: Is anyone working on a serialisation format to convey P2SH HD chains? For example, to give someone who wants to make recurring payments a single token that can be used to generate many P2SH addresses paying to a multisig script.

Re: [Bitcoin-development] Serialised P2SH HD chains

2014-12-04 Thread Michael Perklin
Luke, Eric Lombrozo is doing work similar to that. You may wish to connect. He's building a BIP to standardize a multisig application of BIP32. Like there are xprv and xpubs for single keychains, he is developing a similar construct that would embed all information necessary for a multisig xpub

Re: [Bitcoin-development] Serialised P2SH HD chains

2014-12-04 Thread Peter Todd
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 4 December 2014 20:02:17 GMT+00:00, Jeffrey Paul j...@eeqj.com wrote: On 20141204, at 07:42, Luke Dashjr l...@dashjr.org wrote: Is anyone working on a serialisation format to convey P2SH HD chains? For example, to give someone who wants to

Re: [Bitcoin-development] Serialised P2SH HD chains

2014-12-04 Thread Luke Dashjr
On Thursday, December 04, 2014 8:02:17 PM Jeffrey Paul wrote: What is the use case for something like this? It’s my impression that a single token that can be used to obtain many P2SH addresses paying to a multisig script looks something like