Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How can I generate mnemonic in ethers v6 ? #4604

Closed
bhavya3024 opened this issue Feb 15, 2024 · 0 comments
Closed

How can I generate mnemonic in ethers v6 ? #4604

bhavya3024 opened this issue Feb 15, 2024 · 0 comments

Comments

@bhavya3024
Copy link

bhavya3024 commented Feb 15, 2024

Describe the Feature

Hi there,
Using ethers v5, we can generate mnemonic by following code ib the code example!

How can I do the same using v6 ? I don't see any entropyToMnemonic method in v6.

Code Example

const ethers = require('ethers');
const entropy = ethers.utils.randomBytes(32);
const mnemonic = ethers.utils.entropyToMnemonic(entropy); 
console.log(mnemonic);
@bhavya3024 bhavya3024 added the enhancement New feature or improvement. label Feb 15, 2024
@ricmoo ricmoo removed the enhancement New feature or improvement. label Feb 15, 2024
@ethers-io ethers-io locked and limited conversation to collaborators Feb 15, 2024
@ricmoo ricmoo converted this issue into discussion #4605 Feb 15, 2024

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants