ethers.js/packages/wordlists/src.ts/index.ts

32 lines
690 B
TypeScript
Raw Normal View History

2019-05-15 01:25:46 +03:00
"use strict";
// Wordlists
// See: https://github.com/bitcoin/bips/blob/master/bip-0039/bip-0039-wordlists.md
import { Wordlist } from "./wordlist";
import { langEn as en } from "./lang-en";
import { langEs as es } from "./lang-es";
import { langFr as fr } from "./lang-fr";
import { langJa as ja } from "./lang-ja";
import { langKo as ko } from "./lang-ko";
import { langIt as it } from "./lang-it";
import { langZhCn as zh_cn, langZhTw as zh_tw } from "./lang-zh";
2019-05-15 01:25:46 +03:00
const wordlists: { [ locale: string ]: Wordlist } = {
en: en,
es: es,
fr: fr,
it: it,
ja: ja,
ko: ko,
zh: zh_cn,
zh_cn: zh_cn,
zh_tw: zh_tw
};
2019-05-15 01:25:46 +03:00
export {
Wordlist,
wordlists
2019-05-15 01:25:46 +03:00
}