Skip to content

Instantly share code, notes, and snippets.

@miguelmota
Created June 9, 2021 13:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save miguelmota/e8f27f10d36232a4eddc8e83971fdb33 to your computer and use it in GitHub Desktop.
Save miguelmota/e8f27f10d36232a4eddc8e83971fdb33 to your computer and use it in GitHub Desktop.
Node.js generate ethereum private key using crypto random bytes
console.log(require('crypto').randomBytes(32).toString('hex'))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment