Commit graph

40 commits

Author SHA1 Message Date
ab41b78863
new platform global constant 2026-05-17 18:03:32 +00:00
f840069ecb
update copyright dates 2026-02-11 13:02:12 +00:00
967d17c06e
cmdtest.py ethdev, rune: add user component to tw path 2025-11-15 09:50:21 +00:00
2b7080c227
subprocess.run(): use text arg (10 files) 2025-10-03 10:34:04 +00:00
f44ca874ec
cmdtest_d.httpd: initialize with cfg 2025-10-03 10:34:04 +00:00
dc3df437ab
cmdtest.py: make test methods async where applicable 2025-10-01 15:30:56 +00:00
3749ff4d7e
whitespace, variable renames (8 files) 2025-09-26 10:40:23 +00:00
4573e170ed
test suite: use match statement where practicable (21 files) 2025-09-23 09:20:53 +00:00
0952cc80a3
various testing fixes 2025-09-09 11:27:05 +00:00
e6851fbbdf
support Geth v1.16.3 2025-09-09 11:27:05 +00:00
78db0a8156
CmdTestRunner: add warn() method 2025-07-19 10:21:11 +00:00
60ca7a2918
eth: sign transactions with libsecp256k1 2025-06-29 14:53:50 +00:00
c62d3f1a38
proto.eth.misc -> proto.eth.util 2025-06-29 14:04:46 +00:00
a8fe14756d
TestProxy: start and stop proxy only when required 2025-06-18 12:55:52 +00:00
bc4d3791ac
new test.cmdtest_d.include.proxy module 2025-06-16 14:35:25 +00:00
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
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
00ee28aea7
minor cleanups 2025-05-19 09:23:50 +00:00
82294e6a88
proto.eth.tx: use eth_estimateGas for token transactions 2025-05-07 18:24:07 +00:00
9400a558ba
minor fixes and cleanups 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
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
69a39fad5e
txsend: add --wait and --txhex-idx options; related cleanups 2025-04-26 10:38:55 +00:00
026f4a4c1d
cmdtest.py: minor fixes and cleanups 2025-04-21 14:01:16 +00:00
7ecc376c7b
proto.eth.contract: ResolvedToken cleanups 2025-04-21 14:01:16 +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
b485d7a99a
cmdtest ethdev, swap, ethswap, ethbump: changes and fixes 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
92019c7a9c
cmdtest.py ethdev: minor cleanups, whitespace 2025-03-29 09:30:16 +00:00
485bae1995
cmdtest.py ethdev: eth_args -> eth_opts 2025-03-29 09:30:16 +00:00
c08fbd2cc2
cmdtest.py ethdev: new CmdTestEthdevMethods class 2025-03-29 09:30:15 +00:00
e6758ef1db
CmdTestRunner: add quiet attribute 2025-03-29 09:30:15 +00:00
819202b584
minor cleanups 2025-03-29 09:30:15 +00:00
b2e210485f
test/cmdtest_d: remove prefixes on files 2025-03-29 09:30:15 +00:00
Renamed from test/cmdtest_d/ct_ethdev.py (Browse further)