nodejs ethereum wallet generate code example
Example: nodejs generate ethereum address
import { ethers } from 'ethers';
const randomMnemonic = ethers.Wallet.createRandom().mnemonic;
const wallet = ethers.Wallet.fromMnemonic(randomMnemonic.phrase);
import { ethers } from 'ethers';
const randomMnemonic = ethers.Wallet.createRandom().mnemonic;
const wallet = ethers.Wallet.fromMnemonic(randomMnemonic.phrase);