Configurable derivation path for custom RPCs

What

  • MetaMask uses m/44'/60'/0'/0 as the derivation path (BIP44),
    and this value is hardcoded to be the same for all networks.
  • I would like to be able to set a custom value for the derivation path,
    especially when configuring a custom network.

Why

  • This is important because MetaMask is used on other networks (including RSK),
    and these may use different derivation paths.
    • The MetaMask already uses derivation path conforming to the BIP39 and BIP44 standards;
      and its custom network configuration screen already supports specifying different chainIds…
      so it would make sense to allow for custom derivations paths as defined in SLIP0044
      (Registered coin types for BIP44)
  • This is also important for Ethereum users who originally set up their wallets

Refs

  • BIP39, BIP44, SLIP44

(Would add hyperlinks, but new user restrictions! also had to split this post up for some reason)