paint-brush
Normie Series: What Is a DEX and How Does It Work?by@valuefirst
232 reads

Normie Series: What Is a DEX and How Does It Work?

by ValueFirstJuly 14th, 2022
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

Merriam-Webster defines Exchange as ‘the act of giving or taking one thing in return for another’ Decentralized exchanges allow people to swap crypto tokens directly with each other. DEXs allow trading without an intermediary and users don’t need to give up custody of their coins. CEXs are custodial. They hold user funds and digital currencies on the exchange and act as the. central authority that verifies and authorizes all transactions. DeX is relatively new, but they’re recording rapid growth.

People Mentioned

Mention Thumbnail

Companies Mentioned

Mention Thumbnail
Mention Thumbnail

Coin Mentioned

Mention Thumbnail
featured image - Normie Series: What Is a DEX and How Does It Work?
ValueFirst HackerNoon profile picture

To understand what a DEX means, a good place to start is the meaning of the word, what an Exchange is in the finance world, and then on to what a DEX is

The Word - Exchange

The Merriam-Webster Dictionary defines Exchange as “the act of giving or taking one thing in return for another”. This means many things can be exchanged including ideas, money, etc. Similar words include Swap, Trade, etc.

So What is An Exchange in the Finance World

According to InvestopediaAn Exchange “is a marketplace where securities, commodities, derivatives and other financial instruments are traded”. In other words, an exchange is a place where people meet to trade, either in a physical location or via an electronic platform(Internet). The keyword is Marketplace where people exchange stuff.


An Exchange will typically specify the characteristics of the items that they like to change and in what form or sizes for example Stock Exchanges sometimes require companies to meet a minimum threshold to be listed on their exchange. The advent of cryptocurrencies has seen the rise of a new kind of exchange focused on digital assets /cryptocurrencies.

Digital Asset-Focused Exchanges

This kind of exchange started in 2012 and they mainly exchange cryptocurrency and tokens. You will usually find many Cryptocurrencies and tokens on one blockchain. There are many different blockchains each with its own sets of cryptocurrencies, just as you will find a currency in a country and there are many countries each country with its currency


Only Cryptocurrencies and tokens on the same blockchain can be exchanged for each other although this is changing. To execute these exchanges you can either use a

  1. Centralized Exchange (CEX) OR
  2. Decentralized Exchange(DEX)


Keyword- Centralized. According to Binance Academy- When a system is centralized, it means that the planning and decision-making mechanisms are concentrated at a particular point within the system.


DEX vs CEX by Valuefirst

A Centralized Exchange (CEX)

According to Business Matters - A centralized exchange is operated or controlled by a single authority. It is responsible for executing transactions, holding ledgers, securing user data, and much more. CEXs are custodial. They hold user funds and digital currencies on the exchange and act as the central authority that verifies and authorizes all transactions. In addition, they also take care of the financial infrastructure as a whole and provide a wide range of services


This form of exchange is similar to traditional asset exchanges like stock exchanges. Examples of traditional exchanges include the New York Stock Exchange and the London Metal Exchange. In the crypto sector, CEXs include Binance, Coinbase, Gemini, and Kraken

A Decentralized Exchange(DEX)

According to decrypt.io - Decentralized exchanges allow people to swap crypto tokens directly with each other. DEXs allow trading without an intermediary and users don’t need to give up custody of their coins. However, you are responsible for the security of your digital assets.


On a decentralized exchange, peer-to-peer (P2P) trades are facilitated by smart contracts. Smart contracts are simply tamper-resistant programs on the blockchain that automatically self-execute upon certain conditions being met.


A DEX smart contract is custom-tailored to efficiently match crypto buyers and sellers, once a match is found the transaction is executed from one person to person without an intermediary and withholding of any party’s digital assets.  Source Defiplus


DEX is relatively new, but they’re recording rapid growth. The first modern DEX, Bancor, started in 2017, others include Balancer, Curve, Uniswap, and Sushi.


The Differences Between a DEX and CEX by Business Matters


Decentralized Exchanges

Centralized Exchanges

Control

A decentralized exchange doesn’t let any 3rd party or an authority control or look over the system

A centralized platform tends to be controlled by a single authority. It takes care of the maintenance too

Security

A decentralized exchange is much more secure because it does not hold assets they only facilitate the exchange or trade or Swap, although its code can be hacked also.

The overall security of a centralized exchange is a little less prominent. It is also quite easy to hack

Usability

It’s a little tricky to use, even if you have some sort of prior knowledge about the system. Steep learning curve

Using a centralized exchange is as easy as it gets. Think about ATMs and debit cards. Yes, its that easy

Liquidity

Making money from a decentralized currency is, indeed, difficult. So, its liquidity rating tends to be quite low

You can get money from a centralized exchange whenever you want. Just make the request and you’ll get the money almost instantly

Transaction Speed

Usually, the transaction speed of a decentralized ecosystem is quicker than usual. It doesn’t fall under any kind of road bump as well

The transaction speed of a centralized exchange is decent as well. But, with regards to efficiency, it doesn’t fare well against its direct rival


Allows Money for Crypto and Crypto to Crypto

Allows only Crypto to Crypto on the same blockchain

Anonymity

No Anonymity you have to submit to KYC

You are anonymous on a decentralized blockchain

Support

Have Support

No Support, you are fully in control, if you make a mistake you are on your own

According to Coindesk, Exchanges are the most valuable businesses in the crypto world, according to a 2021 report by global accountancy KPMG. And that as of February 2022, CEXs are still far more common than decentralized exchanges (DEXs). KPMG found that they accounted for around 95% of exchange crypto trading. The largest crypto exchange in the world is Binance, which is centralized.