Skip to content

Instantly share code, notes, and snippets.

@xbklairith
Created March 26, 2024 05:20
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 xbklairith/6379513213a7a928a75f050e92d8623c to your computer and use it in GitHub Desktop.
Save xbklairith/6379513213a7a928a75f050e92d8623c to your computer and use it in GitHub Desktop.
Generate bitcoin hardware wallet seed
#pip install mnemonic
from mnemonic import Mnemonic
mnemo = Mnemonic("english")
words = mnemo.generate(strength=256)
# words is 'police you depend enemy cash culture snap east borrow maximum loop code reduce decorate conduct plunge deny rotate inner flower then insane cheese assume'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment