Will it be possible at some time in the future to implement atomic swaps, or is there some sort of fundamental incompatibility to prevent it? If atomic swaps are feasible, are there any plans to implement them? Any time frame?
Thx
Good question. Our software already does atomic swaps with "exotic spend" in the advanced spending menu. All I would have to do is activate it in BitHalo so users can just switch from BitHalo to BitBay and trade peer to peer. We don't really need an orderbook to do it, just build in some GUI support for the offer/counter and automate the trade. Any automation is a bit of work about the same time frame as what a single template usually takes me.
What I mean by this is if you look at "exotic spend" here is how an atomic swap would happen manually.
First a user creates a timelocked transaction with a hash puzzle. Then he funds it (only he knows the secret answer to the puzzle). Lets say for example he does a two week timelock back to himself as long as the other party knows the answer, they can spend it.
Next the other party funds the same type of timelock but this time using BitHalo with a one week timelock and same hash puzzle. This means the BitBay user acts first. As long as he truly knows the answer he would redeem it. Otherwise it goes back to the Bitcoin user... totally safe for both sides.
Once he spends it, the Bitcoin user checks blockchain.info for the answer to the timelocked hash puzzle (it will show up in the script). Then he uses that one time password to redeem his coins in Bay. The fact that the timelocks were asynchronous lets the users take turns in completing the trade knowing that there is absolutely no way money can be stolen since they share the same answer to the puzzle and funds return if nobody acts.
No exchange, no transaction fees, just a pure p2p trustless trade.
Of course users want fast paced trading with high volume. But for the sake of argument, our software is really only one step away from activating it in Halo so it can be done manually. (I do need to patch it so it's more compatible with other coins by checking size of hash in bytes but that's an easy fix)
It would be nice to see a decentralized exchange. We are already on Komodo and Blocknet however they will need to fine tune the trading experience and start picking up some volume to compete with centralized exchanges.