Last active
July 24, 2022 15:19
-
-
Save magicsih/49a4d4922a353389633a095aa5b4b8f3 to your computer and use it in GitHub Desktop.
Generate random mnemonic.
This file contains hidden or 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
| const ethers = require('ethers'); | |
| const mnemonic = await ethers.utils.HDNode.entropyToMnemonic(ethers.utils.randomBytes(16)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment