Commit graph

31 commits

Author SHA1 Message Date
c69f7e52d3
mmgen-autosign: forbid use of --xmrwallets in non-setup context 2026-05-07 17:52:59 +00:00
f840069ecb
update copyright dates 2026-02-11 13:02:12 +00:00
d8439ba691
XMR compat: addrimport support
Example (assumes --autosign):

    $ mmgen-addrimport --coin=xmr

Testing/demo:

    $ test/cmdtest.py --coin=xmr -e -X addrimport_alice2 xmr_compat

More info:

    $ mmgen-addrimport --help
2026-02-06 10:14:25 +00:00
4a4b814935
XMR compat: export outputs files during TX creation
Formerly, users were required to run `mmgen-xmrwallet export-outputs` at
the beginning of each XMR autosigning session.  This patch eliminates that
requirement when transacting via the compatibility layer.
2026-02-02 09:56:58 +00:00
80d122a1d8
XMR compat: allow sweep transaction to empty account (bugfix) 2026-02-02 09:56:58 +00:00
392b3700af
mmgen-txsend: new process_tx() function: tx.online: cleanups 2026-02-01 09:11:08 +00:00
41d705ec6e
xmrwallet create_offline: use existing key-address file if present 2026-02-01 09:11:08 +00:00
e69dfbe8f3
XMR compat: transaction status support
Examples:

    # after sending XMR transaction:
    $ mmgen-txsend --status
    $ mmgen-txsend --status --verbose

Testing/demo:

    $ test/cmdtest.py --coin=xmr -e -X alice_txstatus3 xmr_compat
2026-01-28 12:24:36 +00:00
907bdc2bdf
XMR compat: sweep transactions
Example:

    # Invoking `mmgen-txcreate` without arguments activates the sweep function-
    # ality.  Type ā€˜S’ (account sweep) or ā€˜s’ (address sweep) to begin creating
    # the transaction:
    $ mmgen-txcreate --coin=xmr

Testing/demo:

    $ test/cmdtest.py --coin=xmr -e -X alice_twview_chk4 xmr_compat
2026-01-26 10:56:21 +00:00
71b3083678
cmdtest.py xmr_compat: cleanups 2026-01-26 10:56:21 +00:00
0c0a8626ad
proto.xmr.tw.view: new get_label_from_user(), choose_wallet() methods 2026-01-26 10:56:21 +00:00
7b53f4337f
XMR compat: address/account creation
Example:

    # Press ā€˜N’ or ā€˜n’ at the prompt to create new account or address:
    $ mmgen-tool --coin=xmr listaddresses interactive=1

Testing/demo:

    $ test/cmdtest.py --coin=xmr -e xmr_compat
2026-01-21 09:06:50 +00:00
e8ca36af44
test/cmdtest.py xmr_autosign: cleanups 2026-01-21 09:06:50 +00:00
496c817b9c
minor cleanups 2026-01-21 09:06:44 +00:00
cb99e13cd5
XMR compat: basic transaction support
- This functionality is work-in-progress: sweep transactions, spending to
  MMGen IDs and certain options are not supported yet.

- The `--autosign` option is required.  It may be set in the config file.

- On the offline signing machine, `--xmrwallet-compat` is required, or it
  may be set in the config file.  On the online machine, the option is
  required to permit interoperability with `mmgen-xmrwallet`.

- Note that transactions created with `mmgen-txcreate` must be sent with
  `mmgen-txsend`, not `mmgen-xmrwallet submit`, which looks for signed
  transactions in a different directory on the removable device.

- Signed or unsigned transactions may be aborted with `mmgen-txsend --abort`.

- Compat mode uses `mmgen-xmrwallet` as its backend, and that command is still
  required for all operations beyond simple create-sign-send to address.  For
  details, invoke `mmgen-xmrwallet --help`.

Sample workflow:

    $ mmgen-txcreate --coin=xmr XMR_ADDRESS,AMOUNT

    (remove - insert - wait for signing - remove - insert)

    $ mmgen-txsend

Testing/demo:

    $ test/cmdtest.py --coin=xmr -e xmr_compat
2025-12-01 16:54:36 +00:00
24a22e63e1
whitespace, minor cleanups 2025-12-01 16:54:30 +00:00
32595f621b
whitespace, string formatting, minor fixes and cleanups 2025-11-29 09:12:49 +00:00
acee3606af
proto.xmr.tw.addresses: implement account-based display 2025-11-29 09:12:49 +00:00
be17d06708
proto.xmr.tw.view: add age sort, locked balance display
NOTE: Age sort is meaningful only for addresses with 10 or fewer confirmations.
2025-11-27 11:36:51 +00:00
ba732b4610
cmdtest.py xmr_compat: cleanups 2025-11-27 11:34:10 +00:00
1132d0ff6b
proto.xmr.tw.unspent: implement account-based view
Example:

    $ mmgen-tool --coin=xmr twview interactive=1

Testing/demo:

    $ test/cmdtest.py -ne xmr_compat
2025-11-24 12:48:48 +00:00
bdd7dd3393
XMR compat: support tracking wallet views
- all operations, including label editing and balance refresh, supported
- requires --autosign
- enables --xmrwallet-compat, meaning Monero watch-only wallets must be
  located in ~/.mmgen/altcoins/xmr/tracking-wallets

This is a work in progress, UI will undergo changes.

Examples:

    $ mmgen-tool --coin=xmr listaddresses interactive=1
    $ mmgen-tool --coin=xmr twview interactive=1

Testing:

    $ test/cmdtest.py -ne xmr_compat
2025-11-22 09:04:09 +00:00
040671bb06
minor cleanups 2025-11-22 09:04:09 +00:00
8a750259b9
mmgen-xmrwallet: new dump-json operation 2025-11-22 09:04:08 +00:00
fd65ae6660
whitespace, minor fixes 2025-11-22 09:04:04 +00:00
851335106f
cmdtest.py xmr_autosign: support compat mode testing
Testing:

    # Compat mode is now enabled by default:
    $ test/cmdtest.py -ne xmr_autosign

    # The old testing behavior is also supported:
    $ test/cmdtest.py -ne xmr_autosign_nocompat
2025-11-15 09:50:21 +00:00
4a24d2153c
minor whitespace, cleanups 2025-11-15 09:50:21 +00:00
f0dfb8e4c1
cmdtest.py xmr_autosign: whitespace, variable renames 2025-11-15 09:50:21 +00:00
4749fe660b
test suite: minor cleanups (async_run) 2025-10-01 15:30:56 +00:00
dc3df437ab
cmdtest.py: make test methods async where applicable 2025-10-01 15:30:56 +00:00
b2e210485f
test/cmdtest_d: remove prefixes on files 2025-03-29 09:30:15 +00:00
Renamed from test/cmdtest_d/ct_xmr_autosign.py (Browse further)