#mnemonic #bip-39 #console

read39

Util for securely reading a BIP39 Mnemonic from stdin

1 unstable release

new 0.1.0 Apr 6, 2025

#3 in #bip-39

MIT license

5KB
55 lines

read39

Util for securely, and (semi-)user-friendly reading a BIP39 Mnemonic phrase from the terminal.

It uses bip0039 to decode the mnemonic, and uses zeroize everywhere to increase security.

Example:

let mnemonic = read39::read_mnemonic_until_ok::<bip0039::English>();

Dependencies

~2.3–9.5MB
~110K SLoC