Skip to content

Commit

Permalink
initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
KaMeHb-UA committed Nov 2, 2022
0 parents commit bf16fba
Show file tree
Hide file tree
Showing 13 changed files with 5,277 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/package.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Node.js Package

on:
release:
types: [created]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
- run: yarn
- run: yarn build ${{ github.event.release.tag_name }}
- uses: JS-DevTools/npm-publish@v1
with:
token: ${{ secrets.NPM_TOKEN }}
package: ./dist/package.json
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
/dist
/node_modules
21 changes: 21 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2022 Ukrainian Social Platform

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
63 changes: 63 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
# Support Ukraine <img alt="ukraine" height="32" width="32" src="https://github.githubassets.com/images/icons/emoji/unicode/1f1fa-1f1e6.png">

While you're reading this text we're suffering from russia's bombs. Please help us to stand against russia's invasion and prevent World War III. It's pretty easy with **[UNITED24 fundraising platform](https://u24.gov.ua/)**. Thank you!

## Ukrainian Social Platform BIP39 dictionaries

[![License][license_badge]][license] [![Runtime][runtime_badge]][runtime] [![Node.js version][runtime_version_badge]][runtime]
[![Build][build_badge]][build_action] [![GitHub release][release_badge]][releases] [![NPM release][npm_version_badge]][npm_link]

[license_badge]: https://img.shields.io/github/license/ukrainian-social-platform/bip39-dictionaries?logo=data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGZpbGw9Im5vbmUiIHZpZXdCb3g9IjAgMCAyNCAyNCIgc3Ryb2tlPSIjRkZENzAwIj48cGF0aCBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS13aWR0aD0iMiIgZD0iTTMgNmwzIDFtMCAwbC0zIDlhNS4wMDIgNS4wMDIgMCAwMDYuMDAxIDBNNiA3bDMgOU02IDdsNi0ybTYgMmwzLTFtLTMgMWwtMyA5YTUuMDAyIDUuMDAyIDAgMDA2LjAwMSAwTTE4IDdsMyA5bS0zLTlsLTYtMm0wLTJ2Mm0wIDE2VjVtMCAxNkg5bTMgMGgzIi8%2BPC9zdmc%2BCg%3D%3D&label=License&style=flat-square
[runtime_badge]: https://img.shields.io/badge/Runtime-Node.js-339933?logo=nodedotjs&logoColor=339933&style=flat-square
[runtime_version_badge]: https://img.shields.io/badge/dynamic/json?label=Node.js%20version&query=%24.engines.node&url=https%3A%2F%2Fcdn.jsdelivr.net%2Fnpm%2F%40ukrainian-social-platform%2Fbip39-dictionaries%2Fpackage.json&color=339933&logo=nodedotjs&logoColor=339933&style=flat-square
[build_badge]: https://img.shields.io/github/workflow/status/ukrainian-social-platform/bip39-dictionaries/Node.js%20Package?style=flat-square&label=Build&logo=github
[release_badge]: https://img.shields.io/github/v/release/ukrainian-social-platform/bip39-dictionaries?label=GitHub%20release&logo=github&style=flat-square
[npm_version_badge]: https://img.shields.io/npm/v/%40ukrainian-social-platform%2Fbip39-dictionaries?color=cb3837&label=NPM%20release&logo=npm&style=flat-square

[license]: https://github.com/ukrainian-social-platform/bip39-dictionaries/blob/master/LICENSE
[runtime]: https://nodejs.org/
[build_action]: https://github.com/ukrainian-social-platform/bip39-dictionaries/actions/workflows/package.yml
[releases]: https://github.com/ukrainian-social-platform/bip39-dictionaries/releases
[npm_link]: https://www.npmjs.com/package/%40ukrainian-social-platform%2Fbip39-dictionaries


A set of BIP39 dictionaries for Ukrainian Social Platform that's compiled to JS with lazy loading.
Chunked by languages to make only needed data be fetched.
Builds itself using [tsup](https://tsup.egoist.dev).

### Available dictionaries

| Language | Source/Author | License |
|---------------------|-------------------------------------------------------------------------------|----------------------------|
| Chinese Simplified | [bitcoinjs/bip39][chinese_simplified] | [ISC][bitcoinjs/bip39/ISC] |
| Chinese Traditional | [bitcoinjs/bip39][chinese_traditional] | [ISC][bitcoinjs/bip39/ISC] |
| Czech | [bitcoinjs/bip39][czech] | [ISC][bitcoinjs/bip39/ISC] |
| English | [bitcoinjs/bip39][english] | [ISC][bitcoinjs/bip39/ISC] |
| French | [bitcoinjs/bip39][french] | [ISC][bitcoinjs/bip39/ISC] |
| Italian | [bitcoinjs/bip39][italian] | [ISC][bitcoinjs/bip39/ISC] |
| Japanese | [bitcoinjs/bip39][japanese] | [ISC][bitcoinjs/bip39/ISC] |
| Korean | [bitcoinjs/bip39][korean] | [ISC][bitcoinjs/bip39/ISC] |
| Polish | [Karol Trzeszczkowski][KarolTrzeszczkowski] in [bitcoin/bips#1037][polish_pr] | Unlicensed |
| Portuguese | [bitcoinjs/bip39][portuguese] | [ISC][bitcoinjs/bip39/ISC] |
| Spanish | [bitcoinjs/bip39][spanish] | [ISC][bitcoinjs/bip39/ISC] |
| Ukrainian | [Bohdat][Bohdat] in [bitcoin/bips#442][ukrainian_pr] | Unlicensed |


[bitcoinjs/bip39/ISC]: https://github.com/bitcoinjs/bip39/blob/master/LICENSE

[chinese_simplified]: https://github.com/bitcoinjs/bip39/blob/master/src/wordlists/chinese_simplified.json
[chinese_traditional]: https://github.com/bitcoinjs/bip39/blob/master/src/wordlists/chinese_traditional.json
[czech]: https://github.com/bitcoinjs/bip39/blob/master/src/wordlists/czech.json
[english]: https://github.com/bitcoinjs/bip39/blob/master/src/wordlists/english.json
[french]: https://github.com/bitcoinjs/bip39/blob/master/src/wordlists/french.json
[italian]: https://github.com/bitcoinjs/bip39/blob/master/src/wordlists/italian.json
[japanese]: https://github.com/bitcoinjs/bip39/blob/master/src/wordlists/japanese.json
[korean]: https://github.com/bitcoinjs/bip39/blob/master/src/wordlists/korean.json
[portuguese]: https://github.com/bitcoinjs/bip39/blob/master/src/wordlists/portuguese.json
[spanish]: https://github.com/bitcoinjs/bip39/blob/master/src/wordlists/spanish.json

[polish_pr]: https://github.com/bitcoin/bips/pull/1037
[KarolTrzeszczkowski]: https://github.com/KarolTrzeszczkowski

[ukrainian_pr]: https://github.com/bitcoin/bips/pull/442
[Bohdat]: https://github.com/Bohdat
Loading

0 comments on commit bf16fba

Please sign in to comment.