The good thing is, in 2012 the developer Pieter Wuille created the BIP32 specification at The bottom of the hierarchical deterministic wallets. Jointly with it, Pieter developed a mathematical function to make a master essential from which to derive all other keys within a deterministic way. Using BIP44 with BIP32 https://www.livebinders.com/b/3631513?tabid=7dd978d9-81c0-05c0-ecba-7d3b4f616e73