Last active
July 14, 2020 20:54
-
-
Save petejkim/45e251d89c635c5ac97fbee96d1386b7 to your computer and use it in GitHub Desktop.
Introduction to Building on DeFi with Ethereum and USDC - Part 1 - createWallet.js
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 wallet = ethers.Wallet.createRandom(); | |
console.log(`Mnemonic: ${wallet.mnemonic.phrase}`); | |
console.log(`Address: ${wallet.address}`); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment