How can I generate mnemonic in ethers v6 ? #4605
-
Describe the FeatureHi there, How can I do the same using v6 ? I don't see any Code Example
|
Beta Was this translation helpful? Give feedback.
Answered by
ricmoo
Feb 15, 2024
Replies: 1 comment 1 reply
-
All the Mnemonic APIs have been added to the Mnemonic class to reduce namespace pollution. So, you can use |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
bhavya3024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
All the Mnemonic APIs have been added to the Mnemonic class to reduce namespace pollution.
So, you can use
Mnemonic.entropyToPhrase(entropy)
to accomplish the same thing in v6.