The good news is, in 2012 the developer Pieter Wuille designed the BIP32 specification at The bottom in the hierarchical deterministic wallets. Alongside one another with it, Pieter developed a mathematical function to make a learn critical from which to derive all other keys in a deterministic way. Using BIP44 https://webookmarks.com/story4432373/the-ultimate-guide-to-bip39-seed-phrase-github