{"id":2893,"date":"2018-09-01T18:18:32","date_gmt":"2018-09-01T18:18:32","guid":{"rendered":"https:\/\/atozcrypto.org\/?p=2893"},"modified":"2018-09-01T18:27:02","modified_gmt":"2018-09-01T18:27:02","slug":"what-is-a-dex-decentralized-exchanges-explained","status":"publish","type":"post","link":"https:\/\/atozcrypto.org\/what-is-a-dex-decentralized-exchanges-explained\/","title":{"rendered":"What Is a DEX? Decentralized Exchanges, Explained"},"content":{"rendered":"
\"\"<\/a>
First Published 28 AUGUST 2018 By BENNETT GARNER – coincentral.com<\/a><\/figcaption><\/figure>\n

A DEX is a decentralized exchange, and is essentially a new type of pair matching that allows people to place orders and trade cryptocurrencies without an intermediary institution managing the ledger or controlling user funds.<\/p>\n

Cryptocurrencies excited a lot of people because they created a way to trade value without the need for intermediaries. Blockchain technology allows strangers to trust one another without the need for a central institution. It\u2019s an amazing technology with the potential to change the way we structure our economy and the way we think about trade.<\/p>\n

\"\"<\/a>
DON\u2019T SPEND A PENNY ON BITCOIN WITHOUT FIRST READING THIS EBOOK!<\/figcaption><\/figure>\n

The challenge, of course, is in order to enter the ecosystem you need to purchase some cryptocurrency using a currency you already have (dollars, euros, etc). Typically, you\u2019d do so at one of the major exchanges, like\u00a0Coinbase<\/a>\u00a0or\u00a0Kraken<\/a>. However, those are both centralized institutions.<\/p>\n

They take your information, manage your accounts, and are vulnerable to slowdowns or outright attacks. Using centralized exchanges to buy cryptocurrency is an ironic experience. In order to enter a trustless, decentralized ecosystem, you have to trust a centralized institution.<\/p>\n

DEXs seek to change that experience, offering users ways to find one another and trade directly on-chain. No major DEX has a fiat gateway so far, but many competitors have built decentralized exchanges that allow for crypto-to-crypto trading. In this comprehensive guide, we\u2019ll examine what a DEX is, the benefits and drawbacks of such an approach, and who the major players are in the race to build viable DEX platforms.<\/p>\n

Custodial vs. Non-Custodial, Centralized vs. Decentralized<\/b><\/h2>\n

In order to understand DEXs, it\u2019s important to realize that cryptocurrency exchanges exist on two basic axes: custody and centralization.<\/p>\n

\"\"<\/p>\n

Custody<\/h3>\n

Custody refers to who holds the keys to accounts on the exchange. When you buy a Bitcoin on Coinbase, for example, it shows up in your Coinbase account, but you don\u2019t actually own and control that Bitcoin yet. You need to request a transfer off Coinbase to an external wallet address that you control before the Bitcoin is really yours. If Coinbase is attacked, slowed down, or has technical issues, you don\u2019t have recourse to secure your Bitcoin. This has been a problem so often with many exchanges that \u201cfunds are safe\u201d has become a meme in the community as exchange operators attempt to reassure users in the wake of system problems.<\/p>\n

A non-custodial exchange leaves all funds in the private wallets of its users. Users can then submit and confirm trades on their own from their personal wallets, essentially using the exchange as a matching service. An in-between solution involves users submitting funds to open source, verified smart contracts that execute when a match is made and can be canceled at any time. This has the advantage of security and automation, but there is a period of time where funds aren\u2019t in users\u2019 wallets. If there\u2019s an issue with the contract, the funds could disappear.<\/p>\n

Centralization<\/h3>\n

Centralization refers to where the order matching, routing, and execution take place. In a centralized exchange, there\u2019s a proprietary order book that reviews all incoming orders and creates matches between users. The exchange software and servers then execute the transaction.<\/p>\n

Decentralized exchanges operate on a network of computers. Some function directly on-chain through the use of smart contracts. Others rely on second-layer networks of trusted nodes, known as relayers, to find and make order matches.<\/p>\n

\"\"<\/p>\n

According to\u00a0Tom Goldenberg<\/a>\u00a0writing at CoinDesk, 99 percent of trading volume takes place on centralized exchanges. Of these, 73 percent are custodial. The implication, here, is\u00a0the vast majority of crypto trading happens through centralized institutions.<\/strong>\u00a0To some, this is an enormous shortcoming of the cryptocurrency space, building the decentralized future atop centralized exchange providers.<\/p>\n

For others, it seems obvious that an exchange should be centralized. In fact, many have argued that \u201cdecentralized exchange\u201d is an oxymoron. After all, an exchange is a gathering point where people congregate to trade. Of course, it should be a single entity to quickly facilitate transactions.<\/p>\n

As with most debates, both sides have merit to their arguments. The challenges of building a great non-custodial DEX are highly nuanced, but the benefits are also difficult to deny.<\/p>\n

\"\"<\/a><\/p>\n

Benefits of DEXs<\/b><\/h2>\n

Trading on a DEX comes with many benefits that make it attractive to cryptocurrency users. Most importantly, DEXs disintermediate the exchange ecosystem, removing middlemen and allowing free, direct trade between parties. This fits with the decentralizing philosophy and mission of crypto generally. That alone makes DEXs a rallying cry for the decentralization-at-any-cost, libertarian diehards, of which the crypto community has a fair few.<\/p>\n

But there are other benefits to DEXs that the average user might also find attractive.<\/p>\n

1. Anonymity<\/h3>\n

Since DEXs in their purest form use only blockchain information, all you need to share in order to use a DEX is a public address. Most centralized exchanges require a complete signup process with name, email, and even bank account information. Even anonymous crypto-to-crypto exchanges still require location information and other personal details to comply with government regulations and restrictions.<\/p>\n

That said, if DEXs come to greater prominence, they\u2019ll likely meet up against regulators. Most DEX creators plan to say they\u2019re only releasing open source software and are not liable for what the community does with that software, thus avoiding the KYC and AML issues. However, it remains to be seen if that argument holds up legally long-term, especially if damages result from a poorly written smart contract or security flaw.<\/p>\n

2. Control of Funds<\/h3>\n

DEXs are generally, but not necessarily, non-custodial. As a result, users keep control of their funds throughout the entire transfer process until the moment of exchange, when a smart contract executes the signed trade. No more \u201cfunds are safu\u201d messages. Keeping your funds safe is your own responsibility of a DEX.<\/p>\n

3. Hacks<\/h3>\n

\"\"<\/p>\n

Since a DEX exists across a network of computers, it becomes much more complicated to attack. There\u2019s no single point of entry or failure. This makes DEXs exponentially more secure. It also makes them more difficult to design and test, which is one of the reasons why DEX development has been slow to date.<\/p>\n

4. Downtime<\/h3>\n

Because there\u2019s no single point of failure in a distributed exchange, there\u2019s less chance of DEX going down. Rollouts of updates happen on a node-by-node basis. Even if individual nodes have to go down due to maintenance or an attack, the remaining nodes can still operate the exchange network.<\/p>\n

\"\"<\/p>\n

Drawbacks of DEXs<\/b><\/h2>\n

DEXs are inherently more complicated than their centralized counterparts. This leads to challenges in implementation and usability that major DEXs have yet to fully address.<\/p>\n

1. Usability<\/h3>\n

The first and biggest challenge is user-friendliness. Creating an account on a major centralized exchange is a fairly straightforward process, and it functions much like banking and brokerage applications that users are familiar with. On the other hand, using a DEX requires connecting to a\u00a0dapp<\/a>\u00a0or even installing a standalone DEX client.<\/p>\n

At its simplest, you may only need to set up a\u00a0MetaMask<\/a>\u00a0wallet, fund that wallet, then connect with an Ethereum-based DEX dapp. At its most complicated, you might have to set up an independent node and stay online for long periods of time to sign transactions.<\/p>\n

2. Simplified Trading Tools<\/h3>\n

Centralized exchanges offer advanced tools like options and margin trading. These simply aren\u2019t possible for today\u2019s DEXs. Trading on a DEX typically includes buy or sell orders only.<\/p>\n

3. Low Liquidity<\/h3>\n

DEXs represent about one percent of the cryptocurrency market\u2019s trading volume. As a result, only low volume trading of popular coins is possible. There\u2019s not enough liquidity to allow for high-volume trading, and there are no centralized institutions providing market maker services.<\/p>\n

4. Latency<\/h3>\n

When you make a trade on an exchange, you want as close to instant execution as possible. Otherwise, you could miss out on a price change. Unfortunately, DEXs so far have shown slow cancelation and slow order processing times, since all requests have to propagate across the decentralized network. As a result, price slipping\u2013price changes between order time and execution time\u2013is common.<\/p>\n

5. Front-running\"\"<\/h3>\n

Because you must broadcast your intentions to the entire network in order to execute a trade, it\u2019s possible for bad actors on the network with fast connections to jump ahead of you in line and buy up coins at a lower price in order to sell them back to you. Known as front-running, this practice undermines the fairness of the exchange. There\u2019s no real way to make sure miners or relayers on a decentralized exchange can\u2019t jump in line for orders. Currently, DEX creators are working on potential solutions that involve signatures or collateral, but no concrete solution exists thus far.<\/p>\n

6. Real Decentralization?<\/h3>\n

Some DEXs still require you to hand over custody of your coins. Others involve small, centralized node networks of relayers. Still, others run an off-chain order book that must be maintained somehow by third-party entities. These caveats all subvert the exchanges\u2019 claims of decentralization.<\/p>\n

Top DEX Projects<\/b><\/h2>\n

\"\"<\/p>\n

While DEXs only make up one percent of the total market trading volume, there are still quite a few projects in the space.<\/p>\n

EtherDelta<\/a>\u00a0and\u00a0IDEX<\/a>\u00a0are two of the most established decentralized exchanges. They\u2019re limited to tokens built on Ethereum, and they both have some first-generation usability issues. More recent entrants, like Bitsquare, Bitshares,\u00a0Waves DEX<\/a>, and\u00a00x<\/a>\u00a0have greater flexibility for more coins and features. Each platform comes with its own challenges for usability, future developments, and liquidity as well.<\/p>\n

These are just a few of the many projects attempting to decentralize coin transfers. Other projects are working on\u00a0atomic swaps<\/a>, instant order processing, and integrations for second-tier technologies like\u00a0Lightning Network<\/a>\u00a0to make DEXs more usable.<\/p>\n

The Future of Decentralized Exchanges<\/b><\/h2>\n

There are still major technical hurdles facing DEXs moving forward, and complete decentralization isn\u2019t possible or even desirable. Most likely, a hybrid model will prevail where the speed and front-running protections of a centralized order book meet the security and non-custodial nature of decentralized solutions.<\/p>\n

Atomic swaps, Lightning, and other layered solutions will make the transition and hybridization easier. It\u2019s also still unclear the role regulation will play in all this, and perhaps exchanges will still need centralized authorities to collect KYC information and answer to government regulators.<\/p>\n

Ultimately, the technology behind today\u2019s DEXs will drive a wave of innovation in the ways coins get traded. We\u2019ll see fewer security issues as exchanges diversify their network of nodes and greater coin custody for exchange users. The perfect DEX is probably imaginary, but if development continues, we\u2019ll get a lot closer to fair, fast, cheap, and secure coin trading.<\/p>\n

\"\"<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"

A DEX is a decentralized exchange, and is essentially a new type of pair matching that allows people to place orders and trade cryptocurrencies without an intermediary institution managing the ledger or controlling user funds. Cryptocurrencies excited a lot of people because they created a way to trade value without the need for intermediaries. Blockchain …<\/p>\n","protected":false},"author":1,"featured_media":2894,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"pgc_meta":"","_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0},"categories":[17,59],"tags":[],"aioseo_notices":[],"yoast_head":"\nWhat Is a DEX? Decentralized Exchanges, Explained - AtoZcrypto<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/atozcrypto.org\/what-is-a-dex-decentralized-exchanges-explained\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"What Is a DEX? Decentralized Exchanges, Explained - AtoZcrypto\" \/>\n<meta property=\"og:description\" content=\"A DEX is a decentralized exchange, and is essentially a new type of pair matching that allows people to place orders and trade cryptocurrencies without an intermediary institution managing the ledger or controlling user funds. Cryptocurrencies excited a lot of people because they created a way to trade value without the need for intermediaries. Blockchain …\" \/>\n<meta property=\"og:url\" content=\"https:\/\/atozcrypto.org\/what-is-a-dex-decentralized-exchanges-explained\/\" \/>\n<meta property=\"og:site_name\" content=\"AtoZcrypto\" \/>\n<meta property=\"article:published_time\" content=\"2018-09-01T18:18:32+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2018-09-01T18:27:02+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/atozcrypto.org\/wp-content\/uploads\/2018\/09\/atozDex.png\" \/>\n\t<meta property=\"og:image:width\" content=\"874\" \/>\n\t<meta property=\"og:image:height\" content=\"437\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"AtoZcrypto\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"AtoZcrypto\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"9 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/atozcrypto.org\/what-is-a-dex-decentralized-exchanges-explained\/\",\"url\":\"https:\/\/atozcrypto.org\/what-is-a-dex-decentralized-exchanges-explained\/\",\"name\":\"What Is a DEX? Decentralized Exchanges, Explained - AtoZcrypto\",\"isPartOf\":{\"@id\":\"https:\/\/atozcrypto.org\/#website\"},\"datePublished\":\"2018-09-01T18:18:32+00:00\",\"dateModified\":\"2018-09-01T18:27:02+00:00\",\"author\":{\"@id\":\"https:\/\/atozcrypto.org\/#\/schema\/person\/4385199dcdeec6bd69b0fb4158673b0b\"},\"breadcrumb\":{\"@id\":\"https:\/\/atozcrypto.org\/what-is-a-dex-decentralized-exchanges-explained\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/atozcrypto.org\/what-is-a-dex-decentralized-exchanges-explained\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/atozcrypto.org\/what-is-a-dex-decentralized-exchanges-explained\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/atozcrypto.org\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"What Is a DEX? Decentralized Exchanges, Explained\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/atozcrypto.org\/#website\",\"url\":\"https:\/\/atozcrypto.org\/\",\"name\":\"AtoZcrypto\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/atozcrypto.org\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/atozcrypto.org\/#\/schema\/person\/4385199dcdeec6bd69b0fb4158673b0b\",\"name\":\"AtoZcrypto\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/atozcrypto.org\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/e2c8254f59dd013c234edbb46471dfe8?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/e2c8254f59dd013c234edbb46471dfe8?s=96&d=mm&r=g\",\"caption\":\"AtoZcrypto\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"What Is a DEX? Decentralized Exchanges, Explained - AtoZcrypto","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/atozcrypto.org\/what-is-a-dex-decentralized-exchanges-explained\/","og_locale":"en_US","og_type":"article","og_title":"What Is a DEX? Decentralized Exchanges, Explained - AtoZcrypto","og_description":"A DEX is a decentralized exchange, and is essentially a new type of pair matching that allows people to place orders and trade cryptocurrencies without an intermediary institution managing the ledger or controlling user funds. Cryptocurrencies excited a lot of people because they created a way to trade value without the need for intermediaries. Blockchain …","og_url":"https:\/\/atozcrypto.org\/what-is-a-dex-decentralized-exchanges-explained\/","og_site_name":"AtoZcrypto","article_published_time":"2018-09-01T18:18:32+00:00","article_modified_time":"2018-09-01T18:27:02+00:00","og_image":[{"width":874,"height":437,"url":"https:\/\/atozcrypto.org\/wp-content\/uploads\/2018\/09\/atozDex.png","type":"image\/png"}],"author":"AtoZcrypto","twitter_card":"summary_large_image","twitter_misc":{"Written by":"AtoZcrypto","Est. reading time":"9 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/atozcrypto.org\/what-is-a-dex-decentralized-exchanges-explained\/","url":"https:\/\/atozcrypto.org\/what-is-a-dex-decentralized-exchanges-explained\/","name":"What Is a DEX? Decentralized Exchanges, Explained - AtoZcrypto","isPartOf":{"@id":"https:\/\/atozcrypto.org\/#website"},"datePublished":"2018-09-01T18:18:32+00:00","dateModified":"2018-09-01T18:27:02+00:00","author":{"@id":"https:\/\/atozcrypto.org\/#\/schema\/person\/4385199dcdeec6bd69b0fb4158673b0b"},"breadcrumb":{"@id":"https:\/\/atozcrypto.org\/what-is-a-dex-decentralized-exchanges-explained\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/atozcrypto.org\/what-is-a-dex-decentralized-exchanges-explained\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/atozcrypto.org\/what-is-a-dex-decentralized-exchanges-explained\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/atozcrypto.org\/"},{"@type":"ListItem","position":2,"name":"What Is a DEX? Decentralized Exchanges, Explained"}]},{"@type":"WebSite","@id":"https:\/\/atozcrypto.org\/#website","url":"https:\/\/atozcrypto.org\/","name":"AtoZcrypto","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/atozcrypto.org\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/atozcrypto.org\/#\/schema\/person\/4385199dcdeec6bd69b0fb4158673b0b","name":"AtoZcrypto","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/atozcrypto.org\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/e2c8254f59dd013c234edbb46471dfe8?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/e2c8254f59dd013c234edbb46471dfe8?s=96&d=mm&r=g","caption":"AtoZcrypto"}}]}},"post_mailing_queue_ids":[],"_links":{"self":[{"href":"https:\/\/atozcrypto.org\/wp-json\/wp\/v2\/posts\/2893"}],"collection":[{"href":"https:\/\/atozcrypto.org\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/atozcrypto.org\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/atozcrypto.org\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/atozcrypto.org\/wp-json\/wp\/v2\/comments?post=2893"}],"version-history":[{"count":6,"href":"https:\/\/atozcrypto.org\/wp-json\/wp\/v2\/posts\/2893\/revisions"}],"predecessor-version":[{"id":2905,"href":"https:\/\/atozcrypto.org\/wp-json\/wp\/v2\/posts\/2893\/revisions\/2905"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/atozcrypto.org\/wp-json\/wp\/v2\/media\/2894"}],"wp:attachment":[{"href":"https:\/\/atozcrypto.org\/wp-json\/wp\/v2\/media?parent=2893"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/atozcrypto.org\/wp-json\/wp\/v2\/categories?post=2893"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/atozcrypto.org\/wp-json\/wp\/v2\/tags?post=2893"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}