Open boolafish opened 5 years ago
Kelvin had the idea of using the Lightning network for this:
I haven’t done a lot of research into this area. I’m currently reaching out to Joseph to get a better understanding of what he had in mind. For now, we can already support tokens like WBTC that wrap BTC into an ERC20 (though it isn’t really decentralized). However, I’ll attempt to give my current understanding of the construction so we at least have something written down.
The “clearinghouse” construction described in the OMG paper seems to be an extension of the basic OMG plasma chain. If my understanding is correct, then it’s actually quite simple. In order to trade BTC (or any BTC-like token that supports payment channels), we can theoretically make use of the lightning network.
The flow of an ETH-BTC trade would work as follows:
Some questions here:
Interesting note guys. I know this is not directly related, but we gonna be working with Jamie, Jeremy and Alexei (Biz Dev) on how we can understand our quality of liquidity and the one on our competitors' side. Please find the link: https://docs.google.com/document/d/1nIRUhcoTwOOr5-Odh9fAZcMODnIboP-7-j5OtVAKcjI/edit?usp=sharing
Work in progress: clearinghouse doc
Short summary of what the clearinghouse is: "It's a fancy escrow" :)
@madxor please keep us updated on the progress here. We have got a call last week. Maybe there is sth new.
(obviously the priority for the next few days stays STARK, still if u gonna have capacity - feel free to drop some lines here)
@Nikodemek18 Requested analysis of the WBTC in the clearinghouse doc, summary below.
Wrapped BTC (WBTC) is simply an ERC20 token, hence it should be fairly easy to use it with our DEX infrastructure. The trading process would be simplified because we would not need to have Bitcoin parts of the infrastructure and could only use Ethereum and Plasma parts.
WBTC relies heavily on trusted parties: merchants and custodians, which are subject to regulations. BTC-WBTC exchanges are performed by atomic swaps or trusted exchanges. If atomic swaps are used, then the custody is transferred immediately. If trusted exchange is used, then the custody transfer depends on that particular exchange. Please note that the clearinghouse could also play a role of a trusted exchange.
Note
cf whitepaper :scream We haven’t performed measurements for quality of liquidity (work in progress). However, it would be a reasonable assumption that most crypto volume involves BTC We need to understand if the Bitcoin clearinghouse construction as described in the whitepaper can be built. If it cannot be built, then we have to seek alternative ways to bring BTC to the OmiseGO Platform.