Created
April 15, 2021 20:57
-
-
Save placecodex/9e97e15a8cf8b789efc88c6bd5d58b74 to your computer and use it in GitHub Desktop.
generate ethereum account, wallet, address
This file contains 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
npm i [email protected] | |
var Wallet = require('ethereumjs-wallet'); | |
const EthWallet = Wallet.generate(); | |
console.log("address: " + EthWallet.getAddressString()); | |
console.log("privateKey: " + EthWallet.getPrivateKeyString()); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment