Skip to content

Instantly share code, notes, and snippets.

@sentilesdal
Created March 22, 2023 01:36
Show Gist options
  • Save sentilesdal/3e6dff45780d8aae59137bce89b5c0e3 to your computer and use it in GitHub Desktop.
Save sentilesdal/3e6dff45780d8aae59137bce89b5c0e3 to your computer and use it in GitHub Desktop.
const ethers = require('ethers');
let mnemonic = "YOUR MNEMONIC";
let mnemonicWallet = ethers.Wallet.fromMnemonic(mnemonic);
console.log(mnemonicWallet.privateKey);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment