openethereum / Wordlist
Licence: gpl-3.0
Parity Brain Wallets Word List Library
Stars: ✭ 29
Programming Languages
javascript
184084 projects - #8 most used programming language
Wordlist
Parity Brain Wallets wordlist library
RUST
# Cargo.toml
[dependencies]
parity-wordlist = "1.3"
// main.rs
println!("Words: {}", parity_wordlist::random_phrase(12));
let phrase = "violin oblivion cylinder list disarray wobbly fastball showplace oasis patronize septic spearhead";
println!("Valid: {:?}", parity_wordlist::validate_phrase(phrase, 12));
JavaScript
$ npm i @parity/wordlist --save
// main.js
import { randomPhrase, verifyPhrase } from '@parity/wordlist'
console.log(randomPhrase(12))
// This will throw if the phrase is not valid:
verifyPhrase("violin oblivion cylinder list disarray wobbly fastball showplace oasis patronize septic spearhead", 12)
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].