bitpay / bitcore-wallet-service

A multisig, HD Bitcoin and Bitcoin Cash wallet service. Used by Copay.
https://copay.io/
MIT License
622 stars 547 forks source link

Allow an xpubkey to be associated with multiple wallets #592

Open bitjson opened 8 years ago

bitjson commented 8 years ago

This issue: https://github.com/bitpay/copay/issues/4899 could be best-solved by making it possible for BWS to support the same xpubkey being used across multiple wallets. Can we remove this limitation?

isocolsky commented 8 years ago

Extended public keys are currently used as ID for copayers. This is done so no other piece of data is required to recover access to a wallet. If the goal is to allow users to reuse a 12 words phrase on different wallets, we need to make it easy to specify/manage BIP44 account numbers.

Edit: the account number approach also has the advantage of working for multiple 1-of-1 wallets.