electrum icon indicating copy to clipboard operation
electrum copied to clipboard

BIP44 wallet

Open inaltoasinistra opened this issue 10 years ago • 11 comments

I think that Electrum should support BIP44 in the future. I think that interoperability among wallets is important. I imagine a future where I could import my seed in every wallet. Moreover this multi-account is a great feature too. Did you discussed in the past about BIP44 and BIP39 implementation? I guess yes. What are the central points? I think that introduce BIP39 at this point it is not easy for backward compatibility reasons; and for BIP44? Thank you

inaltoasinistra avatar Jan 04 '16 16:01 inaltoasinistra

I already discussed BIP44 and BIP39; I do not like them. The authors of BIP39 initially listed me as a co-author of the BIP, and I had to ask to have my name removed from it.

BIP44 creates multiple accounts with hardened derivations. Here is what I don't like about it:

  1. Electrum already allows you to create multiple wallet files. This covers the functionality of accounts, although with a different seed each time. (note: if multiple seeds is a problem, we can add support for multiple wallets that share the same seed, using a password protected derivation).
  2. Multiple accounts complicate the user experience. I prefer to keep Electrum simple. If we support multiple wallet files AND wallets with multiple accounts, we have two levels of hierarchy. This makes the user experience much more complex, with no obvious benefit.
  3. If people use the same wallet on several devices, a wallet with multiple accounts cannot synchronize itself with other instances without the password. Of course the wallet could detect that a new account is funded, but then it would need to request the password in order to create the next account. I do not feel comfortable with software that requests the users password without the user initiating any action; this seems prone to attacks.

Note: of course you don't have issue 3 with hardware wallets. It is no surprise that bip44 was proposed by the trezor team.

ecdsa avatar Jan 04 '16 19:01 ecdsa

Note on interoperability: Multibit does not support multiple accounts in BIP44, see https://multibit.org/en/help/hd0.1/how-spv-works.html

ecdsa avatar Jan 04 '16 19:01 ecdsa

I agree with ThomasV here. However restoring a hardware wallet essentially gives you what you want, but we don't want to encourage people to create BIP44 wallets.

kyuupichan avatar Jan 05 '16 10:01 kyuupichan

I'll close this given ThomasV's views.

kyuupichan avatar Jan 05 '16 10:01 kyuupichan

I would like to re-open this issue.

I will be using Electrum on a server (Linux), and need to generate millions of btc addresses. A single wallet will not handle that many, can you add an option to create multiple accounts that share the same seed / xpub ?

bsbits avatar May 05 '17 16:05 bsbits

A single account can hold over 2 billion addresses.

dabura667 avatar May 05 '17 17:05 dabura667

@dabura667 won't it be an issue for a single electrum wallet to manage a very high amount of bitcoin addresses ?

Assuming I restore the wallet on my computer, it won't find the btc till I regenerate the millions of addresses, and this will consume time and resources.

bsbits avatar May 05 '17 17:05 bsbits

Assuming I restore the wallet on my computer, it won't find the btc till I regenerate the millions of addresses, and this will consume time and resources.

Which is how the current wallet works. In order to create separate accounts you need to create separate wallet files.

This issue is about creating multiple accounts in one big wallet file which is the same thing effectively as generating a bunch of addresses in one account.

Your issue is wanting multiple wallet files, which is already possible.

dabura667 avatar May 06 '17 01:05 dabura667

Sounds fair, I never thought using BIP44 will consume the same resources as a single wallet.

bsbits avatar May 06 '17 02:05 bsbits

Hello, tell me. The BIP 44 protocol makes it possible to use 1 recovery phrase for any wallets that support this protocol, right? those wallets of different services such as Blockchain.info and BTC.com can be absolutely independent of each other and have different passwords, but open with the same recovery phrase? Really looking forward to your reply.

TayaAfi avatar Aug 21 '17 09:08 TayaAfi

Use different derivation paths, problem solved.

Transisto avatar Nov 28 '20 03:11 Transisto