This repository has been archived by the owner on Mar 11, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Project] Rollback ethersjs to 5.4.7
- Loading branch information
1 parent
750c53d
commit b51c316
Showing
4 changed files
with
416 additions
and
145 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import * as ethers from 'ethers'; | ||
|
||
import { langToWordlist } from './Mnemonic'; | ||
|
||
test('chinese test', () => { | ||
const s = '泰 浸 钉 信 堵 连 掌 仲 司 硬 桥 勾'; | ||
const wl = langToWordlist(s); | ||
console.log(wl, wl.getWord(5)); | ||
expect(wl).toStrictEqual(ethers.wordlists.zh); | ||
}); |
Oops, something went wrong.