0.0.5 • Published 6 years ago

ascii-mnemonic v0.0.5

Weekly downloads
3
License
ISC
Repository
github
Last release
6 years ago

mnemonic.js

Implementation of Electrum's mnemonic in JavaScript

Options:

    -V, --version  output the version number
    --ascii        input/output is ASCII
    --words        generate a new words list
    -h, --help     output usage information

usage

  • encode hex number to mn
$ mnemonic 0x123a
# never simply revenge help
$ mnemonic 123a
# never simply revenge help
  • decode mn to hex number
$ mnemonic never simply revenge help
# 123a
  • encode and decode with ascii code
$ mnemonic --ascii abcde
# time became sigh stole tired pass swallow
$ mnemonic --ascii time became sigh stole tired pass swallow
# abcde

generate words list to local path or HOME path

mnemonic.js will search the word list in local path or HOME path

  • ./.mnemonic.json > ~/.mnemonic.json > buildin words list
$ mnemonic --words > .mnemonic.json
$ mnemonic --words > ~/.mnemonic.json
0.0.5

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago