The good news is, in 2012 the developer Pieter Wuille made the BIP32 specification at The bottom on the hierarchical deterministic wallets. With each other with it, Pieter developed a mathematical functionality to make a learn essential from which to derive all other keys in the deterministic way. Using BIP44 https://www.metal-archives.com/users/hronouamvj