-
Notifications
You must be signed in to change notification settings - Fork 96
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
81d7c47
commit 0e3303a
Showing
4 changed files
with
282 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
## Intro | ||
|
||
xmrswap performs adaptor signature swaps between dcr and xmr. There are four | ||
tests; success, Alice bails before xmr init, refund, and Bob bails after xmr init. | ||
|
||
## Requirements | ||
|
||
dcrd, dcrwallet, dcrctl, monerod, monero-wallet-rpc, and monero-wallet-cli | ||
|
||
## Simnet | ||
|
||
Simnet requires that the dcr and xmr harnesses in /dcrdex/dex/testing be running. | ||
|
||
## Testnet | ||
|
||
Testnet requires a synced monerod running on --stagenet. It also requires three | ||
monero-wallet-rpc running. Two of these must have wallets loaded, and | ||
unlocked (--wallet-file). Alice must be funded. The third only needs to be | ||
pointed to a directory (--wallet-dir). | ||
|
||
It also requires two dcrd running on --testnet with bob being funded and unlocked. | ||
|
||
The file example-config.json must be copied to config.json and correct locations | ||
for your system filled in. | ||
|
||
Testnet tests can be run with the --testnet flag. | ||
|
||
Testnet tests take a long time to finish as they wait on monero funds being | ||
available and dcr confirmations. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"alice": { | ||
"xmrhost": "http://127.0.0.1:28284/json_rpc", | ||
"dcrconf": "/home/me/dextest/dcr/trading1/trading1.conf" | ||
}, | ||
"bob": { | ||
"xmrhost": "http://127.0.0.1:28184/json_rpc", | ||
"dcrconf": "/home/me/dextest/dcr/trading2/trading2.conf" | ||
}, | ||
"extraxmrhost": "http://127.0.0.1:28484/json_rpc" | ||
} |
Oops, something went wrong.