noot posts dev report for XMR-ETH atomic swaps project
noot1 has posted a development update2 for her XMR-ETH atomic swaps project3:
I wanted to give an update on the development progress of the ETH-XMR atomic swap project, as it’s been a couple months since I first posted.
The update decreases the cost to redeem funds from the contract by 25x!! The deployment cost is still high, but this will be addressed in the next steps.
Progress
- finishing the implementation of the “unhappy path” ie. the refund path
- implementation of
swapcli
(peer and existing offer discovery) - implementation of
swaprecover
(fund recovery) - refactor of the protocol and codebase to verify a secp256k1 key on-chain instead of an ed25519 key, and use a DLEq (discrete logarithm equality) proof to verify that the two keys correspond to the same secret (gas savings)
- tests for discovery, making/taking offers, and initiation of a swap
- set up a CI that checks that the code is linted and all tests pass
- changed the license to LGPL after finishing the required refactors
Next steps
- more testing and documentation
- refactoring the swap contract to be a “factory” contract (reduce gas costs)
- pure Go implementation of the DLEq proof/verification
- a browser UI that displays the current available offers, and eventually integration with a browser-based Ethereum wallet (ie. metamask)
The associated CCS proposal4’5 got fully funded today6, in less than 24 hours.
To learn more about the project, read !2774 and consult my previous report7.