Commit graph

1,468 commits

Author SHA1 Message Date
79c436b9a4
tw.view: display cleanups 2025-05-28 11:40:40 +00:00
f64fb2a6a7
cmdtest.py: minor cleanups 2025-05-28 11:40:35 +00:00
abdb00f49f
Config: set opts_data['sets'] options after env and cfgfile 2025-05-26 09:39:11 +00:00
318b3351e8
modularize RPC library 2025-05-23 15:35:23 +00:00
ea190e9208
cmdtest.py: deterministic testing fixes 2025-05-23 15:35:23 +00:00
9ee01aa5e1
proto.eth.tw: support minconf 2025-05-23 15:35:23 +00:00
8c2b48780d
minor cleanups 2025-05-23 15:35:17 +00:00
ba3b40c5b6
support THORChain address generation
Example:

    $ mmgen-addrgen --coin=rune 1-10

Testing:

    $ test/tooltest2.py -q --coin=rune
    $ test/modtest.py -v bip_hd.multicoin
2025-05-21 09:13:42 +00:00
96c6939b08
minor cleanups 2025-05-21 09:13:36 +00:00
4cad3c3bd5
mmgen-swaptx{create,do}: add --stream-interval option 2025-05-19 09:23:55 +00:00
fe7a2a204b
swap: new SwapCfg class 2025-05-19 09:23:55 +00:00
0dd09321fd
minor fixes and cleanups 2025-05-19 09:23:55 +00:00
00ee28aea7
minor cleanups 2025-05-19 09:23:50 +00:00
131787afb8
NewTX, BumpTX: remove unnecessary async call 2025-05-10 10:43:23 +00:00
bcb6170195
mmgen-txbump: support --gas option
Testing:

    $ test/cmdtest.py --coin=eth ethbump
2025-05-08 15:22:07 +00:00
a11eb44d85
cmdtest.py ethbump, swap: minor cleanups 2025-05-08 15:22:07 +00:00
82294e6a88
proto.eth.tx: use eth_estimateGas for token transactions 2025-05-07 18:24:07 +00:00
e26a242e54
swap.proto.thorchain: increase streaming interval to 3 2025-05-07 18:24:07 +00:00
9400a558ba
minor fixes and cleanups 2025-05-07 18:24:07 +00:00
aaaccc6bad
swaptxcreate: add --router-gas option; proto.eth.tx: new total_gas attr 2025-05-07 18:24:07 +00:00
8d33c6d4a9
proto.eth.tx: make self.gas an integer 2025-05-07 18:24:07 +00:00
a351b16e11
proto.eth.tw.ctl: find unused addresses correctly 2025-05-07 18:24:07 +00:00
2f7a15e9b0
tw, swap: minor fixes and cleanups 2025-05-07 18:24:02 +00:00
19592955cb
test suite: minor fixes 2025-04-29 10:13:38 +00:00
ff28d39a3c
THORChain ERC20 token swap support
Examples:

    # List available assets:
    $ mmgen-swaptxcreate -S

    # Create a Tether-to-LTC swap transaction for autosigning, connecting to the
    # swap quote server via Tor:
    $ mmgen-swaptxcreate --autosign --proxy=localhost:9050 ETH.USDT 1000 LTC

    # After signing, send the transaction via public Etherscan proxy over Tor:
    $ mmgen-txsend --autosign --quiet --tx-proxy=etherscan --proxy=localhost:9050

    # After sending, check the transaction status and receipt:
    $ mmgen-txsend --autosign --verbose --status

    # Create a Tether-to-DAI swap transaction, with explicit destination account:
    $ mmgen-swaptxcreate ETH.USDT 1000 ETH.DAI E:01234ABC:3

Testing:

    $ test/cmdtest.py -e ethswap
2025-04-27 11:53:49 +00:00
835914ca3e
minor fixes and cleanups 2025-04-26 10:38:55 +00:00
67ef5d3987
mmgen-swaptxcreate: new --list-assets option; related cleanups 2025-04-26 10:38:55 +00:00
a46c3bbbee
amt: new TokenAmt class 2025-04-26 10:38:55 +00:00
69a39fad5e
txsend: add --wait and --txhex-idx options; related cleanups 2025-04-26 10:38:55 +00:00
2f6ef808fb
test suite: minor fixes and cleanups 2025-04-26 10:38:55 +00:00
2adf35502d
Critical Ethereum THORChain swap bugfix
If you swap from Ethereum, please upgrade immediately.

The bug caused the funds to be returned to the wallet, minus a small fee.  No
significant loss of funds would have occurred.  Swaps to ETH were unaffected.
2025-04-24 06:03:58 +00:00
48660c3189
tx.online.OnlineSigned: new send() method
- common exit point for all scripts that broadcast transactions to the network

- supports transaction files with multiple txhex, required for upcoming ERC20
  THORChain swap support
2025-04-21 14:01:16 +00:00
026f4a4c1d
cmdtest.py: minor fixes and cleanups 2025-04-21 14:01:16 +00:00
3297f414a8
minor whitespace, variable and method renames 2025-04-21 14:01:16 +00:00
7ecc376c7b
proto.eth.contract: ResolvedToken cleanups 2025-04-21 14:01:16 +00:00
38ea93a51f
tx.new_swap: swap to ERC20 token support 2025-04-21 14:01:16 +00:00
6473b41d43
swap: minor changes and cleanups 2025-04-21 14:01:15 +00:00
f33957d1bb
swap: new SwapAsset class 2025-04-21 14:01:15 +00:00
d010c39157
swap.proto.thorchain: data -> Memo 2025-04-21 14:01:15 +00:00
cf16972576
modtest.py: new swap test 2025-04-21 14:01:11 +00:00
961eb0bd4f
cmdtest eth*: method renames, MRO fixes, cleanups 2025-04-09 09:16:01 +00:00
21fb6a8195
cmdtest ethdev: use single dev address for all daemons 2025-04-09 09:16:01 +00:00
e9e4b8f3cb
cmdtest ethdev: whitespace, method renames 2025-04-09 09:16:01 +00:00
e025f2704f
Ethereum swap transaction bumping
As with ordinary transactions, both fee bumping and sending funds to a new
destination are supported

For more information, see:

    $ mmgen-txbump --coin=eth --help

Testing:

    $ test/cmdtest.py --coin=eth -X bal4 ethbump
2025-03-30 10:20:22 +00:00
c515ec03a5
tx.new_swap: remove ETH fee warning 2025-03-30 10:20:22 +00:00
b485d7a99a
cmdtest ethdev, swap, ethswap, ethbump: changes and fixes 2025-03-30 10:20:21 +00:00
b3bc4c5215
test suite: group_mgr initialization fix 2025-03-30 10:20:21 +00:00
6e5e32f148
test suite: relocate a module, delete a module 2025-03-30 10:20:21 +00:00
b7446566a2
cmdtest.py: new ethbump test
Testing:

    # with Go-Ethereum:
    $ test/cmdtest.py --coin=eth ethbump

    # or with Rust Ethereum:
    $ test/cmdtest.py --coin=eth --daemon-id=reth ethbump
2025-03-29 09:30:16 +00:00
0b73aad126
cmdtest.py ethdev: minor fixes 2025-03-29 09:30:16 +00:00