iancoleman / bip39

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

BIP85 derived mnemonics only show in English language #459

Open iancoleman opened 3 years ago

iancoleman commented 3 years ago

BIP85 derived mnemonics only show in English no matter which other language is selected.

See https://github.com/iancoleman/bip39/commit/ac7f150a798d9edb9ce7506e60c03ed1f33ebaa2 for the related test.

@AndreasGassmann can you please have a check of non-English BIP85 mnemonics and double check I'm not missing something obvious? I had a quick look in BIP85 lib but I couldn't find tests for deriving mnemonics in other languages so it was not clear to me where to begin.

If possible it would be handy to use the global WORDLISTS[language_str] variable (see wordlist_*.js in src/js) to avoid duplicating the wordlists.

AndreasGassmann commented 3 years ago

I will take at this now.