SYS-CON MEDIA Authors: Yeshim Deniz, Elizabeth White, Pat Romanski, Liz McMillan, William Schmarzo

Blog Feed Post

How Decentralized Exchanges Enable Trustless Trade on Blockchain Networks

For the longest time, people used to trade tokens and cryptocurrencies in centralized exchanges.

It was convenient: the exchanges matched and executed orders automatically and provided a processing speed which most blockchains could never pull of – not with their complex block validation.

But, at the same time, they were vulnerable as, in fact, all centralized databases are.

ShapeShift, Cryptsy, Colbitex, Coinflip… it’s hard to even to count all the traditional exchanges that either fell victim to hacking or were shut down by regulators over the last few years. And this caused utter panic; people lost millions of dollars worth of crypto assets.

Now, the conventional trading procedure, which cryptocurrency enthusiast are so familiar with, is about to be redefined. There are hundreds of new tokens on blockchains, spawned predominantly by the ICO craze, and soon we may be trading them, securely and hassle-free, using decentralized exchanges (DEXs).

Decentralized Exchanges on Ethereum

Decentralized Exchanges on Ethereum

On the Ethereum network, where most of the new tokens are traded, there now exist a few types of decentralized exchanges. They all share one trait – using smart contracts to execute settlement – but differ in how they approach maintaining orders.

The most popular ones, such as EtherDelta and 0x, still provide an order book for buyers and sellers that’s, in a way, centralized and is handled off chain; the way they work, therefore, is this:

  • A person submits a (buy/sell) request to a relayer which hosts an order book (which can be administered in a centralized or decentralized fashion)
  • An interested party on the other end digitally signs it and creates a counterorder
  • Both orders are then sent to a smart contract on Ethereum, which executes the transaction and transfers crypto assets between users’ wallets.

Unlike centralized exchanges, DEXs let users have control over their crypto assets at all times
Click To Tweet


Unlike centralized exchanges, DEXs let users have control over their crypto assets at all times: they give out personal keys and allow a buyer (or a seller) to retract their funds from a smart contract should they change their mind and decide not to proceed with a transaction.

They resolve risks of hacking and scrutiny from regulators, which centralized exchanges are so prone to, by having smart contracts take care of order clearing. They also enable global trade, as anyone in any country could post to their order books, and reduce the friction of the procedure by eliminating registrations and signups.

As of now, decentralized exchanges are typically designed as frontend apps (see EtherDelta). However, in the not-too-distant future, experts say, they might only have programmatic interfaces and become mere nodes in p2p networks that match orders with other orders.

Unlike EtherDelta that just has one relayer service and an order book that it fully controls, decentralized exchange protocols, like 0x, allow anyone to become a relayer and set up their own exchanges.

These relayers can then collect fees for matching orders – the process similar to mining, but designed to facilitate the trade of different tokens.

Besides, there are exchanges on Ethereum that avoid the order book functionality altogether. KyberNetwork, for example, has introduced a solution that allows people to send a token in and get another one out without a relayer, anonymously.

The company will maintain reserves of various tokens and cryptocurrency, to which anyone will be able to contribute, and thus ensure tokens’ liquidity. It plans to be the sole manager of these reserves initially, regulating the exchange rates and listing or delisting tokens, but claims to give administrative rights to others too as their reserves grow bigger.

To become a reserve manager though, one will have to go through a KYC process with KyberNetwork, which to some might seem a bit off-putting.

What are the Drawbacks of Using Decentralized Exchanges?

What are the Drawbacks of Using Decentralized Exchanges

It is still early days, and though the concept indeed seems promising, the adoption of decentralized exchanges has not been large-scale yet. There are quite a few risks associated with the technology, which its developers should think through carefully, and, mostly, the hidden dangers are related to potential arbitrage and frontrunning.

Since automated matching on the majority of decentralized exchanges is sacrificed for the sake of security, things might occasionally get out of sync. For instance, an order might appear valid in an off-chain orderbook, when, in fact, it’s already been fulfilled on the blockchain. This might result in your paying a gas fee for submitting an order to the network and losing funds for nothing when it fails.

Arbitrage, as we’ve mentioned, is one of the primary concerns too. In the light of constant fluctuations on the crypto market, and the fact that users are unable to cancel transactions instantly, there is a temptation for bad actors to fill and manipulate stale orders to their advantage. When you attempt to call off a signed order, you must submit a cancellation transaction to the blockchain, which means paying a gas fee to miners for the execution. But an arbitrageur can beat you to it; they can offer more gas to validators and thus get ahead of you in the transaction race.

Miners, too, can act maliciously. Since all of your canceled orders are visible before the transaction takes place, validators can execute them with themselves as a counterparty. So, a token you wanted to buy yesterday, but that has become worthless today, might still be sold to you by a dishonest miner, even though you canceled the deal. And you’ll still have to pay a gas price for the failed cancellation.

To conclude

With new tokens being poured into the blockchain ecosystem at a frenetic pace; with centralized exchanges’ being unsafe and refusing to list them, it’s obvious that there is now a market fit for DEXs. We should, therefore, expect to hear new loud names entering the exchange game presently, and, since the competition is firing up, the new cool tech that’ll have all the systemic issues fixed will certainly be developed soon too.

Thinking to launch your company’s own decentralized exchange? Reach out to us for a free consultation; we can help you bring your idea to life.

The post How Decentralized Exchanges Enable Trustless Trade on Blockchain Networks appeared first on Perfectial.

Read the original blog entry...

More Stories By Rostyslav Demush

Ross Demush is a digital marketing specialist at custom software development company Perfectial, a leading provider of web & mobile development services, specializing in FinTech, Real Estate, Media & Entertainment & eLearning.

Latest Stories
Your job is mostly boring. Many of the IT operations tasks you perform on a day-to-day basis are repetitive and dull. Utilizing automation can improve your work life, automating away the drudgery and embracing the passion for technology that got you started in the first place. In this presentation, I'll talk about what automation is, and how to approach implementing it in the context of IT Operations. Ned will discuss keys to success in the long term and include practical real-world examples. Ge...
ClaySys Technologies is one of the leading application platform products in the ‘No-code' or ‘Metadata Driven' software business application development space. The company was founded to create a modern technology platform that addressed the core pain points related to the traditional software application development architecture. The founding team of ClaySys Technologies come from a legacy of creating and developing line of business software applications for large enterprise clients around the ...
CloudEXPO | DevOpsSUMMIT | DXWorldEXPO Silicon Valley 2019 will cover all of these tools, with the most comprehensive program and with 222 rockstar speakers throughout our industry presenting 22 Keynotes and General Sessions, 250 Breakout Sessions along 10 Tracks, as well as our signature Power Panels. Our Expo Floor will bring together the leading global 200 companies throughout the world of Cloud Computing, DevOps, IoT, Smart Cities, FinTech, Digital Transformation, and all they entail.
Eric Taylor, a former hacker, reveals what he's learned about cybersecurity. Taylor's life as a hacker began when he was just 12 years old and playing video games at home. Russian hackers are notorious for their hacking skills, but one American says he hacked a Russian cyber gang at just 15 years old. The government eventually caught up with Taylor and he pleaded guilty to posting the personal information on the internet, among other charges. Eric Taylor, who went by the nickname Cosmo...
Most modern computer languages embed a lot of metadata in their application. We show how this goldmine of data from a runtime environment like production or staging can be used to increase profits. Adi conceptualized the Crosscode platform after spending over 25 years working for large enterprise companies like HP, Cisco, IBM, UHG and personally experiencing the challenges that prevent companies from quickly making changes to their technology, due to the complexity of their enterprise. An accomp...
The benefits of automated cloud deployments for speed, reliability and security are undeniable. The cornerstone of this approach, immutable deployment, promotes the idea of continuously rolling safe, stable images instead of trying to keep up with managing a fixed pool of virtual or physical machines. In this talk, we'll explore the immutable infrastructure pattern and how to use continuous deployment and continuous integration (CI/CD) process to build and manage server images for any platfo...
DevOpsSUMMIT at CloudEXPO, to be held June 25-26, 2019 at the Santa Clara Convention Center in Santa Clara, CA – announces that its Call for Papers is open. Born out of proven success in agile development, cloud computing, and process automation, DevOps is a macro trend you cannot afford to miss. From showcase success stories from early adopters and web-scale businesses, DevOps is expanding to organizations of all sizes, including the world's largest enterprises – and delivering real results. Am...
Nicolas Fierro is CEO of MIMIR Blockchain Solutions. He is a programmer, technologist, and operations dev who has worked with Ethereum and blockchain since 2014. His knowledge in blockchain dates to when he performed dev ops services to the Ethereum Foundation as one the privileged few developers to work with the original core team in Switzerland.
It cannot be overseen or regulated by any one administrator, like a government or bank. Currently, there is no government regulation on them which also means there is no government safeguards over them. Although many are looking at Bitcoin to put money into, it would be wise to proceed with caution. Regular central banks are watching it and deciding whether or not to make them illegal (Criminalize them) and therefore make them worthless and eliminate them as competition. ICOs (Initial Coin Offer...
Andrew Keys is Co-Founder of ConsenSys Enterprise. He comes to ConsenSys Enterprise with capital markets, technology and entrepreneurial experience. Previously, he worked for UBS investment bank in equities analysis. Later, he was responsible for the creation and distribution of life settlement products to hedge funds and investment banks. After, he co-founded a revenue cycle management company where he learned about Bitcoin and eventually Ethereal. Andrew's role at ConsenSys Enterprise is a mul...
René Bostic is the Technical VP of the IBM Cloud Unit in North America. Enjoying her career with IBM during the modern millennial technological era, she is an expert in cloud computing, DevOps and emerging cloud technologies such as Blockchain. Her strengths and core competencies include a proven record of accomplishments in consensus building at all levels to assess, plan, and implement enterprise and cloud computing solutions. René is a member of the Society of Women Engineers (SWE) and a m...
Sanjeev Sharma Joins November 11-13, 2018 @DevOpsSummit at @CloudEXPO New York Faculty. Sanjeev Sharma is an internationally known DevOps and Cloud Transformation thought leader, technology executive, and author. Sanjeev's industry experience includes tenures as CTO, Technical Sales leader, and Cloud Architect leader. As an IBM Distinguished Engineer, Sanjeev is recognized at the highest levels of IBM's core of technical leaders.
We are in a digital age however when one looks for their dream home, the mortgage process can take as long as 60 days to complete. Not what we expect in a time where processes are known to take place swiftly and seamlessly. Mortgages businesses are facing the heat and are in immediate need of upgrading their operating model to reduce costs, decrease the processing time and enhance the customer experience. Therefore, providers are exploring multiple ways of tapping emerging technologies to solve ...
If a machine can invent, does this mean the end of the patent system as we know it? The patent system, both in the US and Europe, allows companies to protect their inventions and helps foster innovation. However, Artificial Intelligence (AI) could be set to disrupt the patent system as we know it. This talk will examine how AI may change the patent landscape in the years to come. Furthermore, ways in which companies can best protect their AI related inventions will be examined from both a US and...
This session describes how Professional Services organisations can deliver within Technology-as-a-Service (IaaS) constructs, in private and public enterprise cloud scenarios. See how professional services can be packaged and funded by IaaS cash flows, based upon consumption of technology services. Learn how significant, IT infrastructure transformations can be funded through OPEX spending models with multi-year As-a-Services based contracts. Understand how the automation of repeatable services c...