xmr-btc-swap/monero-harness
Lucas Soriano del Pino 50ed74319f Simplify xmr-btc/tests Monero wallet
- Make it the same for Alice and Bob.
- Make it contain a wallet client instead of the `Monero` struct.

Also:

Remove `Container` from inside `Monero` struct. The caller of `new`
can simply ensure that `Container` is not dropped to keep the
container alive.

This makes the `Monero` struct easier to work with, as it just holds
the data necessary to create the different clients created during
`init`, and does not have any lifetime restrictions.
2020-10-20 12:18:27 +11:00
..
src Simplify xmr-btc/tests Monero wallet 2020-10-20 12:18:27 +11:00
tests Simplify xmr-btc/tests Monero wallet 2020-10-20 12:18:27 +11:00
Cargo.toml Swap Monero for Bitcoin 2020-09-28 17:15:57 +10:00
README.md Swap Monero for Bitcoin 2020-09-28 17:15:57 +10:00
rust-toolchain Swap Monero for Bitcoin 2020-09-28 17:15:57 +10:00
rustfmt.toml Swap Monero for Bitcoin 2020-09-28 17:15:57 +10:00

Monero Harness

Provides an implementation of testcontainers::Image for a monero image to run monerod and monero-wallet-rpc in a docker container.

Also provides two standalone JSON RPC clients, one each for monerod and monero-wallet-rpc.

Example Usage

Please see tests/* for example usage.