Post
Topic
Board Development & Technical Discussion
Merits 2 from 2 users
Re: how many public address we can found into memonics 12 word ?
by
o_e_l_e_o
on 23/12/2023, 14:59:48 UTC
⭐ Merited by Zaguru12 (1) ,Cricktor (1)
Here's a previous answer I gave to this question:

Well, as per BIP32, extended keys have 1 byte for the level they are at. 0x00 for the master key, 0x01 for the first level, 0x02 for the second level, and so on, up to 0xFF. This means you can have a total of 255 levels after the m. It also allows 4 bytes for the index. This means a total of 232 possible indices for each of those 255 levels. So a single seed phrase can generate (232)255 + (232)254 + (232)253 + (232)252 + .... private keys. This number works out at 2.5*102456, which is many orders of magnitude higher than the set of all possible private keys (a little less than 2256). This means that not only can any seed phrase (almost certainly) generate any private key at the right derivation path, but any seed phrase can generate any private key billions and billions of times over at many different derivation paths.

The answer is a single seed phrase can generate 2.5*102456 possible child keys when following the BIP32 protocol. This is many orders of magnitude higher than the set of all possible valid private keys, meaning every seed phrase could generate any private key if you had the "right" derivation path.