Skip to content

Instantly share code, notes, and snippets.

@miguelmota
Last active December 3, 2019 01:40
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/c70c576527e219cc01dfe0830cfd77e2 to your computer and use it in GitHub Desktop.
Save miguelmota/c70c576527e219cc01dfe0830cfd77e2 to your computer and use it in GitHub Desktop.
JavaScript entropy seed to bip39 mnemonic
const bip39 = require('bip39')
const entropy = '30d1bd7478be8ec6cc094012bd0b669668ff2d8127e33e279fc8917d1d425ab5'
const mnemonic = bip39.entropyToMnemonic(entropy)
console.log(mnemonic) // cotton mistake fringe vapor trophy gloom coral chimney bargain tribe super coast morning nothing afraid wise dilemma diagram vendor carry spike patrol hello physical
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment