Konstantin Gladych - Cross blockchain atomic swaps between ethereum and bitcoin

ETHCC 1 · 9 Mar 2018 · 13:32

Konstantin Gladych, CEO of an instant exchange service, explains how cross-blockchain atomic swaps between Ethereum and Bitcoin work. He compares centralized exchanges, instant exchange services and decentralized options, then steps through the swap itself: hash-locked contracts on both chains, a revealed secret and the two redemptions. He notes the trade-offs, including confirmation times and fees, which make swaps better suited to over-the-counter deals than high-frequency trading, and reviews the state of projects building them. The talk ends with audience questions.

Speakers

Topics

From ETHCC 1, hosted by Ethereum France.

Transcript

I can start okay so guys I should start so I hope everyone is ready so today I want to talk about the cross box in atomic swaps I'm like Constantine Gladish it's the CEO of change Li instant exchange service I came here from Prague Czech Republic so I'm happy to be here so why do I talk here so change Lea is an instant exchange service we operating since 2015 year and we have almost 2 million registered customers of

unchanged Lea they're doing like thousands daily transactions and half a billion monthly exchange volume so we are providing an instant exchange API for cowan payments go in amico and market cap Jax mycelium and few other partners now it's about the exchanges landscape a landscape what do we have today so the most exchanges for today is centralized it's like Polonius Beatrix BitFenix and few others and the most of the exchange volume goes through the exchanges so some instant exchange services changes shape shifts and a few others also it's a huge exchange volume on the peer-to-peer trading like local bitcoins or packs full in the u.s. country it's

for the fields to Bitcoin trading there are also some custody free solutions are like zero weeks relays but they have a centralized order books also some instance instant exchange services like air swap or are for the ATM tokens oh it's going dot IO for the crosswalk chain transactions and also some view to peer custody free trading solutions like local aterial or for the whole project for the Bitcoin to Fiat custody free solution there are also some decentralized fully decentralized services like ether Delta so the blockchain is all order book is located

in the blockchain is florian of transactions openledger based on bitshares technology waves and few others there are also some projects like banker or keeper network of the time in to solve the solution and as they have liquidity reserved pools based on the blockchain and also atomic quality OTO it's also for the peer-to-peer decentralized trading so everyone knows those services I believe so and they have a lot of liquidity pools and a lot of trading options so they have a quick

orders execution and it's available for the high frequency trading but the funds are controlled by the third party those services are mostly regulated and you should be required for the KYC to withdraw your funds so as there were a lot of exchange hogs for the last few years almost everyone every every month some some exchange got cocked and so the funds customers funds are lost so it's your France so that's why the centralized exchanges its game is gaining more and more popular so you only in France it's anonymously trading

but it's almost basic trading options no margin trading it's simple interfaces and lack of liquidity and exchanges that have older book on the blockchain have a scalability issue sexually so is it decentralized decentralisation a panacea so today 95% of the exchange volume goes through the centralized services but as I know there's a huge trading volume for the peer-to-peer trading like OTC trading OTC deals that are going not through the centralized services so it's

the hype of the centralized the centralization this year I think yes so but my presentation is about atomic Schwab's technology about the cross blocks in atomic swap technology so what is atomic swaps actually it's a custody free growth blockchain swaps technology so there is no counterparty risks you only advanced and it's a direct peer-to-peer anonymous transactions so nobody control in France and nobody knows I was exchange you did but each confirmation in blockchain it costs time and its cost gas or Bitcoin fees and

it's a long wait in confirmation time and it's for sure not available for high frequency trading but it's very nice for the over-the-counter trading so here's the full process of house atomic swaps working so imagine that you have two traders so someone the first trader want to exchange one it's going through Eater and another one trader wants to sell either to Bitcoin so they should find each other on some services just to talk about deals or maybe it can be automatically imagined service but it's just around the technology so both

parties are creating theaters is to accept funds and it's the first one creating a contract transaction on the Bitcoin blockchain sending funds to the transaction and maybe in the address of for the second trader to accept funds so now the first party has a secret and the secret hash and funds are locked in a contract like for 24 hours and nobody can access that funds if you don't have a secret so the first part is sending

a transaction transaction reference to the second Party and the second party is our didn't the contract check ins the addresses chickens the amount of the Bitcoin and if everything is okay so the second party is also creating the contract and send in either to this contract and contract is locked with the secret hash so now the first party is checking the contract checking the ether addresses to accept funds checking the ether amount and if everything is okay the first party is the rudiment transaction so actually

after the transaction is redeemed the first party is getting either - he said - it's a dress and now once the contract is executed the secret is becoming visible for the second party so it's recorded in the blockchain and the second party can redeem the Bitcoin from the first party contract so as you see once it's having it so we can see two bitcoin transactions from the first party and from second party and to

either transactions so actually both parties are paying two transaction Commission's for the blockchain but it's it's fully it can be fully anonymous process and its third party risk but it can be slow like you should wait for the confirmation on the blockchain to make a trade etc etc but it's a risk free its main competitive advantage and it can be big deals like this hundred bitcoins to trade so where are we now as you see it's a

tweets from Charlie's the creator of the litecoin and as it it's like half a year ago lights going to Bitcoin atomic swaps on the main net so and also as condos are your service they recently did a Terry on to Bitcoin atomic swap like a first bitcoins like a first swaps but they did it on test net so it will take time to provide services around atomic swaps technology so also guys from the super net like so called Bart X exchange going to provide

exchange based on the atomic swaps one chain is developing the protocol for their atomic swaps for the different block chains so they're going to provide some code libraries around the Bitcoin like block chains and also around others like eater for sugar so now it's all of the services as seasoned better and the most of operation is destined eight block chains not on the production not on the main head block chains but so I believe or maybe this year or next year

will be rising of the technology not to be controlled by the third-party services so is the atomic quality or they're going to provide atomic cross block chain swaps and they have a peer-to-peer BitTorrent order book so it's fully immutable solution so nobody can stop for trading on inside its wallets so it's still in alpha and the better will be issued may be next so actually the most things that I wanna talk to about the crosswalk sheen swaps

maybe someone has a questions about the atomic swaps so I can answer or I can answer after the presentation so actually is it's a QA but here yeah yeah so I have time so feel free to ask any questions yeah related to changing it it doesn't relate to change Li so I'm personally invested to the toilet yeah it's for OTC trading deals for the big deals so I am NOT going we are not going to compare with any other wallets on the markets but it's it should be useful for

risk free atomic swaps trading and it's available solution okay so it's we're going to support most of the block chains like basically it will be light coin bit coin and secret as the different guys are producing the libraries and also we see is that there are some test net libraries for the ATM transactions and for the smart contracts based on the tearoom is that I useful for the atomic swaps and we are going to

it's open source now but it should be just you you can just download the code and so make some additions by itself so no questions I think we can have a coffee outside okay thank you thank you guys [Applause]

Related talks