ETH<>XMR Atomic Swap Continued Development

A trustless way to exchange Monero and Ethereum.

by noot

avatar

Raised

100%
  • $24k+ in 74 donations total
  • 125.74 XMR in 66 donations
  • 0 sats in 0 donations
  • $5k+ Fiat in 8 donations

Funded Goal: 24,000 USD (5,000 USD contributed from the MAGIC Monero Fund general fund)

Start: September 2022

End: August 2022

Result: Mainnet beta software release

The MAGIC Monero Fund raised funds for noot to continue development on ETH-XMR atomic swaps. View the campaign here.

This proposal covers 4 months of work focused on the following:

Relayer support

The current implementation of the protocol requires the ETH-recipient to have some ETH in their claiming account to pay for the transaction fees to claim the swap ETH. However, this is bad for UX and privacy, as users cannot withdraw to fresh ETH accounts.

To allow for users to claim ETH into a fresh account, integration with a relayer service can be implemented. This will allow users to withdraw to a fresh account by paying a small fee to a relayer to submit the transaction on their behalf.

Ethereum privacy improvements

On the ETH side of the swap, there is no privacy, and which accounts and amounts participating in the swap are visible.

ERC20 support

To support swaps for ERC20s without hurting liquidity, the swap contract can be integrated with a DEX such as Uniswap to automat-ically swap received ETH for the desired ERC20 token.

Disk permanence

The current implementation of the swap does not store anything to disk apart from information needed for recovery of swap funds in case of failure. However, there are other components that should be stored to disk and restored upon reload, such as current swap of-fers made, historic swap information, and peer information. This will require a simple key-value database implementation.

General maintenance and bugfixes

See https://github.com/noot/atomic-swap/issues for open issues on the repo. Issues not covered by the above work are part of this sec-tion. This includes RPC calls and documentation, codebase maintenance, testing, and fixes of any bugs found during testing.

MAGIC Grants is a 501(c)(3) public charity. Your donation may qualify for a tax deduction. Cryptocurrency donations over $500 require additional paperwork to claim a deduction.
© 2024 MAGIC Grants. This website builds upon technology by Open Sats.