Commit graph

3,143 commits

Author SHA1 Message Date
b8d1a12b99
mmgen-tool: use v2 options parsing 2025-05-23 15:35:23 +00:00
0aec1cf099
daemon: rpc_type -> rpc_desc 2025-05-23 15:35:23 +00:00
3662b859da
proto.eth.tw.view: remove age_disp() 2025-05-23 15:35:23 +00:00
24bdbae960
proto.eth.tw.addresses: move get_rpc_data() to parent class 2025-05-23 15:35:23 +00:00
c40f4f9aa5
proto.eth.tw.addresses: remove get_column_widths() 2025-05-23 15:35:23 +00:00
9d33ae3d07
tw.view: new extra_key_mappings attribute 2025-05-23 15:35:23 +00:00
279e901d0d
tw.view: refactor sort_funcs 2025-05-23 15:35:22 +00:00
ea7cb6f6f3
tw.ctl: add use_cached_balances attr 2025-05-23 15:35:22 +00:00
725014de85
tw: new TwAddrDataWithStore, TwCtlWithStore classes 2025-05-23 15:35:22 +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
427834255e
update command documentation 2025-05-21 09:13:42 +00:00
9537559106
doc/wiki/commands -> doc/wiki/cmds 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
5864bb83a3
Thornode:format_quote(): simplify call signature 2025-05-19 09:23:55 +00:00
0dcfaa2f34
swap: variable, method renames 2025-05-19 09:23:55 +00:00
6a0b5e5e07
minor Ethereum file format change
This is a backwards-incompatible change.  Offline signing devices must be
upgraded if you transact ETH or ETC.
2025-05-19 09:23:55 +00:00
00ee28aea7
minor cleanups 2025-05-19 09:23:50 +00:00
5dd358a851
mmgen-{swaptxcreate,swaptxdo,txsend}: support --proxy=env param
Allow use of the *_PROXY environment vars when connecting to the THORNode
and Etherscan HTTPS servers
2025-05-10 10:43:28 +00:00
9b8c542670
mmgen-txdo: support --tx-proxy opt 2025-05-10 10:43:28 +00:00
8ffd86c209
tx.__init__: clean up initialization code 2025-05-10 10:43:28 +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
91a2504e62
proto.eth.tx.new: improve gas selection logic for set_gas() 2025-05-08 15:22:07 +00:00
9d86fbe9de
new debug_evm config option 2025-05-08 15:22:07 +00:00
43d9b7bb60
TwCtl.get_balance(): add block parameter 2025-05-08 15:22:02 +00:00
82294e6a88
proto.eth.tx: use eth_estimateGas for token transactions 2025-05-07 18:24:07 +00:00
907ec11e6b
support Reth v1.3.12 2025-05-07 18:24:07 +00:00
cfdd10dc60
proto.eth.tx.bump: fix file ext; tx.tx_proxy: error handling 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
a4a31c050f
proto.eth.tx.new: adjust gas with data only for non-token TXs 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
2cefa48def
TwAddresses: new is_used attribute 2025-05-07 18:24:07 +00:00
2f7a15e9b0
tw, swap: minor fixes and cleanups 2025-05-07 18:24:02 +00:00
90ca53ae3d
swap: include streaming interval in swap quote query 2025-04-29 12:03:35 +00:00
01cd35a97a
support Bitcoin Core v29.0 2025-04-29 10:13:43 +00:00
d4ef18c632
swap: ETH display fix, reload quote only after timeout 2025-04-29 10:13:43 +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
c449e4d4d9
tx: helpscreen fixes 2025-04-27 11:53:44 +00:00
856058941c
proto.eth.tx.base: check serialized data integrity 2025-04-26 10:38:55 +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