derivation path in address details overloads "m" for root/master key
Electrum 4.5.2 on MacOS (installed from binary provided on official website)
I created a new wallet with standard electrum seed:
enable frozen derive coach ball recall theory soup crystal garage law enjoy
View, Addresses, and then Addresses tab, the first receiving address on the list is:
bc1qaefvm8gm8f92yjyjmsmlm6e3fm388t3n62m22s
However, what bothers me is that when I right mouse click on it, chose Information it says that Derivation Path is:
m/0/0
That is not true. The actual, full BIP32 derivation path that yields this address is:
m/0h/0/0
I don't know, maybe author wanted to just display external and index numbers and intended to skip leading master and account number but something went wrong and master stayed.
Well... m stands for different things in the two contexts.
But yes, maybe it is a bit confusing.
The wallet logic considers the root to be the xprv/xpub that is at the "account" level.
The actual, full BIP32 derivation path that yields this address is:
m/0h/0/0
You can see the derivation prefix being m/0h in the Wallet Information dialog.
However, what bothers me is that when I right mouse click on it, chose Information it says that Derivation Path is:
m/0/0
And then in the Address dialog, the derivation path m is calculated starting at that "prefix".
This is more apparent if you try to restore from e.g. a BIP39/44 seed, which has longer derivation paths.
But yes, maybe it is a bit confusing.
Good to know it is not a bug but then, it is a confusing design. Please consider labeling it differently, adding a tooltip, etc. Thanks.