Why we need Decentralised Exchanges

in #bitcoin7 years ago (edited)

Waves DEX Image

Mock-up of the forthcoming WAVES DEX GUI - it will be interesting to see if they can actually make it look this pretty. Also the black background may not be to all tastes.


Introduction


A while back I wrote a post about some of the issues that people were having on Poloniex - one of the larger bitcoin exchanges and THE largest altcoin exchange.

Screen Shot 2017-05-29 at 14.31.31.png

Poloniex looks nice but how safe is your money?

People were having difficulty making trades at peak times and in some cases were unable to access the exchange at all.

More worryingly it seemed that a large number of withdrawals were having to be "manually verified" before going through - in some cases people were waiting more than a week.

This is a particularly worrying sign for those who have been in cryptocurrencies for a long time because these type of withdrawal issues are often the first signs before an exchange fails.

We saw it with MT GOX in 2014 and we saw it with Cryptsy for months before it failed.

One of the solutions for these sorts of issues that I (and many others) have suggested in the past is the use of decentralised exchanges (DEXs).

Sadly most people who are new to cryptocurrencies have no idea what a decentralised exchange is or more importantly why you would need to use one.


The Problem With "Centralised" Exchanges


One of the good things about cryptocurrency is the idea that we don't need to trust anyone and we are in full control (normally) of our own coins/tokens.

Screen Shot 2017-05-29 at 14.34.55.png

If Kraken goes out of business, what happens to your deposits?

We get to send them out and move them around as we see fit. There is no one to regulate the blockchain and control who can and can't make transactions.

This can be a double-edged sword though.

When it comes to something like Bitcoin, YOU are responsible for looking after and securing your coins.

If you mess up in some way, then there is no central authority that can help you out, since no single person or government controls the blockchain.

If you get robbed, then unless there is some way to pursue the person who robbed you in real life, there is no way to get those coins back.

In a similar way to this, when you use a centralised exchange like Poloniex, Kraken, BTCC etc, you are handing your money over to another person and trusting that they do the right thing with it.


With centralised exchanges you are trusting that:


ThinkstockPhotos-618963762.jpg

You have to trust the exchange.

  1. They will not lose your money via hardware failure, lost credentials or other negligence.
  2. They will keep it secure against theft, hacking etc - whether they are from internal or external sources.
  3. They will not steal it from you and will behave honorably.
  4. They will not go out of business - in which case your money could end up stuck.

That is a lot of trust to put into a body that is completely unregulated (at the present time) and may not even be in the same country as you.

If something goes wrong as it did in multiple cases in the past (MT GOX, Cryptsy, Mintpal etc) - you could end up losing all your money and you will not have any kind of government protection (like you have with banks).

Cryptocurrency exchanges are not regulated and your deposits are not insured. You are handing your money over to a complete stranger or group of strangers and hoping that at some point they will give it back to you.

Perhaps you are starting to see why this might be a problem?

This is where decentralised exchanges (DEXs) come in.


Decentralised Exchanges


Decentralised exchanges allow you to trade in a safe manner because they are not controlled by any central person or authority.

Screen Shot 2017-05-29 at 14.37.29.png

It might not be as pretty as Poloniex but your money is in your control when you use Bitshares.

It is beyond the scope of this article to go into exactly how they work (there are a number of methods including the use of smart contracts).

The basic idea is that the exchange or a central "site" never holds your money. You keep the money and hold it in your account until you make a trade.

When a trade is made it is between the buyer and seller alone. -In some ways it is like a trustless escrow service.

This way you don't need to trust a central party to make a trade. If a DEX fails in some way there is no way for you to lose your money.


Great So Why Isn't Everyone Using a DEX?


There are a few reasons why most people are still using centralised exchanges rather than the DEX option:

ThinkstockPhotos-502868119.jpg

Most people don't even know they need them.

  1. Most people don't know they exist.

  2. Many people don't know why they would want to use a DEX.

  3. There is sometimes friction in changing exchanges and people are lazy.

  4. Lack of trades and liquidity - this is one of the main reasons and is kind of a chicken and egg issue. Until more people use DEXs there won't be enough volume for many traders to use them, which then prevents more people from using them.

  5. The interfaces are often not as good as the best centralised exchanges and this may reflect a lack of ability to invest in the UI.

I think many of these issues will start to be overcome as time goes on. The interfaces will improve as will people's awareness of what DEXs are and why they are needed.


Current DEXs


This will not be an exhaustive list (feel free to add any I miss out in the comments):

Screen Shot 2017-05-29 at 14.17.14.png

HEAT is partnering with ABN Amro Bank.

  1. Bitshares - this is one of the most well known and oldest DEXs. I have used it a few times without any problems. It has a big community behind it and is continuing to improve. Also it is based on the superb graphene technology so is likely to be able to deal with future scaling issues more easily than others. The UI is probably better than most of the other DEXs but not quite on a par with Poloniex yet - hopefully it will continue to improve in this area. It also hosts many ICOs if that is your thing.

  2. Bitsquare - this runs through an app which you must download to your computer. It also uses TOR to help increase your privacy. I have only really used it once and although the interface looked nice there was so little volume that it I was unable to make any trades. One to watch though.

  3. WAVES - still pretty new, this DEX is still quite basic. It runs through the WAVES wallet software. I have used it a few times and it works but it does need some further polish. The new UI that is currently being worked on looks pretty amazing (better than Poloniex in my opinion) but we will have to see if it actually turns out to be as good as the mock ups (see banner image at the top of this post). WAVES is also an ICO platform.

  4. HEAT - also very new and I haven't really used this. The interesting thing about HEAT is that they are in partnership with the Dutch bank ABN AMRO - so I find that interesting as it would make "strange bedfellows". Banks are probably the antithesis of DEXs so it is strange. Anyway there is not much to see right now.

  5. NXT - to be honest I don't really know much about NXT but am just adding it here for the sake of completion. Perhaps someone who is more familiar with it can fill in the blanks.

  6. KMD/Komodo - is also working on something called the "EasyDEX" - described as the "Most Secure, Easy and Native Decentralised Exchange" but there are few details at the moment other than that sentence in the wallet and a note saying "Coming Soon".

  7. OpenLedger - I don't really know much about this and was under the mistaken assumption that it was the same as Bitshares. It is something I need to look into more as I do like investing in ICOs and crowdfunding - something which (if I understand the website correctly) they are focussing on.

  8. Others - there are several others that are still currently being worked on but haven't really released anything (unless I missed it). I was originally very active in the Ethereum community and I have been looking forward to ETHEREX for some time - I have since lost track of its development (please let me know if there are any major updates).


Shapeshift and Blocktrades


Shapeshift and Blocktrades are an intermediate solution between centralised exchanges and DEXs.

Screen Shot 2017-05-29 at 13.42.24.png

Shapeshift is safer than a regular exchange but has some limitations.

They allow you to make an instant trade without making an account and they act as a kind of instant escrow for the trade.

They are a good intermediate solution but there are a few problems:

  1. They are closed source (as far as I know) so you can't check their code yourself and make sure that it is secure.

  2. You can't set trades to execute at future points in time.

  3. You have to trade immediately or not at all and the price is fixed to a particular market rate.

They are a good option if you want to sell quickly and with the minimum hassle but they are not really suitable for other types of trading activity.


Atomic Swaps


This is something that I only heard about recently via a Coindesk article.

Screen Shot 2017-05-29 at 15.11.56.png

Coindesk article on Atomic Swaps.

Apparently this method of trading allows you to exchange different currencies across blockchains.

The example the article uses is trading Litecoin for Vertcoin.

You don't actually need any extra software (in theory at least).

The snag is that both blockchains need to use the Lightning Network and "atomic trades" is a planned feature.

So right now it is not even something that actually exists. If it does actually work then it could be a way of "baking in" decentralised exchange capabilities to multiple blockchains.

If it works, the biggest problem (in my opinion) will be getting it activated on Bitcoin, without that it will be hard to see people actually using atomic trades for any significant volume.

Considering that there is still some skepticism about the Lighting technology in the Bitcoin and cryptocurrency community that may never happen.


Conclusion


It is quite obvious that DEXs could be a safer way for people to trade cryptocurrencies. The multiple losses that people have incurred as a result of centralised exchanges failing is perhaps one of the most compelling reasons for their use.

ThinkstockPhotos-607301436.jpg

DEXs could be the "key" to safer trading.

Sadly life is rarely that simple or easy.

Most DEXs are still in a fairly embryonic state meaning that they are not as easy or simple for people to use.

Further most people probably don't even understand enough about the risks of using centralised exchanges to understand the need for them.

It is inevitable (given the nature of cryptocurrencies) that we will have more centralised exchange failures and that people will lose their money.

This will force them into considering DEXs as an option.

Sometimes it takes harsh lessons for people to learn how to do things right.


Thank you for reading


ThinkstockPhotos-594940740.jpg




Steemithelp.net

Are you new to Steemit and Looking for Answers?

Please visit:

Steemithelp.net

A collection of guides and tutorials that cover the basics of Steem and Steemit.


Follow me Steemit,Twitter, LinkedIn, Facebook, Medium. Join the Steemit Group on LinkedIn.

All uncredited images are taken from my personal Thinkstock Photography account. More information can be provided on request.


Sort:  

Excellent article and explanation. I'm a relative newcomer to cryptos and every time I read articles about trading and exchanges the same word keeps coming up, over and over: TRUST. Or, it seems, the lack of trust.

Seems we always ends up with what I have dubbed "The Farmers' Market Dilemma." We're all individuals who have turned our backs on centralized and government driven finance and banking... and yet we need aspects of centralized structure to function. In a sense, we are like individual small farmers who have things we want and things to offer... so we need a "Farmer's Market" (exchange) which IS a "centralized" sort of thing... but we have deep mistrust of anything that looks collective, so there ends up being a "clog."

Which has always been where I have questions about decentralization, cryptos and beyond... where does "decentralization" (a good thing) actually become "fragmentation" (not such a good thing) that keeps us from actually getting where we need to go?

Very good points. I love this:

Seems we always ends up with what I have dubbed "The Farmers' Market Dilemma." We're all individuals who have turned our backs on centralized and government driven finance and banking... and yet we need aspects of centralized structure to function

It is a paradox of sorts. It will take time to improve because right now there are very few decentralised solutions and they are imperfect.

With time these issues will be fixed.

Indeed. It is early days, yet. I keep reminding myself that another "brand new technology" started to make itself felt around 1993... but true "mass adoption" didn't really happen till 2003-04... 11 years. Yes, I'm talking about the Internet. It was also a decade+ from the invention of PayPal (representing non-bank money transfers) till it became a commonly accepted method of payment...

Absolutely and I think that blockchains are very much like the internet in the way they change things!

A very good analogy of our situation.

It will take a long time to sort things out. Right now we still haven't even figured out which of the new crypto coins will even be around in 1 year. I still can't figure out why anyone would want to even get involved with "actual" bitcoin when you can already trade bitcoin on teh open U.S. equity exchanges. The OTC actually. But it is starting to pick up enough volume now so it should not be difficult at all to get a buy or sell order finished in a few seconds. This "bitcoin tracker" will at least be "tradable" until the world falls apart and bitcoin is the ONLY game in town...and that's a looong looooong loooong way away. get out 'safely"...get out quickly. With this.

http://bigcharts.marketwatch.com/advchart/frames/frames.asp?show=&insttype=&symb=gbtc&x=57&y=21&time=18&startdate=1%2F4%2F1999&enddate=2%2F18%2F2017&freq=7&compidx=aaaaa%3A0&comptemptext=&comp=none&ma=0&maval=9&uf=0&lf=1024&lf2=2&lf3=8&type=2&style=320&size=4&timeFrameToggle=false&compareToToggle=false&indicatorsToggle=false&chartStyleToggle=false&state=9

As you can see, same great returns as the "actual" bitcoin. And you can use GBTC to tell when the bitcoin price is about to drop. I have been posting commentary on it here at steemit.

To me WAVES DEX GUI looks like a copy of Bitshares wallet.

The basic idea is that the exchange or a central "site" never holds your money. You keep the money and hold it in your account until you make a trade.

If this is the case, the decentralized part of Bitshares is only when you are trading BTS and its derivates.

If you are using tokens issued by a gateway, then you are trusting that the gateway will let you trade and withdraw them. The gateway holds the actual tokens/fiat-currencies, not you.

Right - finally someone that can see this as well as me.

Yes the gateway part is an issue and I don't think there is any way around that at present. Atomic swaps may be a solution in the future.

Abundance of gateways would help a lot. But that doesn't seem to be happening. Even Bitshares has very limited choices.

Yes - I think Bitsquare doesn't use gateways (unless I'm mistaken) but I'm not sure exactly how they get around it. I assume they use some kind of mechanism by which their software straddles multiple blockchains?

Quick look: it seems to be a peer-to-peer system with multisig+arbitrators. Here is the whitepaper: https://bitsquare.io/bitsquare.pdf

Cool thanks! I will give it a read when I have a moment. I understand they may be looking at doing some kind of ICO so it could be something interesting to invest in.

I'm using Openledger/Bitshares DEX and it's cool and I get some bargain price sometimes.

Cool - I need to try using some of them more. Right now I'm just using Bittrex mainly.

A most excellent piece of work here, thanks a bunch for all this information. It is well needed at this point in time. Fully decentralized exchanges are going to become a necessity by the looks of it and the further the work in this direction the better for everyone.

All for one and one for all! Upvoted and resteemed! Namaste :)

Thank you for your kind words!

Fantastic job with this! I was thinking on similar lines recently. I hope more people use these exchanges. Btw, dont remember saying this before: Thank you so much for https://www.steemithelp.net/ I've been getting my friends to signup regularly on Steemit and its become increasingly difficult to mention it to them everytime how this complicated site works!

Thanks mate! Let me know if anyone is asking for any extra information on there as I continue to update it from time to time but it is hard to know what people want.

Certainly bro! I will be go through it in detail soon! Hopefully other people will learn about it and use it too! :)

Until more people use DEXs there won't be enough volume for many traders to use them,

and now that we know about, we can get them populated and trading!

great article!

I do many good trades BECAUSE of the low volume. Go figure.

if you are the only game in town, people play with your ball ;>

Patience, my friend. That is the key.

Thanks!

Exellent post and definitelly agree. We need this and we will have it!

I was always wondering how a decentralized exchange can perform wire transfers for fiat currencies. If this is solved then I believe we have reached the holy grail. More and more people will jump in since this is the biggest problem exchanges face right now.

excellent analysis as always :)

1

well, until then (and until we get people on board) what happens in between?

Well the fiat system is not ours, it's owned by the government and the banks.

So they will impose money transmitter license on any exchange, possibly require big insurance, AML/KYC schemes, maybe even direct tax reporting and collection.

It's not our playground, we can only play in our sandbox, but that system is theirs, we can't do anything about that.

What if it happens through a gray zone intermediate like ripple? :P

Ripple is already fully regulated, they have KYC and other nonsense in it.

The problem is that fiat currency, in electronic form, only exists in bank servers, and the government will make sure of that (as they shut down Libertydollar).

Because they don't like their trademark being infringed and people issuing alternative fiat currencies. So their game is only inside the banking system, which means that if you want to interact with the banking system, you have to play by their rules.

The whole point of the cryptocurrency space is to just bypass that. We can just have our own currency, why should we rely on theirs?

I think at some point they would have to play with the rules of the crypto.

All I am saying is that it would be easier for newcomers to join crypto if this option exists. the shift has to happen somehow. it will be harder with such a great divide.

Yes, I think sooner or later banks will join the crypto<>fiat exchange system, either by investing in regulated exchanges or creating their own. I'm worried that things like localbitcoins.com will be shut down eventually.

They will choke the exchanges. So that is why people should start accepting crypto in many stores, especially grocery stores.

I would really like to buy a meal for some Steem or things like that.

Thanks!

I was always wondering how a decentralized exchange can perform wire transfers for fiat currencies.

I think that is a problem and requires centralisation in the form of gateways who you deposit fiat money with, or rely on to exchange tokens back into fiat.

This is an issue that I don't think has been solved yet in a decentralised trustless manner (but I may be wrong so if someone has an answer please let us know).

I saw fiat gateways on openledger, but never use one. I don't know if thy're working or not.

I suspect they must work if people are using it.

Informative article @thecryptofiend I think I have ran across a few of these names and didn't realize they worked differently so this explanation was most interesting and something to consider in future, glad you brought up shapeshift as I was wondering how safe these are.

Shapeshift are pretty safe - they did get hacked in the past (due to someone internally I think) but nobody lost any money.

Coin Marketplace

STEEM 0.30
TRX 0.12
JST 0.033
BTC 64400.33
ETH 3140.71
USDT 1.00
SBD 3.93