Post
Topic
Board Altcoin Discussion
Merits 2 from 2 users
Re: How to generate bnb beacon chain hd wallet from mnemonic 12 words wallet
by
vv181
on 03/02/2023, 05:59:43 UTC
⭐ Merited by Bitcoin_Arena (1) ,Tytanowy Janusz (1)
There isn't much many difference between BNB Beacon Chain with other cryptocurrency address generation processes, in fact, it uses industry standards.

You should have known better that such kind of information is available on their own documentation page. Take a look over https://docs.bnbchain.org/docs/beaconchain/learn/accounts.

To cite it,

Quote
This default wallet would use a similar way to generate keys as Bitcoin, i.e. use 256 bits entropy to generate a 24-word mnemonic based on BIP39, and then use the mnemonic and an empty passphrase to generate a seed; finally use the seed to generate a master key, and derive the private key using BIP32/BIP44 with HD prefix as "44'/714'/", which is reserved at SLIP 44.

And for the address generation using:

Code:
Address_Bech32 = HRP + '1' + bech32.encode(convert8BitsTo5Bits(RIPEMD160(SHA256(compressed public key))))

There are many wallets that support Beacon Chain, so in case you need a code example, browser around over those(https://docs.bnbchain.org/docs/beaconchain/wallets) referred wallets.