Bitcoin Forum
September 26, 2018, 12:09:50 AM *
News: ♦♦ New info! Bitcoin Core users absolutely must upgrade to previously-announced 0.16.3 [Torrent]. All Bitcoin users should temporarily trust confirmations slightly less. More info.
 
   Home   Help Search Donate Login Register  
Pages: « 1 [2]  All
  Print  
Author Topic: Atomic swap? Objection: I don't think it means decentralized coin exchange.  (Read 1784 times)
Wind_FURY
Hero Member
*****
Offline Offline

Activity: 854
Merit: 670


Crypto-Games.net: Multiple coins, multiple games


View Profile
November 02, 2017, 06:29:43 AM
 #21


I did not know that atomic transfers were already invented two years ago. Thanks for sharing.

Which coins were used to do the transfers and why is the technology not widely used today? This is a breakthrough and no one is giving it any attention or giving the developer any recognition.
The coins that already can be used for atomic swaps are Burst and Qora. At least the Qora client has even a GUI option for that (see this article).

The reason I think it is not widely used is that both coins share a relatively similar codebase (they are Java coins inspired by NXT and use a smart contract platform called "Automated Transactions" for the atomic swap implementation) that is pretty different from the standard "Bitcoin clones" and Bitcoin/Script coins need an alternative implementation. Burst and Qora never were among the "top altcoins".

I think also the creator CIYAM deserves more credits for his breakthrough implementation. His solution is based on a concept invented by Sergio Demian Lerner and improved by Tier Nolan but it's the only implementation I know that is usable by non-technical users.

What a shame. All the credit should go where its due. But why did the Burst and Qora developers not try to develop it for NXT which was the most popular Java based platform at the time it was invented? I believe NEM is also written in Java.

They could have developed a symbiotic system in between each platform that could have aided all of them gain adoption.


▄▄▄████████▄▄▄
▄██████████████████▄
▄██████████████████████▄
██████████████████████████
████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
██████████████████████████████
████████████████████████████
██████████████████████████
▀██████████████████████▀
▀██████████████████▀
▀▀▀████████▀▀▀
   ███████
██████████
██████████
██████████
██████████
██████████
██████████
██████████
██████████
██████████
██████████
██████████
███████
BTC  ◉PLAY  ◉XMR  ◉DOGE  ◉BCH  ◉STRAT  ◉ETH  ◉GAS  ◉LTC  ◉DASH  ◉PPC
     ▄▄██████████████▄▄
  ▄██████████████████████▄        █████
▄██████████████████████████▄      █████
████ ▄▄▄▄▄ ▄▄▄▄▄▄ ▄▄▄▄▄ ████     ▄██▀
████ █████ ██████ █████ ████    ▄██▀
████ █████ ██████ █████ ████    ██▀
████ █████ ██████ █████ ████    ██
████ ▀▀▀▀▀ ▀▀▀▀▀▀ ▀▀▀▀▀ ████ ▄██████▄
████████████████████████████ ████████
███████▀            ▀███████ ▀██████▀
█████▀                ▀█████
▀██████████████████████████▀
  ▀▀████████████████████▀▀ 
✔️DICE           
✔️BLACKJACK
✔️PLINKO
✔️VIDEO POKER
✔️ROULETTE     
✔️LOTTO
1537920590
Hero Member
*
Offline Offline

Posts: 1537920590

View Profile Personal Message (Offline)

Ignore
1537920590
Reply with quote  #2

1537920590
Report to moderator
Make a difference with your Ether.
Donate Ether for the greater good.
SPRING.WETRUST.IO
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1537920590
Hero Member
*
Offline Offline

Posts: 1537920590

View Profile Personal Message (Offline)

Ignore
1537920590
Reply with quote  #2

1537920590
Report to moderator
d5000
Legendary
*
Offline Offline

Activity: 1862
Merit: 1206



View Profile
November 02, 2017, 07:21:47 AM
 #22

What a shame. All the credit should go where its due. But why did the Burst and Qora developers not try to develop it for NXT which was the most popular Java based platform at the time it was invented? I believe NEM is also written in Java.
As far as I remember, the AT mechanism (the base for the Burst/Qora atomic swap technique) was indeed discussed to be added to NXT, but the NXT team decided to not include it because of possible dangers of turing-complete smart contracts. I think they could have added atomic swaps in a "hard-coded" way, but - for whatever reason - they didn't. That's one of the problems with those "centrally-developed coins" - if the "official" development team doesn't like an improvement, it won't happen.

@687_2, DooMAD: I think the danger of an adversarial fork is mostly present when you trade small cryptocurrencies. In this case, a hostile attack is more likely because the adversary could control tools like blockchain explorers (e.g. bribing them) to support the "attack version" of the blockchain. This, however, even then would need a lot of preparation, and I don't think it would be profitable for <100USD trades. So I tend to agree with DooMAD here.

A problem could arise if people ignore the risk completely and rely on SPV/heavily pruned blockchains for big or multiple trades, because one adversary could for example offer an attractive price trying to lure many traders into his "trap". The risk could be similar to the acceptance of low-confirmation payments.

aliashraf
Sr. Member
****
Offline Offline

Activity: 574
Merit: 330


View Profile
November 11, 2017, 08:52:10 AM
 #23

What a shame. All the credit should go where its due. But why did the Burst and Qora developers not try to develop it for NXT which was the most popular Java based platform at the time it was invented? I believe NEM is also written in Java.
As far as I remember, the AT mechanism (the base for the Burst/Qora atomic swap technique) was indeed discussed to be added to NXT, but the NXT team decided to not include it because of possible dangers of turing-complete smart contracts. I think they could have added atomic swaps in a "hard-coded" way, but - for whatever reason - they didn't. That's one of the problems with those "centrally-developed coins" - if the "official" development team doesn't like an improvement, it won't happen.
....

This is what makes me nervous about the whole 'core developer' idea ... actually I prefer to go through capitalism slavery rather than intellectual dictatorship  Grin

Anyway, done is done and most of the coins do not support AT inherently (actually a majority of coins even do not support CLTV, bitcoin before 0.11 for instance) but does it make cryptocurrency exchange world better if they would?

I appreciate guys discussing here and I found most of the posts very useful, Although I think we can go forward and ask whether implementing a full protocol in bitcoin and top altcoins to support atomic swap is a breakthrough in decentralized exchange development field?

It may look a trivial question with a big YES answer but I don't think so.



d5000
Legendary
*
Offline Offline

Activity: 1862
Merit: 1206



View Profile
November 11, 2017, 09:18:12 AM
 #24

Anyway, done is done and most of the coins do not support AT inherently (actually a majority of coins even do not support CLTV, bitcoin before 0.11 for instance) but does it make cryptocurrency exchange world better if they would?
I think yes, because the cryptocurrency movement is "all about decentralization". Exchanges are the most annoying single point of failure.

There are obviously trading methods and strategies (high frequency trading, stop orders etc.) that could never be sa replicated in a decentralized manner in a satisfying way, but for the day-to-day exchanges a normal user does, it would be very useful.

If fiat-pegged coins like BitUSD become more common and allow atomic swaps to Bitcoin and other important cryptos, even "entering the cryptocurrency ecosystem" could be easier, because the whole work of "finding a price" would not be necessary anymore in the moment you buy your first cryptocurrency.

MartPlatform
Jr. Member
*
Offline Offline

Activity: 37
Merit: 1


View Profile
November 13, 2017, 06:29:08 AM
 #25

thats just the way they marketing their coin have a new technology. Not for updating, because nearly no one use coin for it's real purpose.  Shocked
galvan jean
Newbie
*
Offline Offline

Activity: 28
Merit: 0


View Profile
November 13, 2017, 08:54:41 AM
 #26

We are hearing a lot about atomic swap (= cross chain transaction processing), specially in the past few weeks.

From a theoretical point of view, I can confirm it is a good start for solving the most important problem in the crypto world nowadays: the need for a decentralized exchange, but I doubt it can be considered a solution or we are close enough.

My biggest concern is scalability, obviously, but there is other challenges as well. I was just wondering if anybody has been studying the subject before and can share her/his ideas with me?

Actually I have been through a very bad experience with a centralized exchange (Bittrex) lately and it has escalated my old anti-centralization sensitivities and allergies about exchanges  Wink.

So, I'm here now, determined to participate more actively (by means of coding, investing, whatever) in shutting the doors of these scammy businesses (bittrex, poloniex, ..., f*ex ) forever and I have a couple of lines of codes,  some coins and a few ideas to share.  Smiley




not bad for a fresh start in a forum, but on the contrary you are complicating a trivial concept to the point of over-complication IMO.
You are just suggesting it (a payment channel in LN terminology) is not a 'buffer' because it has an expiration date, right? But I think buffers can have a auto-flush feature triggered by a clock (block height in a chain, for instance) and they are still nothing more than a buffer.
aliashraf
Sr. Member
****
Offline Offline

Activity: 574
Merit: 330


View Profile
November 13, 2017, 10:41:19 AM
 #27

Anyway, done is done and most of the coins do not support AT inherently (actually a majority of coins even do not support CLTV, bitcoin before 0.11 for instance) but does it make cryptocurrency exchange world better if they would?
I think yes, because the cryptocurrency movement is "all about decentralization". Exchanges are the most annoying single point of failure.
There are obviously trading methods and strategies (high frequency trading, stop orders etc.) that could never be sa replicated in a decentralized manner in a satisfying way, but for the day-to-day exchanges a normal user does, it would be very useful.

If fiat-pegged coins like BitUSD become more common and allow atomic swaps to Bitcoin and other important cryptos, even "entering the cryptocurrency ecosystem" could be easier, because the whole work of "finding a price" would not be necessary anymore in the moment you buy your first cryptocurrency.

Atomic swaps between cryptos and pegged currencies is a very good idea but the hypothetical wallet capable of supporting the protocol will be suffered from the same scalability problems discussed earlier and wont help with the trust issues with the pegged currency, at least as a direct consequence.

I understand why you emphasis on 'important cryptos', it is to eliminate scalability problem, but I don't get why you suggest this kind of 'pruning' for pegged currencies only and you don't go general. I mean it can be considered a kind of a solution to have crypto blockchains being somewhat clustered and for an arbitrary pair of cryptos to be exchanged both parties should find the shortest path between them and navigate by means of multiple swaps.
kernighan
Member
**
Offline Offline

Activity: 70
Merit: 10


View Profile
November 13, 2017, 10:54:12 AM
 #28

We are hearing a lot about atomic swap (= cross chain transaction processing), specially in the past few weeks.

From a theoretical point of view, I can confirm it is a good start for solving the most important problem in the crypto world nowadays: the need for a decentralized exchange, but I doubt it can be considered a solution or we are close enough.

My biggest concern is scalability, obviously, but there is other challenges as well. I was just wondering if anybody has been studying the subject before and can share her/his ideas with me?

Actually I have been through a very bad experience with a centralized exchange (Bittrex) lately and it has escalated my old anti-centralization sensitivities and allergies about exchanges  Wink.

So, I'm here now, determined to participate more actively (by means of coding, investing, whatever) in shutting the doors of these scammy businesses (bittrex, poloniex, ..., f*ex ) forever and I have a couple of lines of codes,  some coins and a few ideas to share.  Smiley





I saw an interview holding by jimmy song, he discussed with Ltd creator who also think we are at early stage of using this tech on decentralized exchange, probably we need a centralized engine to matching traction pairs first.

Btw you can check 0x also.
aliashraf
Sr. Member
****
Offline Offline

Activity: 574
Merit: 330


View Profile
November 14, 2017, 06:13:53 AM
 #29

Anyway, done is done and most of the coins do not support AT inherently (actually a majority of coins even do not support CLTV, bitcoin before 0.11 for instance) but does it make cryptocurrency exchange world better if they would?
I think yes, because the cryptocurrency movement is "all about decentralization". Exchanges are the most annoying single point of failure.
There are obviously trading methods and strategies (high frequency trading, stop orders etc.) that could never be sa replicated in a decentralized manner in a satisfying way, but for the day-to-day exchanges a normal user does, it would be very useful.

If fiat-pegged coins like BitUSD become more common and allow atomic swaps to Bitcoin and other important cryptos, even "entering the cryptocurrency ecosystem" could be easier, because the whole work of "finding a price" would not be necessary anymore in the moment you buy your first cryptocurrency.

Atomic swaps between cryptos and pegged currencies is a very good idea but the hypothetical wallet capable of supporting the protocol will be suffered from the same scalability problems discussed earlier and wont help with the trust issues with the pegged currency, at least as a direct consequence.

I understand why you emphasis on 'important cryptos', it is to eliminate scalability problem, but I don't get why you suggest this kind of 'pruning' for pegged currencies only and you don't go general. I mean it can be considered a kind of a solution to have crypto blockchains being somewhat clustered and for an arbitrary pair of cryptos to be exchanged both parties should find the shortest path between them and navigate by means of multiple swaps.

I am seriously falling in love with this idea: crypto coin blockchains being clustered!

- Every coin to be present in swap operations have to support at least one cluster.
- A cluster consists of 2 or more coins that their full nodes are capable of verifying transactions on all the member chains and participate in Atomic Swap
   transactions.
- A cluster is matured when it has at least one member coin (blockchain) that is a member of another matured cluster.

Obviously this topology resembles a connected multigraph and can be studied in details mathematically but more importantly, here we have overcome scalability challenge by eliminating the need for every node in every coin to be capable of verifying every arbitrary other blockchain (eventually as a full node).

Now the new challenge comes around:
For Bob and Alice to exchange their coins after finding a path between the respected chains, in the current state of the art, both parties should have wallets and (possibly) deposits on all the intermediate coins in addition to their owned ones. It is not what they want at all.

I have proposals for this but for the moment I prefer to check with you guys whether I'm in a good direction right now. Huh
d5000
Legendary
*
Offline Offline

Activity: 1862
Merit: 1206



View Profile
November 14, 2017, 06:27:22 AM
 #30

I understand why you emphasis on 'important cryptos', it is to eliminate scalability problem, but I don't get why you suggest this kind of 'pruning' for pegged currencies only and you don't go general.

I think here you misunderstood me - I mentioned pegged currencies only because of their possible function as a "gateway" to cryptocurrencies in general.

Quote
I mean it can be considered a kind of a solution to have crypto blockchains being somewhat clustered and for an arbitrary pair of cryptos to be exchanged both parties should find the shortest path between them and navigate by means of multiple swaps.

Here I see a problem: you would have to run several clients/wallets on your device (or one wallet-client supporting multiple chains) and if you are not using a "multiple full node" (that would consume lots of resources) then with every chain you "touch" while swapping the risk of attacks increases, and also you would have to pay transaction fees for every intermediate transaction. Via Lightning such a "swap path" may be possible off-chain, but here I really don't know the details and possible vulnerabilities.

Anyway, I think this "cluster" approach is what Blocknet and Supernet are trying to achieve, but their approach is still in alpha.

aliashraf
Sr. Member
****
Offline Offline

Activity: 574
Merit: 330


View Profile
November 14, 2017, 07:49:52 AM
 #31

I understand why you emphasis on 'important cryptos', it is to eliminate scalability problem, but I don't get why you suggest this kind of 'pruning' for pegged currencies only and you don't go general.

I think here you misunderstood me - I mentioned pegged currencies only because of their possible function as a "gateway" to cryptocurrencies in general.

Quote
I mean it can be considered a kind of a solution to have crypto blockchains being somewhat clustered and for an arbitrary pair of cryptos to be exchanged both parties should find the shortest path between them and navigate by means of multiple swaps.

Here I see a problem: you would have to run several clients/wallets on your device (or one wallet-client supporting multiple chains) and if you are not using a "multiple full node" (that would consume lots of resources) then with every chain you "touch" while swapping the risk of attacks increases, and also you would have to pay transaction fees for every intermediate transaction. Via Lightning such a "swap path" may be possible off-chain, but here I really don't know the details and possible vulnerabilities.

Anyway, I think this "cluster" approach is what Blocknet and Supernet are trying to achieve, but their approach is still in alpha.

Unfortunately, I'm not familiar with Blocknet or supernet (will check soon, thanks for mentioning bytheway Smiley ) but it is good news IMO, someone has considered clustering as a solution.

On the other hand, the 'touching risks and costs' you point out, are real but encompass less critical challenges compared to scalability. Once you encounter a performance bottleneck caused by the system or protocol architecture, you have nothing to do other than throwing away the whole project but with transaction costs and security risks you have improvement chances.
aliashraf
Sr. Member
****
Offline Offline

Activity: 574
Merit: 330


View Profile
November 16, 2017, 06:36:42 PM
 #32

Just saw this:
http://www.fujitsu.com/global/about/resources/news/press-releases/2017/1115-01.html

Seems everybody is interested in swapping cryptos and corporates are no exception, but they are trying to do their traditional take over game.

I don't believe them to understand what the story is about decentralization, they just wanna 'take it over' no matter what Grin
 
Pages: « 1 [2]  All
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!