Is there a way to find out whether it's the first derived address or not? I do have the wallet in my Ledger desktop app. I also have the xpub but wasn't 100% certain I got it the correct way so thought using the address would be better.
If ledger Live can show the address' derivation path, the first address should have "
/0" at the end of the path, the 2nd address has "
/1" and so on.
But if there's no way to show it, the xpub should do.
Use an offline machine for privacy reasons and load/import it in any tool/wallet that supports xpub.
E.g.: in Electrum, restore it in "
new/restore" menu or "
Install Wizard" by selecting "
Standard wallet->Use a master key".
for xpub, Electrum will restore it as p2pkh so it'll restore addresses that starts with '1'. If your addresss starts with 'bc1q',
convert the xpub first in the console (
View->Show Console) into zpub via command:
convert_xkey(xkey="xpub...",xtype="p2wpkh")Finish creating the wallet, enable the 'Addresses' tab (
Show->View Addresses) and open it.
Then the addresses with green highlight are your receiving addresses and it's should be in the correct arrangement by address_index.
To make sure, right click on the address and select "
Details", the derivation path for the first address from the extended pubKey should be
m/0/0.