mmgen-wallet/test/unit_tests_d
The MMGen Project cfa16418b3
limited Monero mnemonic seed phrase ('xmrseed') support
- only 256-bit (25-word) new-style mnemonics are supported

Testing:

  $ test/unit_tests.py baseconv
  $ test/tooltest2.py hex2mn mn2hex
  $ test/scrambletest.py pw
  $ test/test.py ref_xmrseed_25_passwdgen_3
  $ test/test.py ref_passwdfile_chk_xmrseed_25

The following operations are supported:

  Generate a random Monero mnemonic:

  $ mmgen-tool mn_rand256 fmt=xmrseed

  Generate a Monero mnemonic from hexadecimal data:

  $ mmgen-tool hex2mn deadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeef fmt=xmrseed

  Convert the resulting mnemonic back to hexadecimal data:

  $ mmgen-tool mn2hex 'viewpoint donuts ardent template unveil agile meant unafraid urgent athlete rustled mime azure jaded hawk baby jagged haystack baby jagged haystack ramped oncoming point template' fmt=xmrseed

  Note that the result of the reversal does not match the original input.  This
  is because input data is reduced to a spendkey before conversion so that a
  canonical seed phrase is produced.  This is required because Monero seeds,
  unlike ordinary wallet seeds, are tied to a concrete key/address pair.  The
  spendkey can be generated directly using the `hex2wif` command:

  $ mmgen-tool --coin=xmr hex2wif deadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeef

  Generate a list of passwords in Monero mnemonic format with ID 'mymonero':

  $ mmgen-passgen -f xmrseed 'mymonero' 1-10
2020-02-12 10:38:11 +00:00
..
__init__.py modularize unit_tests.py 2019-05-14 10:42:06 +03:00
ut_baseconv.py limited Monero mnemonic seed phrase ('xmrseed') support 2020-02-12 10:38:11 +00:00
ut_bip39.py bip39 and baseconv unit tests: reformat bad input data 2019-10-26 11:43:18 +00:00
ut_indexed_dict.py unit_tests.py: new UnitTestHelpers class 2019-10-24 18:30:23 +00:00
ut_scrypt.py unit_tests.py: new UnitTestHelpers class 2019-10-24 18:30:23 +00:00
ut_seedsplit.py unit_tests.py: new UnitTestHelpers class 2019-10-24 18:30:23 +00:00
ut_subseed.py unit_tests.py: new UnitTestHelpers class 2019-10-24 18:30:23 +00:00
ut_tx_deserialize.py global rename: Daemon -> CoinDaemon 2020-02-08 17:58:56 +00:00