Derive LTC Segwit (M-Address) private key from Trezor So I'm trying to get my head around this!


I've got my 24 seed for my Trezor.
I got my Segwit account for LTC (Address starts with M).
I also have the P2H equivalent for my address (Starts with 3).


How do I derive using the BIP39? I tried, and I ended up with addresses that start with L. (Legacy ones).

m/49'/2'/0'/0    --> this one is for M Segwit LTC 
m/44'/2'/0'/0    ---> this one is for Legacy LTC
When you are deriving addresses, you are actually deriving private or public keys from which an address is derived. However addresses are actually an encoding of what type of script to use in the output, but private keys have no concept of what scripts are. So when you derive your keys, they don't specify what type of address to create. Each private key can actually correspond to multiple addresses.

To specify what kind of address to create, your wallet software must be able to understand what the derivation paths mean or be able to be told what kind of address to be created. Just using a derivation path for keys which were used to derive one type of address does not mean that all software will create the same addresses.

You will need to use a software that knows how to create the address type you want and then you need to be able to tell it to do that.