I’m working on a multi-platform app with wallet functionalities. One of the things it does, is to allow users to “restore” their wallet account using the mnemonic phrase.
So far, I’ve been able to derive the stake address from a mnemonic phrase using cardano-serialization-lib. And from there, I know I can query db-sync
to get all the addresses related to this stake addr and work out the total balance of the wallet from there.
But what about the UTXOs that are contained in payment addresses
that weren’t generated using the stake key of the account? And I’ve also just recently learned about these pointer
addresses that are also not associated with stake addresses.
What is the best way to retrieve the entire history of an account from only the mnemonic phrase?
UPDATE: studying CIP1852 and BIP44 right now… seems like the answer to my question is here in these docs.