diff --git a/.changeset/serious-rockets-explode.md b/.changeset/serious-rockets-explode.md new file mode 100644 index 0000000000..0afab64773 --- /dev/null +++ b/.changeset/serious-rockets-explode.md @@ -0,0 +1,5 @@ +--- +"viem": patch +--- + +Exported `portuguese` wordlist. diff --git a/site/pages/docs/accounts/local/mnemonicToAccount.md b/site/pages/docs/accounts/local/mnemonicToAccount.md index 5e4fd1edb2..81d3b5e826 100644 --- a/site/pages/docs/accounts/local/mnemonicToAccount.md +++ b/site/pages/docs/accounts/local/mnemonicToAccount.md @@ -56,6 +56,7 @@ Available wordlists: - `italian` - `japanese` - `korean` +- `portuguese` - `simplifiedChinese` - `spanish` - `traditionalChinese` diff --git a/src/accounts/index.test.ts b/src/accounts/index.test.ts index 92fd6db4be..bb3be338d6 100644 --- a/src/accounts/index.test.ts +++ b/src/accounts/index.test.ts @@ -12,6 +12,7 @@ test('exports utils', () => { "italian", "japanese", "korean", + "portuguese", "simplifiedChinese", "spanish", "traditionalChinese", diff --git a/src/accounts/index.ts b/src/accounts/index.ts index 9f58cc626a..8b1a533754 100644 --- a/src/accounts/index.ts +++ b/src/accounts/index.ts @@ -8,6 +8,7 @@ export { wordlist as french } from '@scure/bip39/wordlists/french' export { wordlist as italian } from '@scure/bip39/wordlists/italian' export { wordlist as japanese } from '@scure/bip39/wordlists/japanese' export { wordlist as korean } from '@scure/bip39/wordlists/korean' +export { wordlist as portuguese } from '@scure/bip39/wordlists/portuguese' export { wordlist as simplifiedChinese } from '@scure/bip39/wordlists/simplified-chinese' export { wordlist as spanish } from '@scure/bip39/wordlists/spanish' export { wordlist as traditionalChinese } from '@scure/bip39/wordlists/traditional-chinese'