scgbckbone / btc-hd-wallet

Bitcoin Hierarchical Deterministic wallet
MIT License
37 stars 14 forks source link

Add Electrum type seed support #3

Open mrx23dot opened 1 year ago

mrx23dot commented 1 year ago

Electrum wallet calculates seed differently from mnemonics.

eg: "pilot aerobic kitchen armor gallery tell congress tower dove table please saddle" derivation path of: m/0/0 is bc1q59vf7wl76f2y5c32jnnkrpnfzpevq7a6zl9llx

but with BIP39 it's bc1q6t3jrdwsengd5dv3k5dx877y8lazpr7vkmdp4k

API could be: BaseWallet.from_mnemonic(mnemonic=words, type='electrum')

scgbckbone commented 1 year ago

hey, electrum decided to go with their own standards - I'm not planning on implementing it... If you need it, submit a PR please