Commit graph

26 commits

Author SHA1 Message Date
f840069ecb
update copyright dates 2026-02-11 13:02:12 +00:00
f44ca874ec
cmdtest_d.httpd: initialize with cfg 2025-10-03 10:34:04 +00:00
954ff01b41
test suite: ThornodeRPCServer: refactor 2025-09-23 09:20:54 +00:00
4573e170ed
test suite: use match statement where practicable (21 files) 2025-09-23 09:20:53 +00:00
c04512a42f
minor fixes and cleanups 2025-06-18 12:55:47 +00:00
9638a96ec6
test suite: minor fixes 2025-06-16 14:35:30 +00:00
e0d5463ea7
test suite: EtherscanServer: return correct TxID 2025-06-16 14:35:30 +00:00
ec84abc907
RUNE swap support
Testing/demo:

    $ test/cmdtest.py --demo runeswap
2025-06-15 09:17:02 +00:00
a86b60a8e5
test.cmdtest_d.httpd.thornode.rpc: cleanups 2025-06-15 09:17:02 +00:00
a7f0629eba
proto.rune.params: new rpc_swap_params attribute 2025-06-15 09:17:02 +00:00
ef76cf6460
RUNE user-level transaction support
Transaction sends and balance queries are done via the remote Thornode server
at ninerealms.com, so it’s recommended to proxy them via Tor, as shown below.

Sample create-send-sign workflow (assumes `autosign` set in cfg file):

    $ mmgen-txcreate --proxy=localhost:9050 -q --coin=rune 12ABCDEF:X:2,1.234

    remove device - insert - wait for signing - remove - insert

    $ mmgen-txsend --proxy=localhost:9050 -q

Check/refresh tracking wallet after sending:

    $ mmgen-tool --proxy=localhost:9050 --coin=rune twview interactive=1

Testing/demo:

    $ pip install pure-protobuf

    $ test/cmdtest.py --coin=rune --demo rune
2025-06-12 12:48:51 +00:00
55e59cee12
RUNE low-level transaction support
Testing:

    $ test/modtest.py rune
2025-06-10 17:47:03 +00:00
2bf4f540f7
new test.cmdtest_d.httpd.thornode package 2025-06-10 17:47:03 +00:00
2993fdba9e
RUNE tracking wallet support
Testing/demo:

    $ test/cmdtest.py --demo --coin=rune rune
2025-05-28 11:40:40 +00:00
800b3cef36
test suite: ThornodeServer -> ThornodeSwapServer 2025-05-28 11:40:40 +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
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
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
f6aa4bad33
minor fixes and cleanups 2025-03-23 10:14:32 +00:00
eb80abaaee
amt.py: new UniAmt type, equivalent to BTCAmt 2025-03-23 10:14:31 +00:00
fe9664412d
cmdtest.py: reimplement etherscan server using WSGI framework 2025-03-17 10:16:18 +00:00
90544d677c
cmdtest.py: reimplement thornode server using WSGI framework 2025-03-17 10:16:18 +00:00
88f204a0bd
cmdtest.py: new WSGI http server framework 2025-03-17 10:16:18 +00:00