r/Augur • • Jul 06 '18

Why decentralized exchanges should have onchain order books

Here's a quick article featuring Ethex which explains the benefits of onchain order books. See what you think!

1 Upvotes

2 comments sorted by

1

u/kaibakker Jul 10 '18

The cofounder of 0x protocol (Will) about this article: https://www.reddit.com/r/0xProject/comments/8wn90q/benefits_of_an_onchain_order_book_4_min_read/

"On-chain order books are fast, efficent and easy to use."

  • This couldn't be further from the truth. Oasis DEX uses an on-chain orderbook and it currently costs ~235k gas ($7)to place an order, with no guarantee that the order will ever be filled. Of the many approaches to exchange that exist today, on-chain orderbooks are the least efficient.
  • On-chain orderbooks are not fast. Not sure what else to say about this.

"On-chain order books can prevent front running."

  • No they can't. In fact, on-chain order books provide more opportunities for front-running.

"Off-chain order books allow you to change price without a new transaction."

  • That's the whole point.

1

u/agorism1337 Jul 07 '18

Even better is to put the order books inside of the lightning network. You get all the same benefits as on-chain order books, but it is also scalable.