Skip to content

Commit

Permalink
feat(mnemonic): added Portuguese wordlist
Browse files Browse the repository at this point in the history
  • Loading branch information
Falci committed Aug 29, 2022
1 parent ab8b151 commit ff4bab1
Show file tree
Hide file tree
Showing 5 changed files with 2,058 additions and 0 deletions.
1 change: 1 addition & 0 deletions lib/hd/mnemonic.js
Original file line number Diff line number Diff line change
Expand Up @@ -484,6 +484,7 @@ Mnemonic.languages = [
'french',
'italian',
'japanese',
'portuguese',
'spanish'
];

Expand Down
2 changes: 2 additions & 0 deletions lib/hd/wordlist-browser.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ exports.get = function get(name) {
return words.italian;
case 'japanese':
return words.japanese;
case 'portuguese':
return words.portuguese;
case 'spanish':
return words.spanish;
default:
Expand Down
2 changes: 2 additions & 0 deletions lib/hd/wordlist.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ exports.get = function get(name) {
return require('./words/italian.js');
case 'japanese':
return require('./words/japanese.js');
case 'portuguese':
return require('./words/portuguese.js');
case 'spanish':
return require('./words/spanish.js');
default:
Expand Down
1 change: 1 addition & 0 deletions lib/hd/words/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,5 @@ exports.english = require('./english.js');
exports.french = require('./french.js');
exports.italian = require('./italian.js');
exports.japanese = require('./japanese.js');
exports.portuguese = require('./portuguese.js');
exports.spanish = require('./spanish.js');
Loading

0 comments on commit ff4bab1

Please sign in to comment.