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
708e577afd
minor fixes and cleanups
2025-04-09 09:15:56 +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
69c4242a63
tx.bump: support non-integer relative fees
2025-03-29 09:30:16 +00:00
09f5c0ef2b
cmdtest.py ethswap: add new tests
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
ff9a1e08d8
mmgen-txsend: add --receipt option
2025-03-29 09:30:15 +00:00
3b3834f521
test/cmdtest_d/include: xinput.py -> input.py
2025-03-29 09:30:15 +00:00
b2e210485f
test/cmdtest_d: remove prefixes on files
2025-03-29 09:30:15 +00:00
aa21ba5ee7
test/cmdtest_d: input.py -> xinput.py
2025-03-29 09:30:15 +00:00
17ae5a49c3
test/objattrtest_d: remove prefixes on test files
2025-03-29 09:30:15 +00:00
c2d7a90b68
test/objtest_d: remove prefixes on test files
2025-03-29 09:30:15 +00:00
f3869f914b
setup.cfg: update project URLs
2025-03-29 09:30:10 +00:00
565b8788b8
tx.new_swap: add ETH fee warning
2025-03-25 09:46:01 +00:00
c452db345c
ui.keypress_confirm(): add do_exit, exit_msg params
2025-03-25 09:46:01 +00:00
62475d39e9
proto.eth.contract: new create_token_data() method
2025-03-25 09:46:01 +00:00
5c5086fcb6
proto.eth.contract: methods relocate, whitespace
2025-03-25 09:46:01 +00:00
9652e3e3da
minor fixes, cleanups, whitespace
2025-03-25 09:46:01 +00:00
0a72cc83f7
nix: add solc source build derivation
2025-03-25 09:46:01 +00:00
ef2e7789b5
scripts/create-token.py: move Solidity code template to external file
2025-03-25 09:46:01 +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
f6aa4bad33
minor fixes and cleanups
2025-03-23 10:14:32 +00:00
324d17deb5
proto.btc.tx.completed: move check_swap_memo() to parent class
2025-03-23 10:14:32 +00:00
ed77c9661e
tx.new_swap: add network-estimated fee display; related cleanups
2025-03-23 10:14:32 +00:00
8cd4487e64
tx.swap: self.send_proto -> self.proto
2025-03-23 10:14:32 +00:00
1769b100b5
fixes and cleanups throughout
2025-03-23 10:14:32 +00:00
f739f96f79
proto.eth.tx.base: remove start_gas attribute
2025-03-23 10:14:32 +00:00
b6c285c02a
proto.eth.contract: relocate methods
2025-03-23 10:14:32 +00:00
5ecf9a18d4
proto.eth.contract: TokenCommon -> Contract
2025-03-23 10:14:32 +00:00
bf6af7273b
tx.new_swap: add get_swap_proto_mod(), init_proto_from_coin()
2025-03-23 10:14:31 +00:00
2807c30a60
tx.new_swap: whitespace
2025-03-23 10:14:31 +00:00
73210a3932
tx.new_swap: new check_addr_is_wallet_addr() method
2025-03-23 10:14:31 +00:00
95cf6fb3d2
tx.new_swap: relocate cmdline parsing methods from proto.btc.tx.new_swap
2025-03-23 10:14:31 +00:00
4d7aaa9d88
minor cleanups
2025-03-23 10:14:31 +00:00
5273b2dc5e
cmdtest.py: minor cleanups
2025-03-23 10:14:31 +00:00
11e648f4c9
cmdtest.py swap: new CmdTestSwapMethods mixin class
2025-03-23 10:14:31 +00:00
699b21f313
CmdTestBase: add cfg attr
2025-03-23 10:14:31 +00:00
bb7deefdc5
cmdtest.py: modularize CmdTestRunner, CmdGroupMgr
2025-03-23 10:14:31 +00:00