Commit graph

7 commits

Author SHA1 Message Date
5529e7ed9f
minor fixes and cleanups 2025-10-26 10:35:54 +00:00
4b55f1158e
btc.tx.base.decodeScriptPubKey(): reimplement, parse nulldata correctly 2025-09-29 23:09:17 +00:00
cf16972576
modtest.py: new swap test 2025-04-21 14:01:11 +00:00
f0563031de
Ethereum THORChain swaps
Only native ETH supported for now.  Work on ERC20 token swaps is underway.

Sample create-sign-send workflow for a BTC->ETH swap (assumes offline
autosigning is set up):

    $ mmgen-swaptxcreate --autosign BTC 0.12345 ETH

    remove device - insert - wait for signing - remove - insert

    $ mmgen-txsend --autosign

Create step for ETH->BTC swap:

    $ mmgen-swaptxcreate --autosign ETH 5.4321 BTC

For more information, see:

    $ mmgen-swaptxcreate --help

Testing:

    $ test/cmdtest.py ethswap
2025-03-23 10:14:32 +00:00
287107ce73
Memo.is_partial_memo(): match bytes instead of str 2025-03-23 10:14:32 +00:00
eb80abaaee
amt.py: new UniAmt type, equivalent to BTCAmt 2025-03-23 10:14:31 +00:00
8b504c895a
modtest.py, daemontest.py: remove prefixes from test files 2025-03-23 10:14:31 +00:00
Renamed from test/modtest_d/ut_tx.py (Browse further)