electrum_mnemonic.md

February 28, 2026 ยท View on GitHub

Electrum mnemonic library

Electrum wallet uses mnemonics generated with a different algorithm compared to BIP-0039.

The functionalities of this library are the same as the BIP-0039 one but with Electrum-style mnemonics:

  • Generate mnemonics from words number or entropy bytes
  • Validate a mnemonic
  • Get back the entropy bytes from a mnemonic
  • Generate the seed from a mnemonic

Two mnemonic "versions" are supported: