iancoleman / bip39

A web tool for converting BIP39 mnemonic codes
https://iancoleman.io/bip39/
MIT License
3.52k stars 1.44k forks source link

Add BNB Coin #407

Closed leonewton253 closed 4 years ago

leonewton253 commented 4 years ago

Can you add BNB addresses?

Thanks!

iancoleman commented 4 years ago

Please ask BNB community to submit a pull request adding this coin.

mvillalba commented 4 years ago

Would you accept this from someone else? I'll take a crack at it if so.

I was just playing with this and I don't think it'd be too hard to add. Setting the coin to ETH and the correct derivation path in the BIP32 tab will give you valid priv/pub key pairs (that TrustWallet will accept, resulting in the expected BNB addresses). Basically, all you are missing is a pubkey->BNB address function and some glue code.

iancoleman commented 4 years ago

Usually most altcoin additions are accepted, feel free to submit a PR. The main thing that prevents it or slows it is if there are significant new external libraries needed.