TL;DR: It’s hard. Minimum cost is $2000. It’s better when developers of such blockchain look into our code and connect his blockchain to us. for example this guys https://github.com/swaponline/swap.core/pull/498
The Atomic Swap is a complex operation which consists of multiple software/hardware elements controlled from different world regions. E.g, here is just a couple of the systems (elements):
- Multiple public nodes.
- libp2p messaging system.
- Two blockchains.
- Smart contracts written on different languages with different processing features.
- Public explorers.
- External monitoring services (e.g. mining fee calculator).
- User’s browser as the swap logic executioner (not only frontend but the entire dApp).
- The user as his or her actions affect the swap.
Mining fee. How much is the fee and which fee is optimal? How this fee will be calculated? How much cryptocurrency will be spend in both blockchains and who will pay this amount of crypto? Which sum will be final for the maker to send and for the taker to get?
Blockchain features. E.g. for the ERC20-tokens the operation should be ‘approved’ and client must have some ETH to receive the tokens. For the EOS, the paid account activation is required. This problems shouldn’t be of user’s concern.
How do the public nodes work? Three public nodes activity is required during the swap (two blockchains and orderbook). What if one node works better than the other or is blocked in some countries?
Correct swap recovery after the update of page. How the swap progress can be recovered from the last point if some problem occured and page was updated?
We elolve. We update our system timely and the blockchains’ interoperability management takes time. Minimum costs is $2000. It’s better whent developers of such blockchain look into our code and connect his blockchain to us. for example this guys https://github.com/swaponline/swap.core/pull/498