SlideShare a Scribd company logo
Decentralised
Exchanges
An Introduction
by
Priya Satoshi
About Me
• Blockchain & Cryptocurrency Enthusiast
• Blogger
• Researcher
• Where to find:
• Twitter @twitmyreview
• Medium: https://medium.com/crypt-bytes-tech
• Slideshare: https://www.slideshare.net/PriyabrataDash2

Agenda
• What are Centralised Exchanges
• Issues with Centralised Exchanges
• What are Decentralised Exchanges
• Benefits & Issues of DEX
• Examples of DEX
• Q&A
• What are Centralised Exchanges
• Centralised cryptocurrency exchanges are online platforms
used to buy and sell cryptocurrencies. They are the most
common means that investors use to buy and sell
cryptocurrency holdings.
• This means that all orders are taking place in one specific
“location”, as they are all routed through the Cryptocurrency
Exchange.
• In the term "centralised cryptocurrency exchange," the idea of
centralisation refers to the use of a middle man or third party
to help conduct transactions. Buyers and sellers alike trust this
middle man to handle their assets.
• Transactors trust not only that the exchange will safely
complete their transactions for them, and they also make use
of the network of users in the exchange in order to find trading
partners.
• In the case of cryptocurrencies, which are often stored in
digital wallets, an individual can lose digital currency holdings
simply by forgetting the key to a wallet. An exchange is
entrusted to safeguard the holdings in place of the individual
investor.
Examples of Centralised
Exchanges
• Coinbase
• GDAX
• Kraken
• Poloniex
• Bittrex
• Bitfinex
• Bitstamp
• Gemini
• Zebpay
• Coinsecure
• Unocoin
Issues in Centralised
Exchange
• security
• outages
• Identity Breach Risks
• Laborious Verification Processes
• high fees
• Price Manipulation/Insider Trading
• front running
What is a Decentralised
Exchange
• A decentralised exchange is an exchange market that does not rely on a third party service to hold
the customer’s funds. Instead, trades occur directly between users (peer to peer) through an
automated process.
• Decentralised exchanges, do not store any coins or private keys on central servers
• This system can be achieved by creating proxy tokens, distributed anonymous order books, atomic
swaps or through a decentralised multi-signature escrow system.
• Key Features
• No centralised control over infrastructure
• Funds controlled by the user
• Compatibility with hardware wallets
• Anonymous Accounts
• Exchange In-A-Box
• Solving the Fiat problem
Centralised vs Decentralised
Exchange Comparison
Benefits & Issues of DEX
Benefits
• Faster and Cheaper
Transactions
• Potentially More Difficult to
Hack
• Seamless Integration with
Secure Hardware Wallets
• Funds Controlled by Users
Rather Than a Central
Corporation
Issues
• Difficult to Use
• Lack of Robust Features and Functionalities
• Low liquidity
• Order books on chain slows down trading when
the used blockchains themselves have scaling
problems
• Some decentralised exchanges like Bisq require
users to be online in order for an order to be
listed and for the trade to take place, requiring
users to perform certain actions like singling that
a payment was received.
• Trading features like margin trading, lending and
stop loss are currently not available in the
decentralised model as they only allow the basic
exchange of currency for a predetermined value.
DEX - Key Concepts
• Common base token: Ethereum and Nxt/Ardor allow new token creation on top of them using
the underlying ethereum and nxt blockchains. Nxt/Ardor has a built in exchange and creating
ethereum smart contracts for an exchange for ethereum based tokens is not that hard to do.
The major drawback is that only assets/currencies built using the base platform are supported.
• Escrow: Requires a mutually trusted party that holds all funds or some collateral. Multisig and
smart contracts can automate part of the escrow( in most cases releasing the cryptocurrency
funds in case there is no dispute).
• Cross chain transactions: Some algorithms have been developed to secure cross chain token
exchange withouth a central exchange holding all the funds. It achieves waterproof validation
without introducing the problems and complexities introduced by a escrow-based validation
system. While simple in concept,most of them have a pretty complex UX and require an off-
chain communication channel. One of the most known ones is decred atomic swaps or
variations on this. The Major drawback is that only cryptocurrencies are supported.
• For traditional money to and from cryptocurrency conversions Only solution so far is to use
escrow.
Decentralised Exchange -
Evolving Architecture
• Some take ideas from the structure of centralised exchanges and add decentralised
elements
• Others take a more radical peer-to-peer approach in the decentralisation of digital asset
trading.
• Most adopt the concept of an order book in their design decision while some embrace a
more peer-to-peer alternative of directly swapping assets with others.
• All of the DEXs follow a non-custodial nature in their architecture
• Options for DEX protocol design:
• on-chain order book: Etherdelta, Omisego
• on-chain peer-to-peer: KyberNetwork
• off-chain order book: 0x
• off-chain peer-to-peer: Airswap
DEX -Example Workflow
• Workflow for Kyber token exchange: 1. Makers post their exchange rates and size information to a smart
contract 2. Takers query this smart contract for instant exchange 3. Exchange update occurs notifying both
maker and taker
• Workflow for 0x token exchange: 1. Maker posts a signed order to Relayer, 2. Taker queries the Relayer 3.
Taker selects an order to match, 4. Taker submits order to exchange via smart contract
• Workflow for Kyber token exchange: 1. Makers post their exchange rates and size information to a smart
contract 2. Takers query this smart contract for instant exchange 3. Exchange update occurs notifying both
maker and taker
• Workflow for AirSwap token exchange: 1. Maker posts a token pair as “intent to trade” 2. Taker queries the
indexer for token pair 3. Taker fetches counterparty from Maker 4–5: Maker and Taker directly negotiate a
suitable trade 6. Taker submits order to smart contract for execution
• Workflow in EtherDelta: 1.Maker creates a new order: ERC20 token, the amount, the ETH amount in return
and whether it’s a buy or sell order. 2. Maker creates a cryptographic hash of that order (using SHA3) 3.
Maker then uses their Ethereum private key to sign the order hash (using ECDSA and in particular the
Secp256k1 implementation which is also used in Bitcoin) 4. Maker sends order off chain together with the
signature (In EtherDelta this is accomplished via a set of servers all communicating JSON messages via
WebSockets) 5. When Taker wants to trade against the order, the signature and order information is send to
the smart contract’s trade function. 6. The smart contract verifies that the signature originated from Maker 7.
The smart contract makes sure order is not expired or filled. 8. Funds are transferred and fees are taken.
Examples of Decentralised
Exchanges
• Waves
• 0x
• Kyber
• Omega One
• Airswap AST
• Legolas
• Bitshares
• Ether Delta
• Bisq
• Stellar
• NXT
• OpenLedger
• IDEX
• Airswap
Thank You & Q&A

More Related Content

What's hot

Ethereum Blockchain with Smart contract and ERC20
Ethereum Blockchain with Smart contract and ERC20Ethereum Blockchain with Smart contract and ERC20
Ethereum Blockchain with Smart contract and ERC20
Truong Nguyen
 
Blockchain - HyperLedger Fabric
Blockchain - HyperLedger FabricBlockchain - HyperLedger Fabric
Blockchain - HyperLedger Fabric
Araf Karsh Hamid
 
Introduction to bitcoin
Introduction to bitcoinIntroduction to bitcoin
Introduction to bitcoinWolf McNally
 
Smart Contract & Ethereum
Smart Contract & EthereumSmart Contract & Ethereum
Smart Contract & Ethereum
Akshay Singh
 
What the Duck is DeFi
What the Duck is DeFiWhat the Duck is DeFi
What the Duck is DeFi
Bailey Reutzel
 
Non-fungible tokens (NFTs)
Non-fungible tokens (NFTs)Non-fungible tokens (NFTs)
Non-fungible tokens (NFTs)
Andres Guadamuz
 
Blockchain Tokenization
Blockchain TokenizationBlockchain Tokenization
Blockchain Tokenization
Bellaj Badr
 
What is DeFi ? | Decentralized Finance
What is DeFi ? | Decentralized Finance What is DeFi ? | Decentralized Finance
What is DeFi ? | Decentralized Finance
zaarahary
 
Blockchain, Ethereum and ConsenSys
Blockchain, Ethereum and ConsenSysBlockchain, Ethereum and ConsenSys
Blockchain, Ethereum and ConsenSys
WithTheBest
 
Consensus Algorithms.pptx
Consensus Algorithms.pptxConsensus Algorithms.pptx
Consensus Algorithms.pptx
Rajapriya82
 
Blockchain ecosystem and evolution
Blockchain ecosystem and evolutionBlockchain ecosystem and evolution
Blockchain ecosystem and evolution
Chandra Sekhar AKNR
 
Web3 School
Web3 SchoolWeb3 School
Web3 School
Taiki Narita
 
Corda Developer Bootcamp: Tokens
Corda Developer Bootcamp: TokensCorda Developer Bootcamp: Tokens
Corda Developer Bootcamp: Tokens
R3
 
Introduction to Bitcoin's Scripting Language
Introduction to Bitcoin's Scripting LanguageIntroduction to Bitcoin's Scripting Language
Introduction to Bitcoin's Scripting Language
Jeff Flowers
 
Qu'est-ce que la blockchain ?
Qu'est-ce que la blockchain ?Qu'est-ce que la blockchain ?
Qu'est-ce que la blockchain ?
Jedha Bootcamp
 
Cryptocurrency
CryptocurrencyCryptocurrency
Cryptocurrency
Saroj Bhandari
 
An Ultimate Guide to NFT Applications
An Ultimate Guide to NFT ApplicationsAn Ultimate Guide to NFT Applications
An Ultimate Guide to NFT Applications
101 Blockchains
 
PoW vs. PoS - Key Differences
PoW vs. PoS - Key DifferencesPoW vs. PoS - Key Differences
PoW vs. PoS - Key Differences
101 Blockchains
 
Consensus Algorithms - Nakov at CryptoBlockCon - Las Vegas (2018)
Consensus Algorithms - Nakov at CryptoBlockCon - Las Vegas (2018)Consensus Algorithms - Nakov at CryptoBlockCon - Las Vegas (2018)
Consensus Algorithms - Nakov at CryptoBlockCon - Las Vegas (2018)
Svetlin Nakov
 
What's cryptocurrency ?
What's cryptocurrency ?What's cryptocurrency ?
What's cryptocurrency ?
Everythingcrypto
 

What's hot (20)

Ethereum Blockchain with Smart contract and ERC20
Ethereum Blockchain with Smart contract and ERC20Ethereum Blockchain with Smart contract and ERC20
Ethereum Blockchain with Smart contract and ERC20
 
Blockchain - HyperLedger Fabric
Blockchain - HyperLedger FabricBlockchain - HyperLedger Fabric
Blockchain - HyperLedger Fabric
 
Introduction to bitcoin
Introduction to bitcoinIntroduction to bitcoin
Introduction to bitcoin
 
Smart Contract & Ethereum
Smart Contract & EthereumSmart Contract & Ethereum
Smart Contract & Ethereum
 
What the Duck is DeFi
What the Duck is DeFiWhat the Duck is DeFi
What the Duck is DeFi
 
Non-fungible tokens (NFTs)
Non-fungible tokens (NFTs)Non-fungible tokens (NFTs)
Non-fungible tokens (NFTs)
 
Blockchain Tokenization
Blockchain TokenizationBlockchain Tokenization
Blockchain Tokenization
 
What is DeFi ? | Decentralized Finance
What is DeFi ? | Decentralized Finance What is DeFi ? | Decentralized Finance
What is DeFi ? | Decentralized Finance
 
Blockchain, Ethereum and ConsenSys
Blockchain, Ethereum and ConsenSysBlockchain, Ethereum and ConsenSys
Blockchain, Ethereum and ConsenSys
 
Consensus Algorithms.pptx
Consensus Algorithms.pptxConsensus Algorithms.pptx
Consensus Algorithms.pptx
 
Blockchain ecosystem and evolution
Blockchain ecosystem and evolutionBlockchain ecosystem and evolution
Blockchain ecosystem and evolution
 
Web3 School
Web3 SchoolWeb3 School
Web3 School
 
Corda Developer Bootcamp: Tokens
Corda Developer Bootcamp: TokensCorda Developer Bootcamp: Tokens
Corda Developer Bootcamp: Tokens
 
Introduction to Bitcoin's Scripting Language
Introduction to Bitcoin's Scripting LanguageIntroduction to Bitcoin's Scripting Language
Introduction to Bitcoin's Scripting Language
 
Qu'est-ce que la blockchain ?
Qu'est-ce que la blockchain ?Qu'est-ce que la blockchain ?
Qu'est-ce que la blockchain ?
 
Cryptocurrency
CryptocurrencyCryptocurrency
Cryptocurrency
 
An Ultimate Guide to NFT Applications
An Ultimate Guide to NFT ApplicationsAn Ultimate Guide to NFT Applications
An Ultimate Guide to NFT Applications
 
PoW vs. PoS - Key Differences
PoW vs. PoS - Key DifferencesPoW vs. PoS - Key Differences
PoW vs. PoS - Key Differences
 
Consensus Algorithms - Nakov at CryptoBlockCon - Las Vegas (2018)
Consensus Algorithms - Nakov at CryptoBlockCon - Las Vegas (2018)Consensus Algorithms - Nakov at CryptoBlockCon - Las Vegas (2018)
Consensus Algorithms - Nakov at CryptoBlockCon - Las Vegas (2018)
 
What's cryptocurrency ?
What's cryptocurrency ?What's cryptocurrency ?
What's cryptocurrency ?
 

Similar to Decentralised Exchanges - An Introduction

Blockchain (1).pptx
Blockchain (1).pptxBlockchain (1).pptx
Blockchain (1).pptx
MeetPBarasara
 
What is cryptocurrency Exchange.pptx
What is cryptocurrency Exchange.pptxWhat is cryptocurrency Exchange.pptx
What is cryptocurrency Exchange.pptx
TetheBtc
 
BlockChain-1.pptx
BlockChain-1.pptxBlockChain-1.pptx
BlockChain-1.pptx
BiswaranjanSwain19
 
Week 4 - DApps, Smart Contracts, and Decentralized Incentive Systems
Week 4 - DApps, Smart Contracts, and Decentralized Incentive SystemsWeek 4 - DApps, Smart Contracts, and Decentralized Incentive Systems
Week 4 - DApps, Smart Contracts, and Decentralized Incentive Systems
Roger Royse
 
Deconstructing Decentralized Exchanges. Lindsay X. Lin
Deconstructing Decentralized Exchanges.  Lindsay X. LinDeconstructing Decentralized Exchanges.  Lindsay X. Lin
Deconstructing Decentralized Exchanges. Lindsay X. Lin
eraser Juan José Calderón
 
Block chain fundamentals and hyperledger
Block chain fundamentals and hyperledgerBlock chain fundamentals and hyperledger
Block chain fundamentals and hyperledger
sendhilkumarks
 
BlockChain-1.pptx
BlockChain-1.pptxBlockChain-1.pptx
BlockChain-1.pptx
HussainPashaShaik1
 
Difference between centralized and decentralized crypto exchange
Difference between centralized and decentralized crypto exchangeDifference between centralized and decentralized crypto exchange
Difference between centralized and decentralized crypto exchange
Harshit Verma
 
Investment Club Presentation 1 2021
Investment Club Presentation 1 2021Investment Club Presentation 1 2021
Investment Club Presentation 1 2021
SamPurcell4
 
A Detailed Guide to Cryptocurrency Exchange PPT 17 feb 2023.pdf
A Detailed Guide to Cryptocurrency Exchange PPT 17 feb 2023.pdfA Detailed Guide to Cryptocurrency Exchange PPT 17 feb 2023.pdf
A Detailed Guide to Cryptocurrency Exchange PPT 17 feb 2023.pdf
Alves' camila
 
DeFi Series – Webinar 2- DeFi Primitives
DeFi Series – Webinar 2- DeFi PrimitivesDeFi Series – Webinar 2- DeFi Primitives
DeFi Series – Webinar 2- DeFi Primitives
Zeeve
 
Blockchain
BlockchainBlockchain
Blockchain
Gopal Goel
 
Blockchain Fundamental_KIPMI_2022.02.26.pdf
Blockchain Fundamental_KIPMI_2022.02.26.pdfBlockchain Fundamental_KIPMI_2022.02.26.pdf
Blockchain Fundamental_KIPMI_2022.02.26.pdf
adinugroho751867
 
Chapter 3.pptx
Chapter 3.pptxChapter 3.pptx
Chapter 3.pptx
AvinashChoure2
 
cryptocurrencypresentation-230421194204-104e58ee.pdf
cryptocurrencypresentation-230421194204-104e58ee.pdfcryptocurrencypresentation-230421194204-104e58ee.pdf
cryptocurrencypresentation-230421194204-104e58ee.pdf
Yash52326
 
Cryptocurrency Presentation.pptx
Cryptocurrency Presentation.pptxCryptocurrency Presentation.pptx
Cryptocurrency Presentation.pptx
DhruvJha39
 
BitCoin explained
BitCoin explainedBitCoin explained
BitCoin explained
Harelc
 
The Secret behind the Blockchain Technology
The Secret behind the Blockchain TechnologyThe Secret behind the Blockchain Technology
The Secret behind the Blockchain Technology
PECB
 
DeFi Series – Webinar 3 – The DeFi Use Cases (DEX, Lending)
DeFi Series – Webinar 3 – The DeFi Use Cases (DEX, Lending)DeFi Series – Webinar 3 – The DeFi Use Cases (DEX, Lending)
DeFi Series – Webinar 3 – The DeFi Use Cases (DEX, Lending)
Zeeve
 
What is bitcoin?
What is bitcoin?What is bitcoin?
What is bitcoin?
Suraj Bora
 

Similar to Decentralised Exchanges - An Introduction (20)

Blockchain (1).pptx
Blockchain (1).pptxBlockchain (1).pptx
Blockchain (1).pptx
 
What is cryptocurrency Exchange.pptx
What is cryptocurrency Exchange.pptxWhat is cryptocurrency Exchange.pptx
What is cryptocurrency Exchange.pptx
 
BlockChain-1.pptx
BlockChain-1.pptxBlockChain-1.pptx
BlockChain-1.pptx
 
Week 4 - DApps, Smart Contracts, and Decentralized Incentive Systems
Week 4 - DApps, Smart Contracts, and Decentralized Incentive SystemsWeek 4 - DApps, Smart Contracts, and Decentralized Incentive Systems
Week 4 - DApps, Smart Contracts, and Decentralized Incentive Systems
 
Deconstructing Decentralized Exchanges. Lindsay X. Lin
Deconstructing Decentralized Exchanges.  Lindsay X. LinDeconstructing Decentralized Exchanges.  Lindsay X. Lin
Deconstructing Decentralized Exchanges. Lindsay X. Lin
 
Block chain fundamentals and hyperledger
Block chain fundamentals and hyperledgerBlock chain fundamentals and hyperledger
Block chain fundamentals and hyperledger
 
BlockChain-1.pptx
BlockChain-1.pptxBlockChain-1.pptx
BlockChain-1.pptx
 
Difference between centralized and decentralized crypto exchange
Difference between centralized and decentralized crypto exchangeDifference between centralized and decentralized crypto exchange
Difference between centralized and decentralized crypto exchange
 
Investment Club Presentation 1 2021
Investment Club Presentation 1 2021Investment Club Presentation 1 2021
Investment Club Presentation 1 2021
 
A Detailed Guide to Cryptocurrency Exchange PPT 17 feb 2023.pdf
A Detailed Guide to Cryptocurrency Exchange PPT 17 feb 2023.pdfA Detailed Guide to Cryptocurrency Exchange PPT 17 feb 2023.pdf
A Detailed Guide to Cryptocurrency Exchange PPT 17 feb 2023.pdf
 
DeFi Series – Webinar 2- DeFi Primitives
DeFi Series – Webinar 2- DeFi PrimitivesDeFi Series – Webinar 2- DeFi Primitives
DeFi Series – Webinar 2- DeFi Primitives
 
Blockchain
BlockchainBlockchain
Blockchain
 
Blockchain Fundamental_KIPMI_2022.02.26.pdf
Blockchain Fundamental_KIPMI_2022.02.26.pdfBlockchain Fundamental_KIPMI_2022.02.26.pdf
Blockchain Fundamental_KIPMI_2022.02.26.pdf
 
Chapter 3.pptx
Chapter 3.pptxChapter 3.pptx
Chapter 3.pptx
 
cryptocurrencypresentation-230421194204-104e58ee.pdf
cryptocurrencypresentation-230421194204-104e58ee.pdfcryptocurrencypresentation-230421194204-104e58ee.pdf
cryptocurrencypresentation-230421194204-104e58ee.pdf
 
Cryptocurrency Presentation.pptx
Cryptocurrency Presentation.pptxCryptocurrency Presentation.pptx
Cryptocurrency Presentation.pptx
 
BitCoin explained
BitCoin explainedBitCoin explained
BitCoin explained
 
The Secret behind the Blockchain Technology
The Secret behind the Blockchain TechnologyThe Secret behind the Blockchain Technology
The Secret behind the Blockchain Technology
 
DeFi Series – Webinar 3 – The DeFi Use Cases (DEX, Lending)
DeFi Series – Webinar 3 – The DeFi Use Cases (DEX, Lending)DeFi Series – Webinar 3 – The DeFi Use Cases (DEX, Lending)
DeFi Series – Webinar 3 – The DeFi Use Cases (DEX, Lending)
 
What is bitcoin?
What is bitcoin?What is bitcoin?
What is bitcoin?
 

More from Priyab Satoshi

Introduction to Chatbots
Introduction to ChatbotsIntroduction to Chatbots
Introduction to Chatbots
Priyab Satoshi
 
Introduction to IOT security
Introduction to IOT securityIntroduction to IOT security
Introduction to IOT security
Priyab Satoshi
 
Introduction to State Channels & Payment Channels
Introduction to State Channels & Payment ChannelsIntroduction to State Channels & Payment Channels
Introduction to State Channels & Payment Channels
Priyab Satoshi
 
Introduction to GDPR
Introduction to GDPRIntroduction to GDPR
Introduction to GDPR
Priyab Satoshi
 
Cryptocurrency & ICO Regulations in US
Cryptocurrency & ICO Regulations in USCryptocurrency & ICO Regulations in US
Cryptocurrency & ICO Regulations in US
Priyab Satoshi
 
Online privacy & security
Online privacy & securityOnline privacy & security
Online privacy & security
Priyab Satoshi
 
Introduction to Cognitive Automation
Introduction to Cognitive AutomationIntroduction to Cognitive Automation
Introduction to Cognitive Automation
Priyab Satoshi
 
Robotic process automation Introduction
Robotic process automation IntroductionRobotic process automation Introduction
Robotic process automation Introduction
Priyab Satoshi
 
Kademlia introduction
Kademlia introductionKademlia introduction
Kademlia introduction
Priyab Satoshi
 
Introduction to Segwit
Introduction to SegwitIntroduction to Segwit
Introduction to Segwit
Priyab Satoshi
 
On-chain Crowdfunding & Asset Token
On-chain Crowdfunding & Asset Token On-chain Crowdfunding & Asset Token
On-chain Crowdfunding & Asset Token
Priyab Satoshi
 
Introduction to blockchain
Introduction to blockchainIntroduction to blockchain
Introduction to blockchain
Priyab Satoshi
 
Blockchain and Decentralization
Blockchain and DecentralizationBlockchain and Decentralization
Blockchain and Decentralization
Priyab Satoshi
 
Erc 721 tokens
Erc 721 tokensErc 721 tokens
Erc 721 tokens
Priyab Satoshi
 
Cryptocurrency & Regulatory Environment
Cryptocurrency & Regulatory EnvironmentCryptocurrency & Regulatory Environment
Cryptocurrency & Regulatory Environment
Priyab Satoshi
 
Understanding blockchain
Understanding blockchainUnderstanding blockchain
Understanding blockchain
Priyab Satoshi
 

More from Priyab Satoshi (16)

Introduction to Chatbots
Introduction to ChatbotsIntroduction to Chatbots
Introduction to Chatbots
 
Introduction to IOT security
Introduction to IOT securityIntroduction to IOT security
Introduction to IOT security
 
Introduction to State Channels & Payment Channels
Introduction to State Channels & Payment ChannelsIntroduction to State Channels & Payment Channels
Introduction to State Channels & Payment Channels
 
Introduction to GDPR
Introduction to GDPRIntroduction to GDPR
Introduction to GDPR
 
Cryptocurrency & ICO Regulations in US
Cryptocurrency & ICO Regulations in USCryptocurrency & ICO Regulations in US
Cryptocurrency & ICO Regulations in US
 
Online privacy & security
Online privacy & securityOnline privacy & security
Online privacy & security
 
Introduction to Cognitive Automation
Introduction to Cognitive AutomationIntroduction to Cognitive Automation
Introduction to Cognitive Automation
 
Robotic process automation Introduction
Robotic process automation IntroductionRobotic process automation Introduction
Robotic process automation Introduction
 
Kademlia introduction
Kademlia introductionKademlia introduction
Kademlia introduction
 
Introduction to Segwit
Introduction to SegwitIntroduction to Segwit
Introduction to Segwit
 
On-chain Crowdfunding & Asset Token
On-chain Crowdfunding & Asset Token On-chain Crowdfunding & Asset Token
On-chain Crowdfunding & Asset Token
 
Introduction to blockchain
Introduction to blockchainIntroduction to blockchain
Introduction to blockchain
 
Blockchain and Decentralization
Blockchain and DecentralizationBlockchain and Decentralization
Blockchain and Decentralization
 
Erc 721 tokens
Erc 721 tokensErc 721 tokens
Erc 721 tokens
 
Cryptocurrency & Regulatory Environment
Cryptocurrency & Regulatory EnvironmentCryptocurrency & Regulatory Environment
Cryptocurrency & Regulatory Environment
 
Understanding blockchain
Understanding blockchainUnderstanding blockchain
Understanding blockchain
 

Recently uploaded

一比一原版(CSU毕业证)加利福尼亚州立大学毕业证成绩单专业办理
一比一原版(CSU毕业证)加利福尼亚州立大学毕业证成绩单专业办理一比一原版(CSU毕业证)加利福尼亚州立大学毕业证成绩单专业办理
一比一原版(CSU毕业证)加利福尼亚州立大学毕业证成绩单专业办理
ufdana
 
1比1复刻(bath毕业证书)英国巴斯大学毕业证学位证原版一模一样
1比1复刻(bath毕业证书)英国巴斯大学毕业证学位证原版一模一样1比1复刻(bath毕业证书)英国巴斯大学毕业证学位证原版一模一样
1比1复刻(bath毕业证书)英国巴斯大学毕业证学位证原版一模一样
3ipehhoa
 
Latest trends in computer networking.pptx
Latest trends in computer networking.pptxLatest trends in computer networking.pptx
Latest trends in computer networking.pptx
JungkooksNonexistent
 
Bridging the Digital Gap Brad Spiegel Macon, GA Initiative.pptx
Bridging the Digital Gap Brad Spiegel Macon, GA Initiative.pptxBridging the Digital Gap Brad Spiegel Macon, GA Initiative.pptx
Bridging the Digital Gap Brad Spiegel Macon, GA Initiative.pptx
Brad Spiegel Macon GA
 
APNIC Foundation, presented by Ellisha Heppner at the PNG DNS Forum 2024
APNIC Foundation, presented by Ellisha Heppner at the PNG DNS Forum 2024APNIC Foundation, presented by Ellisha Heppner at the PNG DNS Forum 2024
APNIC Foundation, presented by Ellisha Heppner at the PNG DNS Forum 2024
APNIC
 
guildmasters guide to ravnica Dungeons & Dragons 5...
guildmasters guide to ravnica Dungeons & Dragons 5...guildmasters guide to ravnica Dungeons & Dragons 5...
guildmasters guide to ravnica Dungeons & Dragons 5...
Rogerio Filho
 
原版仿制(uob毕业证书)英国伯明翰大学毕业证本科学历证书原版一模一样
原版仿制(uob毕业证书)英国伯明翰大学毕业证本科学历证书原版一模一样原版仿制(uob毕业证书)英国伯明翰大学毕业证本科学历证书原版一模一样
原版仿制(uob毕业证书)英国伯明翰大学毕业证本科学历证书原版一模一样
3ipehhoa
 
The+Prospects+of+E-Commerce+in+China.pptx
The+Prospects+of+E-Commerce+in+China.pptxThe+Prospects+of+E-Commerce+in+China.pptx
The+Prospects+of+E-Commerce+in+China.pptx
laozhuseo02
 
Bài tập unit 1 English in the world.docx
Bài tập unit 1 English in the world.docxBài tập unit 1 English in the world.docx
Bài tập unit 1 English in the world.docx
nhiyenphan2005
 
test test test test testtest test testtest test testtest test testtest test ...
test test  test test testtest test testtest test testtest test testtest test ...test test  test test testtest test testtest test testtest test testtest test ...
test test test test testtest test testtest test testtest test testtest test ...
Arif0071
 
JAVIER LASA-EXPERIENCIA digital 1986-2024.pdf
JAVIER LASA-EXPERIENCIA digital 1986-2024.pdfJAVIER LASA-EXPERIENCIA digital 1986-2024.pdf
JAVIER LASA-EXPERIENCIA digital 1986-2024.pdf
Javier Lasa
 
History+of+E-commerce+Development+in+China-www.cfye-commerce.shop
History+of+E-commerce+Development+in+China-www.cfye-commerce.shopHistory+of+E-commerce+Development+in+China-www.cfye-commerce.shop
History+of+E-commerce+Development+in+China-www.cfye-commerce.shop
laozhuseo02
 
Meet up Milano 14 _ Axpo Italia_ Migration from Mule3 (On-prem) to.pdf
Meet up Milano 14 _ Axpo Italia_ Migration from Mule3 (On-prem) to.pdfMeet up Milano 14 _ Axpo Italia_ Migration from Mule3 (On-prem) to.pdf
Meet up Milano 14 _ Axpo Italia_ Migration from Mule3 (On-prem) to.pdf
Florence Consulting
 
How to Use Contact Form 7 Like a Pro.pptx
How to Use Contact Form 7 Like a Pro.pptxHow to Use Contact Form 7 Like a Pro.pptx
How to Use Contact Form 7 Like a Pro.pptx
Gal Baras
 
1.Wireless Communication System_Wireless communication is a broad term that i...
1.Wireless Communication System_Wireless communication is a broad term that i...1.Wireless Communication System_Wireless communication is a broad term that i...
1.Wireless Communication System_Wireless communication is a broad term that i...
JeyaPerumal1
 
急速办(bedfordhire毕业证书)英国贝德福特大学毕业证成绩单原版一模一样
急速办(bedfordhire毕业证书)英国贝德福特大学毕业证成绩单原版一模一样急速办(bedfordhire毕业证书)英国贝德福特大学毕业证成绩单原版一模一样
急速办(bedfordhire毕业证书)英国贝德福特大学毕业证成绩单原版一模一样
3ipehhoa
 
Internet of Things in Manufacturing: Revolutionizing Efficiency & Quality | C...
Internet of Things in Manufacturing: Revolutionizing Efficiency & Quality | C...Internet of Things in Manufacturing: Revolutionizing Efficiency & Quality | C...
Internet of Things in Manufacturing: Revolutionizing Efficiency & Quality | C...
CIOWomenMagazine
 
一比一原版(LBS毕业证)伦敦商学院毕业证成绩单专业办理
一比一原版(LBS毕业证)伦敦商学院毕业证成绩单专业办理一比一原版(LBS毕业证)伦敦商学院毕业证成绩单专业办理
一比一原版(LBS毕业证)伦敦商学院毕业证成绩单专业办理
eutxy
 
Italy Agriculture Equipment Market Outlook to 2027
Italy Agriculture Equipment Market Outlook to 2027Italy Agriculture Equipment Market Outlook to 2027
Italy Agriculture Equipment Market Outlook to 2027
harveenkaur52
 
一比一原版(SLU毕业证)圣路易斯大学毕业证成绩单专业办理
一比一原版(SLU毕业证)圣路易斯大学毕业证成绩单专业办理一比一原版(SLU毕业证)圣路易斯大学毕业证成绩单专业办理
一比一原版(SLU毕业证)圣路易斯大学毕业证成绩单专业办理
keoku
 

Recently uploaded (20)

一比一原版(CSU毕业证)加利福尼亚州立大学毕业证成绩单专业办理
一比一原版(CSU毕业证)加利福尼亚州立大学毕业证成绩单专业办理一比一原版(CSU毕业证)加利福尼亚州立大学毕业证成绩单专业办理
一比一原版(CSU毕业证)加利福尼亚州立大学毕业证成绩单专业办理
 
1比1复刻(bath毕业证书)英国巴斯大学毕业证学位证原版一模一样
1比1复刻(bath毕业证书)英国巴斯大学毕业证学位证原版一模一样1比1复刻(bath毕业证书)英国巴斯大学毕业证学位证原版一模一样
1比1复刻(bath毕业证书)英国巴斯大学毕业证学位证原版一模一样
 
Latest trends in computer networking.pptx
Latest trends in computer networking.pptxLatest trends in computer networking.pptx
Latest trends in computer networking.pptx
 
Bridging the Digital Gap Brad Spiegel Macon, GA Initiative.pptx
Bridging the Digital Gap Brad Spiegel Macon, GA Initiative.pptxBridging the Digital Gap Brad Spiegel Macon, GA Initiative.pptx
Bridging the Digital Gap Brad Spiegel Macon, GA Initiative.pptx
 
APNIC Foundation, presented by Ellisha Heppner at the PNG DNS Forum 2024
APNIC Foundation, presented by Ellisha Heppner at the PNG DNS Forum 2024APNIC Foundation, presented by Ellisha Heppner at the PNG DNS Forum 2024
APNIC Foundation, presented by Ellisha Heppner at the PNG DNS Forum 2024
 
guildmasters guide to ravnica Dungeons & Dragons 5...
guildmasters guide to ravnica Dungeons & Dragons 5...guildmasters guide to ravnica Dungeons & Dragons 5...
guildmasters guide to ravnica Dungeons & Dragons 5...
 
原版仿制(uob毕业证书)英国伯明翰大学毕业证本科学历证书原版一模一样
原版仿制(uob毕业证书)英国伯明翰大学毕业证本科学历证书原版一模一样原版仿制(uob毕业证书)英国伯明翰大学毕业证本科学历证书原版一模一样
原版仿制(uob毕业证书)英国伯明翰大学毕业证本科学历证书原版一模一样
 
The+Prospects+of+E-Commerce+in+China.pptx
The+Prospects+of+E-Commerce+in+China.pptxThe+Prospects+of+E-Commerce+in+China.pptx
The+Prospects+of+E-Commerce+in+China.pptx
 
Bài tập unit 1 English in the world.docx
Bài tập unit 1 English in the world.docxBài tập unit 1 English in the world.docx
Bài tập unit 1 English in the world.docx
 
test test test test testtest test testtest test testtest test testtest test ...
test test  test test testtest test testtest test testtest test testtest test ...test test  test test testtest test testtest test testtest test testtest test ...
test test test test testtest test testtest test testtest test testtest test ...
 
JAVIER LASA-EXPERIENCIA digital 1986-2024.pdf
JAVIER LASA-EXPERIENCIA digital 1986-2024.pdfJAVIER LASA-EXPERIENCIA digital 1986-2024.pdf
JAVIER LASA-EXPERIENCIA digital 1986-2024.pdf
 
History+of+E-commerce+Development+in+China-www.cfye-commerce.shop
History+of+E-commerce+Development+in+China-www.cfye-commerce.shopHistory+of+E-commerce+Development+in+China-www.cfye-commerce.shop
History+of+E-commerce+Development+in+China-www.cfye-commerce.shop
 
Meet up Milano 14 _ Axpo Italia_ Migration from Mule3 (On-prem) to.pdf
Meet up Milano 14 _ Axpo Italia_ Migration from Mule3 (On-prem) to.pdfMeet up Milano 14 _ Axpo Italia_ Migration from Mule3 (On-prem) to.pdf
Meet up Milano 14 _ Axpo Italia_ Migration from Mule3 (On-prem) to.pdf
 
How to Use Contact Form 7 Like a Pro.pptx
How to Use Contact Form 7 Like a Pro.pptxHow to Use Contact Form 7 Like a Pro.pptx
How to Use Contact Form 7 Like a Pro.pptx
 
1.Wireless Communication System_Wireless communication is a broad term that i...
1.Wireless Communication System_Wireless communication is a broad term that i...1.Wireless Communication System_Wireless communication is a broad term that i...
1.Wireless Communication System_Wireless communication is a broad term that i...
 
急速办(bedfordhire毕业证书)英国贝德福特大学毕业证成绩单原版一模一样
急速办(bedfordhire毕业证书)英国贝德福特大学毕业证成绩单原版一模一样急速办(bedfordhire毕业证书)英国贝德福特大学毕业证成绩单原版一模一样
急速办(bedfordhire毕业证书)英国贝德福特大学毕业证成绩单原版一模一样
 
Internet of Things in Manufacturing: Revolutionizing Efficiency & Quality | C...
Internet of Things in Manufacturing: Revolutionizing Efficiency & Quality | C...Internet of Things in Manufacturing: Revolutionizing Efficiency & Quality | C...
Internet of Things in Manufacturing: Revolutionizing Efficiency & Quality | C...
 
一比一原版(LBS毕业证)伦敦商学院毕业证成绩单专业办理
一比一原版(LBS毕业证)伦敦商学院毕业证成绩单专业办理一比一原版(LBS毕业证)伦敦商学院毕业证成绩单专业办理
一比一原版(LBS毕业证)伦敦商学院毕业证成绩单专业办理
 
Italy Agriculture Equipment Market Outlook to 2027
Italy Agriculture Equipment Market Outlook to 2027Italy Agriculture Equipment Market Outlook to 2027
Italy Agriculture Equipment Market Outlook to 2027
 
一比一原版(SLU毕业证)圣路易斯大学毕业证成绩单专业办理
一比一原版(SLU毕业证)圣路易斯大学毕业证成绩单专业办理一比一原版(SLU毕业证)圣路易斯大学毕业证成绩单专业办理
一比一原版(SLU毕业证)圣路易斯大学毕业证成绩单专业办理
 

Decentralised Exchanges - An Introduction

  • 2. About Me • Blockchain & Cryptocurrency Enthusiast • Blogger • Researcher • Where to find: • Twitter @twitmyreview • Medium: https://medium.com/crypt-bytes-tech • Slideshare: https://www.slideshare.net/PriyabrataDash2

  • 3. Agenda • What are Centralised Exchanges • Issues with Centralised Exchanges • What are Decentralised Exchanges • Benefits & Issues of DEX • Examples of DEX • Q&A
  • 4. • What are Centralised Exchanges • Centralised cryptocurrency exchanges are online platforms used to buy and sell cryptocurrencies. They are the most common means that investors use to buy and sell cryptocurrency holdings. • This means that all orders are taking place in one specific “location”, as they are all routed through the Cryptocurrency Exchange. • In the term "centralised cryptocurrency exchange," the idea of centralisation refers to the use of a middle man or third party to help conduct transactions. Buyers and sellers alike trust this middle man to handle their assets. • Transactors trust not only that the exchange will safely complete their transactions for them, and they also make use of the network of users in the exchange in order to find trading partners. • In the case of cryptocurrencies, which are often stored in digital wallets, an individual can lose digital currency holdings simply by forgetting the key to a wallet. An exchange is entrusted to safeguard the holdings in place of the individual investor.
  • 5. Examples of Centralised Exchanges • Coinbase • GDAX • Kraken • Poloniex • Bittrex • Bitfinex • Bitstamp • Gemini • Zebpay • Coinsecure • Unocoin
  • 6. Issues in Centralised Exchange • security • outages • Identity Breach Risks • Laborious Verification Processes • high fees • Price Manipulation/Insider Trading • front running
  • 7. What is a Decentralised Exchange • A decentralised exchange is an exchange market that does not rely on a third party service to hold the customer’s funds. Instead, trades occur directly between users (peer to peer) through an automated process. • Decentralised exchanges, do not store any coins or private keys on central servers • This system can be achieved by creating proxy tokens, distributed anonymous order books, atomic swaps or through a decentralised multi-signature escrow system. • Key Features • No centralised control over infrastructure • Funds controlled by the user • Compatibility with hardware wallets • Anonymous Accounts • Exchange In-A-Box • Solving the Fiat problem
  • 9. Benefits & Issues of DEX Benefits • Faster and Cheaper Transactions • Potentially More Difficult to Hack • Seamless Integration with Secure Hardware Wallets • Funds Controlled by Users Rather Than a Central Corporation Issues • Difficult to Use • Lack of Robust Features and Functionalities • Low liquidity • Order books on chain slows down trading when the used blockchains themselves have scaling problems • Some decentralised exchanges like Bisq require users to be online in order for an order to be listed and for the trade to take place, requiring users to perform certain actions like singling that a payment was received. • Trading features like margin trading, lending and stop loss are currently not available in the decentralised model as they only allow the basic exchange of currency for a predetermined value.
  • 10. DEX - Key Concepts • Common base token: Ethereum and Nxt/Ardor allow new token creation on top of them using the underlying ethereum and nxt blockchains. Nxt/Ardor has a built in exchange and creating ethereum smart contracts for an exchange for ethereum based tokens is not that hard to do. The major drawback is that only assets/currencies built using the base platform are supported. • Escrow: Requires a mutually trusted party that holds all funds or some collateral. Multisig and smart contracts can automate part of the escrow( in most cases releasing the cryptocurrency funds in case there is no dispute). • Cross chain transactions: Some algorithms have been developed to secure cross chain token exchange withouth a central exchange holding all the funds. It achieves waterproof validation without introducing the problems and complexities introduced by a escrow-based validation system. While simple in concept,most of them have a pretty complex UX and require an off- chain communication channel. One of the most known ones is decred atomic swaps or variations on this. The Major drawback is that only cryptocurrencies are supported. • For traditional money to and from cryptocurrency conversions Only solution so far is to use escrow.
  • 11. Decentralised Exchange - Evolving Architecture • Some take ideas from the structure of centralised exchanges and add decentralised elements • Others take a more radical peer-to-peer approach in the decentralisation of digital asset trading. • Most adopt the concept of an order book in their design decision while some embrace a more peer-to-peer alternative of directly swapping assets with others. • All of the DEXs follow a non-custodial nature in their architecture • Options for DEX protocol design: • on-chain order book: Etherdelta, Omisego • on-chain peer-to-peer: KyberNetwork • off-chain order book: 0x • off-chain peer-to-peer: Airswap
  • 12.
  • 13. DEX -Example Workflow • Workflow for Kyber token exchange: 1. Makers post their exchange rates and size information to a smart contract 2. Takers query this smart contract for instant exchange 3. Exchange update occurs notifying both maker and taker • Workflow for 0x token exchange: 1. Maker posts a signed order to Relayer, 2. Taker queries the Relayer 3. Taker selects an order to match, 4. Taker submits order to exchange via smart contract • Workflow for Kyber token exchange: 1. Makers post their exchange rates and size information to a smart contract 2. Takers query this smart contract for instant exchange 3. Exchange update occurs notifying both maker and taker • Workflow for AirSwap token exchange: 1. Maker posts a token pair as “intent to trade” 2. Taker queries the indexer for token pair 3. Taker fetches counterparty from Maker 4–5: Maker and Taker directly negotiate a suitable trade 6. Taker submits order to smart contract for execution • Workflow in EtherDelta: 1.Maker creates a new order: ERC20 token, the amount, the ETH amount in return and whether it’s a buy or sell order. 2. Maker creates a cryptographic hash of that order (using SHA3) 3. Maker then uses their Ethereum private key to sign the order hash (using ECDSA and in particular the Secp256k1 implementation which is also used in Bitcoin) 4. Maker sends order off chain together with the signature (In EtherDelta this is accomplished via a set of servers all communicating JSON messages via WebSockets) 5. When Taker wants to trade against the order, the signature and order information is send to the smart contract’s trade function. 6. The smart contract verifies that the signature originated from Maker 7. The smart contract makes sure order is not expired or filled. 8. Funds are transferred and fees are taken.
  • 14. Examples of Decentralised Exchanges • Waves • 0x • Kyber • Omega One • Airswap AST • Legolas • Bitshares • Ether Delta • Bisq • Stellar • NXT • OpenLedger • IDEX • Airswap
  • 15. Thank You & Q&A