The good thing is, in 2012 the developer Pieter Wuille designed the BIP32 specification at the base with the hierarchical deterministic wallets. Collectively with it, Pieter made a mathematical perform to make a learn key from which to derive all other keys within a deterministic way. The usage of BIP44 https://giphy.com/channel/prickaxfja