Fortunately, in 2012 the developer Pieter Wuille made the BIP32 specification at the base on the hierarchical deterministic wallets. Together with it, Pieter designed a mathematical functionality to create a grasp key from which to derive all other keys inside a deterministic way. This informative article explains BIP39, the standard https://bookmarkingfeed.com/story18882472/how-much-you-need-to-expect-you-ll-pay-for-a-good-bip39-definition