ethers.js/src.ts/wordlists/index.ts
2023-02-12 21:21:11 -05:00

27 lines
1010 B
TypeScript

/**
* A Wordlist is a set of 2048 words used to encode private keys
* (or other binary data) that is easier for humans to write down,
* transcribe and dictate.
*
* The [[link-bip-39]] standard includes several checksum bits,
* depending on the size of the mnemonic phrase.
*
* A mnemonic phrase may be 12, 15, 18, 21 or 24 words long. For
* most purposes 12 word mnemonics should be used, as including
* additional words increases the difficulty and potential for
* mistakes and does not offer any effective improvement on security.
*
* There are a variety of [[link-bip39-wordlists]] for different
* languages, but for maximal compatibility, the
* [English Wordlist](LangEn) is recommended.
*
* @_section: api/wordlists:Wordlists [about-wordlists]
*/
export { Wordlist } from "./wordlist.js";
export { LangEn } from "./lang-en.js";
export { WordlistOwl } from "./wordlist-owl.js";
export { WordlistOwlA } from "./wordlist-owla.js";
export { wordlists } from "./wordlists.js";