Author

Topic: Working on atomic swap. Need feedback. (Read 414 times)

newbie
Activity: 42
Merit: 0
December 03, 2018, 04:18:03 PM
#10
Try swapping when the price is low. https://youtu.be/loLirgyrzNY
legendary
Activity: 2870
Merit: 7490
Crypto Swap Exchange
December 04, 2018, 12:42:52 AM
#9
I will try but sorry for my English )
--snip--

Thanks for the explanation, but what i meant is tools/software necessary for atomic-swap, not explanation about atomic-swap.
kzv
legendary
Activity: 1722
Merit: 1285
OpenTrade - Open Source Cryptocurrency Exchange
December 03, 2018, 03:44:48 PM
#7
If you could share guide for configuration/atomic-swap process, i might be interested to try since i run tBTC nodes.


I will try but sorry for my English )

Alice has a 1 BTC and a cat. Only Alice knows her cat's name.
Alice has a 100 LTC and a dog. Only Bob knows his dog's name.

Alice write the contract: "I will pay my bitcoin to the one who will tell to bitcoin blockchain, what is the name of my cat and what is the name of the dog. If no one says, in 48 hours Bitcoin will return to me"
Bob write the contract: "I will pay my litecoins to the one who will tell to litecoin blockchain, what is the name of Alice's cat. If no one says, in 24 hours Litecoins will return to me"

This is all about atomic swap technology!

Further options are possible:
1.
If Alice needs LTC, she will write down the name of her cat in the litecoin blockchain and take LTC according to the Bob contract.
If Bob needs Bitcoin, he will read in the litecoin blockchain: what's the name of the Alice cat. Then Bob will write cat and dog names to the Bitcoin blokchain and take Bitcoin in accordance with the Alice contract.

2. If Alice changed her mind about changing, then the deal will not take place and after 48 hours the bitcoins can be refunded to Alice, and the litecoins can be refunded to Bob
legendary
Activity: 1456
Merit: 1174
Always remember the cause!
December 03, 2018, 01:14:57 PM
#6
OP!

The link didn't work for me. Couldn't connect. Sad
legendary
Activity: 3906
Merit: 6249
Decentralization Maximalist
December 03, 2018, 01:05:55 PM
#5
I guess it's a JavaScript app for your browser where you can publish atomic swap transactions, see other orders and trade coins if there's an interesting offer for you. That would be a nice tool, as most atomic swap DEX (e.g. BarterDEX) require installations.

It seems the main code for the exchange is inside the file https://trade.multicoins.org:50543/js/index.js ?

I haven't analyzed that file in depth (my JavaScript skills are limited) but I would like to know if the app is purely P2P (JavaScript clients connect to each other and discover orders) or if there is also a server-side component, for example, to search for and "collect" orders? (I don't consider that as negative - if it's open sourced it could even be run on multiple servers.)
kzv
legendary
Activity: 1722
Merit: 1285
OpenTrade - Open Source Cryptocurrency Exchange
December 03, 2018, 02:50:43 AM
#4
byt0mswap.io

I do not see an atomic swap technoligy on your site.
kzv
legendary
Activity: 1722
Merit: 1285
OpenTrade - Open Source Cryptocurrency Exchange
November 12, 2018, 07:10:18 AM
#3
The link is working without problems.

If I will see interest then I can make API
s2
full member
Activity: 198
Merit: 123
October 31, 2018, 05:32:42 PM
#2
Looks a good start however I would be interested in using this if you could offer an API.

Also if you offer making a bespoke API in docker form I might even be able to license it from you as I would like to explore this too... (PM me if interested)
kzv
legendary
Activity: 1722
Merit: 1285
OpenTrade - Open Source Cryptocurrency Exchange
October 19, 2018, 02:25:00 AM
#1
Hi
I try to develop P2P exchange based on atomic swaps.
Here is working prototype for Bitcoin testnet only: https://trade.multicoins.org:50543/

Can anybody test it and give me feedback.
Does anyone need a service like this?


Jump to: