Commit graph

2,768 commits

Author SHA1 Message Date
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
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
ccebddd9ec
tx.online: variable rename 2025-04-26 10:38:55 +00:00
d0d17a4c0f
proto.eth.contract.Contract: add initializer 2025-04-26 10:38:55 +00:00
3d70d6eda9
proto.eth.contract: TokenAddr -> ContractAddr 2025-04-26 10:38:50 +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
f9678d25b1
TokenNew, TokenUnsigned: delay creation of ABI data 2025-04-21 14:01:16 +00:00
d9e9fd6e4f
proto.eth.tx: new swap_memo attribute 2025-04-21 14:01:16 +00:00
3297f414a8
minor whitespace, variable and method renames 2025-04-21 14:01:16 +00:00
8ffb8fb76a
tx.base: new swap_attrs attribute 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
ccfd3ee8c7
tx.new_swap: improve parsing of chg arg 2025-04-21 14:01:16 +00:00
6649fab18b
tx.base: new swap_proto_mod, send_asset, recv_asset properties 2025-04-21 14:01:16 +00:00
b53fd52f47
util: new cached_property decorator 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
fde2bccab9
update links in README.md 2025-04-09 09:16:01 +00:00
1d95435237
support Monero v18.4.0 2025-04-09 09:16:01 +00:00
961eb0bd4f
cmdtest eth*: method renames, MRO fixes, cleanups 2025-04-09 09:16:01 +00:00