bitcoinjs / bitcoinjs-lib

A javascript Bitcoin library for node.js and browsers.
MIT License
5.65k stars 2.09k forks source link

Generate multiple addresses from multisig #1173

Closed tgcandido closed 5 years ago

tgcandido commented 6 years ago

Greetings

I followed the Generate a 2-of-3 P2SH multisig address example and it worked just fine for generating a single address. I would like to know if it's possible to generate multiple addresses from the same multisig wallet with bitcoinjs-lib, like the Electrum wallet does.

Thanks

dcousens commented 6 years ago

What do you mean by multisig wallet?

junderw commented 6 years ago

@tgcandido yes it is.

You would need 3 extended public keys for the 3 signers. But it is possible.

Check the BIP32 repository.

junderw commented 5 years ago

Please re-open if you are having trouble.

The question is answered.