-
-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Portuguese wordlist #19
Conversation
yes, a script that downloads bip39 wordlists from the urls and verifies them would be great |
I've added a little script to fetch a specific language's wordlist and wrap this into a Also noticed that there currently is a naming mismatch with https://github.com/bitcoin/bips/tree/master/bip-0039 for the Chinese wordlists. |
Thanks, that looks great. I prefer dashes to underscores. We can just replace underscores with dashes in the download script. |
Ok, can live with that. What about the order of language name and variety? Swap those around too? |
On one hand, I won't mind adding aliases if this makes people life comfy. On the other hand, we say "simplified chinese" and not "chinese simplified" in life. So, up to you. In any case we won't have underscore names so there won't be 1:1 mapping even if we add aliases. |
Yes, I agree, am also in favor of readability. The script now swaps the language and variety around. Adding aliases seems overkill to me. Please review and let me know if any more changes are necessary. |
Thanks! Looking great. The next step would be to check validity in CI. Maybe a check on every commit is overkill and limiting it to releases is ok. On the other hand the library is feature complete and rarely updated so we may as well keep it to commits. I will work on it whenever i'll have time - if anyone wants to help its also cool |
Validity checks during build / CI would be nice, yes Some other things I was thinking of:
Will have a deeper look into it when I have time. Thanks for merging and closing this PR. |
Wordlist fetched from https://raw.githubusercontent.com/bitcoin/bips/master/bip-0039/portuguese.txt. And manually wrapped in Typescript
const
and.split()
.