Bitcoin Forum

Bitcoin => Development & Technical Discussion => Topic started by: weidex on February 02, 2020, 09:56:41 AM



Title: Cross-chain atomic swap protocol BTC <> ETH
Post by: weidex on February 02, 2020, 09:56:41 AM
We are running such kind of ptotocol here:

https://app.jelly.market

It is live on the maiinet and our team want to find, if crypto enthusiasts would like to try it  ;) ;) ;)


Title: Re: Cross-chain atomic swap protocol BTC <> ETH
Post by: Pmalek on February 02, 2020, 11:50:25 AM
Sure, why not. But can you explain what advantages your service offers compared to what is offered by Atomic Wallet or Komodo who are also doing atomic swaps?
Regarding the site.
Using the numeric keypad (those on the right on the keyboard) doesn't seem to work. Numbers can be entered by those horizontal numbers only. I would suggest changing that.
The max amount of BTC that can be swapped is 0.009. The pool is quite small.


Title: Re: Cross-chain atomic swap protocol BTC <> ETH
Post by: o_e_l_e_o on February 02, 2020, 02:59:30 PM
I am unable to enter anything in the "Receiver Address" box. I have tried on three different browsers. The only way I can get a bitcoin address to show (without going in to Developer Tools and enabling text input) is to create an account using the "Brainwallet" function. Given how insecure and dangerous both brainwallets and web wallets are, combining the two in to a brainwallet that you generate and hold custody of for your customers isn't a great idea. Is it not possible to sell ETH and receive BTC to your own address? Why does it have to send to your brainwallet address and then be withdrawn from there?


Title: Re: Cross-chain atomic swap protocol BTC <> ETH
Post by: 20kevin20 on February 02, 2020, 03:21:41 PM
I am unable to enter anything in the "Receiver Address" box. I have tried on three different browsers. The only way I can get a bitcoin address to show (without going in to Developer Tools and enabling text input) is to create an account using the "Brainwallet" function. Given how insecure and dangerous both brainwallets and web wallets are, combining the two in to a brainwallet that you generate and hold custody of for your customers isn't a great idea. Is it not possible to sell ETH and receive BTC to your own address? Why does it have to send to your brainwallet address and then be withdrawn from there?

Can confirm I cannot enter anything in the Receiver Address box either. Tested on 4 different web browsers, including mobile.

The website should go through some internal, behind-the-scenes testing phases before going public, considering there are 3 people so far (4 including me) finding bugs or weird things about your platform. I'm curious about the advantages of it vs Komodo's Atomic DEX too.

If you really want your platform to become a thing, having it public with bugs and possible glitches/errors may turn into a negative overall opinion of it which you wouldn't want to, I believe. I recommend launching a public version only when internal testing phases end with 100% success.


Title: Re: Cross-chain atomic swap protocol BTC <> ETH
Post by: weidex on February 02, 2020, 03:45:56 PM
I am unable to enter anything in the "Receiver Address" box. I have tried on three different browsers. The only way I can get a bitcoin address to show (without going in to Developer Tools and enabling text input) is to create an account using the "Brainwallet" function. Given how insecure and dangerous both brainwallets and web wallets are, combining the two in to a brainwallet that you generate and hold custody of for your customers isn't a great idea. Is it not possible to sell ETH and receive BTC to your own address? Why does it have to send to your brainwallet address and then be withdrawn from there?

Can confirm I cannot enter anything in the Receiver Address box either. Tested on 4 different web browsers, including mobile.

The website should go through some internal, behind-the-scenes testing phases before going public, considering there are 3 people so far (4 including me) finding bugs or weird things about your platform. I'm curious about the advantages of it vs Komodo's Atomic DEX too.

If you really want your platform to become a thing, having it public with bugs and possible glitches/errors may turn into a negative overall opinion of it which you wouldn't want to, I believe. I recommend launching a public version only when internal testing phases end with 100% success.

It is not a bug...

Maybe we should have some explainer.

If you want to make an atomic swap, you should make two transactions.
One on ethereum network
One on bitcoin network.

We do use brain wallet, because you have to sign the transaction with your bitcoin key and then to broadcast it.

it is using P2WSH script.

You do not have option to enter bitcoin address, because you have to prepare the raw transaction after that and the one and only way to do it is with brain wallet for now.

I agree that it is not the most secure login method, but If you use it only for the swap and then move your funds somewhere else it is fine + brain wallet stays only in your browser local sotrage so nothing critical could hapen if you do not have some viruses or malicious extensions on your computer.