2021-10-23 16:17:50 -04:00
2021-10-23 16:17:50 -04:00
2021-10-23 13:52:17 -04:00
2021-10-23 16:17:50 -04:00
2021-10-23 16:17:50 -04:00
2021-10-23 12:02:28 -04:00
2021-10-23 21:55:05 +02:00
2021-10-23 17:57:19 +02:00
2021-10-23 11:41:15 -04:00
2021-10-23 11:41:15 -04:00
2021-10-23 21:35:48 +02:00

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%