elementary
PublishedSep 28, 2020Updated on Feb 1, 20239m
Summary
You probably already know all the processes of a cryptocurrency trading platform. Please use your email address to register and set a strong password. After the account verification is completed, you can start trading cryptocurrencies.
The operation of the decentralized trading platform is so simple, abandoning the cumbersome registration process. In most cases, there is no need to deposit or withdraw cryptocurrencies. Because transactions generally take place directly within the wallets of both users, third-party intervention (if any!) is limited.
While decentralized exchanges can be difficult to master and they may not necessarily provide the assets you need, as technology develops and user interest grows, decentralized exchanges have the potential to become unmatched in the cryptocurrency space. missing component.
Table of contents
When Bitcoin was first developed, exchanges became an important platform for matching buyers and sellers of cryptocurrencies . Without these forums attracting a global user base, we would be far less liquid and unable to agree on the right price for an asset.
Traditionally, centralized players have dominated this field. However, with the rapid development of the available technology stack, a large number of decentralized exchange tools continue to emerge.
In this article, we'll take a deep dive into decentralized exchanges (DEXs), where no intermediaries are involved.
In theory, transactions between peers can constitute a decentralized transaction ( atomic transaction analysis ). But in this article, we are more interested in platforms that simulate the functionality of centralized exchanges. Their biggest difference is that the backend is on the blockchain . No one else will take over your funds, and you don't have to give trading platforms the same trust as centralized products.
You can deposit currency or fiat currency (by bank transfer or credit/debit card) or cryptocurrency through a common centralized exchange . If you're depositing cryptocurrency, you're giving up control of it. But this renunciation is from a technical point of view, not from a usage point of view, you can still trade or withdraw coins, but you cannot use these cryptocurrencies on the blockchain,
You no longer have the private key to your funds , which means that when you withdraw, you should ask the exchange to sign the transaction on your behalf. When you make a transaction, this process does not happen on-chain, instead, the trading platform assigns the balance to the user in its own database.
The entire workflow is super streamlined, because the slow speed of the blockchain will not affect the success or failure of the transaction, and all transactions will occur in a single entity system. Buying and selling cryptocurrencies is more efficient and there are more tools at your disposal.
But this kind of operation loses a certain independence: you need to put your money in the trading platform and give it your full trust. Therefore, you may be exposed to a range of counterparty risks. What if the team steals your hard-earned bitcoins? What if hackers attack the system and take all the funds away?
For many users, this level of risk is acceptable. As long as they trust these reputable trading platforms with excellent track records and precautions, they can mitigate the risk of data breaches.
The nature of DEXs and their centralized competitors is polarized, with some aspects very similar and others very different. First, we will find that there are several different types of decentralized exchanges available to users. The commonality between these platforms is that orders are executed on-chain (using smart contracts ), and users do not need to relinquish custody of funds in any case .
While some operations are already done in cross-chain DEXs, most commonly they operate around assets on a single blockchain such as Ethereum or Binance Chain . Even in some decentralized exchanges, everything is done on-chain (we'll talk about intermixing methods shortly). Every order (and its changes and cancellations) is written to the blockchain. This is obviously a very transparent way, because you don't need to trust a third party to pass the order to you, and order confusion is impossible.
Unfortunately, this is also the most impractical approach. Because you must require each node on the network to record order information at any time, and you will pay the fee in the end. You need to wait until the miners add your information to the blockchain, which means that the process you experience is cumbersome and complicated.
Some see front- running as a flaw in the model. Front-running occurs when insiders learn the details of a pending deal and use that knowledge to pre-empt a deal before it actually takes place. Therefore, front-runners can benefit from information that is not known to the general public. Generally, this is illegal.
Of course, if all transactions were published on the global ledger, there would be no traditional front-running opportunities. However, criminals can still deploy a different kind of attack: In this mode, miners can see the details of the order while it is in an unconfirmed state, and then they will first ensure that their order is added to the blockchain first .
On-chain order book models include decentralized exchanges like Stellar and Bitshares.
➠Want to start the digital currency journey? Welcome to Binance to buy Bitcoin!

