Consider the scenario where I delete my wallet then restore it from the seed phrase. Now all sub-addresses are lost. Then, I recover my sub-addresses by other means (e.g. logs). Can I verify that they actually belong to my wallet, and can I add them back to my wallet to use them again?


When restoring a wallet from seed phrase, you do not lose your subaddresses. This is because subaddresses are deterministically derived from you wallet keys. Therefore there is never a scenario whereby you would need to restore subaddresses "by other means" or " add them back to my wallet". By restoring a wallet, you have all the subaddresses too.

Getting technical, it is also possible to verify if you own a given subaddress. To do this you would need to create all the subaddresses that cover the range of possible indexes of the subaddress you wanted to check for a match. E.g. if you knew your wallet only had 2 accounts and up to 100 subaddresses, you would create the first 100 subaddresses for account 0 and account 1, then one of those will match the address you are checking.

  • An easy way of generating all those subaddresses knaccc subaddress-js module. – Mogens TrasherDK Sep 10 '19 at 0:53
  • I made an offline command-line utility for deriving addresses from mnemonic, seed, or private view key + public spend key. You can generate any number of subaddresses you want. – danda Nov 1 '19 at 22:51

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.