iancoleman / bip39

A web tool for converting BIP39 mnemonic codes
https://iancoleman.io/bip39/
MIT License
3.53k stars 1.44k forks source link

Add a button to remove the "change" in the derivation path for ethereum #371

Closed immae closed 4 years ago

immae commented 4 years ago

This PR adds a (discreet) button to disable the "change" part for Ethereum networks. It also makes filling this field not mandatory to build the derivation path: it will be ignored if empty instead of taking it as a "0".

For instance, coinomi doesn’t use this field, so the derivations are one depths less than bitcoin-like addresses.

Note: I put the default as "empty" for ethereum addresses, which breaks backward compatibility, but it’s just an initial flag to change to make the default "0" and independent of the usefullness of the rest of the code.