mmgen-wallet/test/ref/thorchain
Repository files (latest commit first)
Filename Latest commit message Latest commit date
The MMGen Project ea9c2d296e
THORChain XMR swaps
See: ffe488ff, ff35b01c

Enabled for test suite only pending activation on THORChain mainnet.

Swapping to and from ETH and ERC20 tokens is currently untested.

Sample LTC-to-XMR swap workflow (assumes --autosign):

    # Create the registration transaction (pass 1) (amount is optional):
    $ mmgen-swaptxcreate --memoless LTC 5.4321 XMR

    # Autosign the registration transaction and send it:
    $ mmgen-txsend
    => TxID

    # Get the reference number from the THORChain network:
    $ mmgen-remote --coin=rune get_refnum TxID
    => REFNUM

    # Create the swap transaction (pass 2) (amount is optional):
    $ mmgen-swaptxcreate --refnum=REFNUM LTC 5.4321 XMR

    # Sign and send the swap transaction:
    $ mmgen-txsend

    # Monitor your XMR wallet for the funds:
    $ mmgen-tool --coin=xmr twview

Sample XMR-to-LTC swap workflow (assumes --autosign):

    # Create the registration transaction (pass 1) (amount is required):
    $ mmgen-swaptxcreate --memoless XMR 1.2345 LTC

    # Sign and send registration TX and get reference number as shown above

    # Create the swap transaction (pass 2) (amount is required):
    $ mmgen-swaptxcreate --refnum=REFNUM XMR 1.2345 LTC

    # Sign and send the swap transaction as shown above

    # Monitor your LTC wallet for the funds:
    $ mmgen-tool --coin=ltc twview

Testing/demo:

    $ test/cmdtest.py --coin=ltc -e xmrswap

For more information and examples, invoke `mmgen-swaptxcreate --help`

More complete documentation will be provided at a later date.
2026-10-20 17:38:48 +00:00
..
98831F3A-RUNE-X[1,31-33,500-501,1010-1011].addrs support THORChain address generation 2025-05-21 09:13:42 +00:00
inbound.json THORChain XMR swaps 2026-10-20 17:38:48 +00:00
mainnet-tx-msgdeposit-refreq1.binpb THORChain memoless swaps 2026-10-12 10:04:48 +00:00
mainnet-tx-msgdeposit-refreq2.binpb THORChain memoless swaps 2026-10-12 10:04:48 +00:00
mainnet-tx-msgdeposit1.binpb RUNE low-level transaction support 2025-06-10 17:47:03 +00:00
mainnet-tx-msgdeposit2.binpb RUNE low-level transaction support 2025-06-10 17:47:03 +00:00
mainnet-tx-msgdeposit3.binpb RUNE low-level transaction support 2025-06-10 17:47:03 +00:00
mainnet-tx-msgsend1.binpb RUNE low-level transaction support 2025-06-10 17:47:03 +00:00