ETH-XMR Atomic Swaps

This is a prototype of ETH<->XMR atomic swaps, which was worked on during ETHLisbon.

Instructions

Start ganache-cli with determinstic keys:

ganache-cli -d

Start monerod for stagenet:

monerod --stagenet

Start monero-wallet-rpc:

./monero-wallet-rpc  --stagenet --rpc-bind-port 18082 --password "" --disable-rpc-login --wallet-dir .
Compiling contract bindings

Download solc v0.8.9

Set SOLC_BIN to the downloaded binary

export SOLC_BIN=solc

Generate the bindings

./scripts/generate-bindings.sh
Testing

To run tests on the go bindings, execute

go test ./swap-contract
Description
No description provided
Readme 91 MiB
Languages
Go 93.9%
Shell 2.3%
Svelte 1.6%
TypeScript 0.8%
JavaScript 0.5%
Other 0.8%