mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2024-12-24 15:09:35 -05:00
50ed74319f
- 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. |
||
---|---|---|
.. | ||
src | ||
tests | ||
Cargo.toml | ||
README.md | ||
rust-toolchain | ||
rustfmt.toml |
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.