3.7 KiB
3.7 KiB
Manual transacting | Autosigning v1 | Autosigning v2
For most situations, Version 2 autosigning is the best way to transact with MMGen Wallet.
Transacting, the manual way
Transacting manually involves the following steps:
Preparation of signing session:
- Boot and log in to offline signing machine
Transacting:
- On online machine, create transaction with
mmgen-txcreate(ormmgen-swaptxcreate) - Insert removable device
- Mount removable device
- Copy transaction file to removable device
- Unmount removable device
- Extract removable device and transfer it to offline machine
- Mount removable device
- Locate transaction file on removable device, sign it with
mmgen-txsign - Unmount removable device
- Extract removable device and transfer it to online machine
- Mount removable device
- Locate signed transaction file on removable device, send it with
mmgen-txsend
Admittedly, this is all quite tedious. To simplify the transaction workflow, Version 1 Autosigning was introduced.
Autosigning, Version 1
Here the main innovation was to eliminate keyboard interaction with the offline signing machine during the signing process.
Preparation of signing session:
- Boot and log in to offline signing machine
- Set up autosigning session (
mmgen-autosign setup) - Start signing loop (
mmgen-autosign wait)
Transacting:
- On online machine, create transaction with
mmgen-txcreate(ormmgen-swaptxcreate) - Insert removable device
- Mount removable device
- Copy transaction file to
/mnt/mmgen_autosign/txon removable device (or/mnt/mmgen_autosign/xmr/txfor Monero) - Unmount removable device
- Extract removable device and transfer it to offline machine
- Wait for autosigning to complete
- Extract removable device and transfer it to online machine
- Mount removable device
- Locate signed transaction file on removable device, send it with
mmgen-txsend
Differences compared to manual method:
- signing session preparation involves additional steps
- signing requires no keyboard interaction
- removable device and, for Linux, mountpoints must be prepared as described
in
mmgen-autosign --help
While this is already much better, there was still room for improvement. Enter Version 2 Autosigning.
Autosigning, Version 2
Here the main innovation was to automate all mounting, unmounting, and file copying operations. Version 2 autosigning is sometimes referred to in the program output and documentation by the term “automount”.
Preparation of signing session:
- Same as for Version 1
Transacting:
- On online machine, insert removable device
- Create transaction with
mmgen-txcreate(ormmgen-swaptxcreate) - Extract removable device and transfer it to offline machine
- Wait for autosigning to complete
- Extract removable device and transfer it to online machine
- Send transaction with
mmgen-txsend
Differences compared to Version 1:
- filename arguments are omitted from all commands
- for online operations, the
--autosignoption must be supplied, orautosignset totruein the config file - only one transaction may be created-signed-sent at a time (Version 1 allows for multiple signables per signing operation)
- unsent transactions may be aborted and ranges of sent transactions viewed or
checked for confirmation status (see
mmgen-txsend --help)