/DWSummit2018

Code and demo notebooks for "Detecting real-time market manipulation in decentralized cryptocurrency exchanges" talk DataWorks Summit June 19 2018

Primary LanguageJupyter NotebookApache License 2.0Apache-2.0

DWSummit2018

https://dataworkssummit.com/san-jose-2018/session/detecting-real-time-market-manipulation-in-decentralized-cryptocurrency-exchanges/

A "decentralized exchange" is a currency exchange which lives and is run completely as a smart contract on the blockchain with no central authority or party running the backend. Funds are held in a smart contract and secured with a public/private key pair, such that each buy/sell/withdraw can only be invoked by the wallet owner and not by the central cluster admin.

The smart contract itself is run on the Ethereum Virtual Machine, which is comprised of hundreds of thousands of nodes that run independently on people's personal computers (and GPU farms!) but store every event on a public ledger. This enables a powerful platform for Investors, but also for money launderers, and "pump and dump" schemers.

Volume Manipulation

For this demo, we will use popular data science tools to analyze EtherDelta's books—a cryptocurrency exchange with "over 1 billion USD" worth of funds in the "smart contract"—and leverage this publicly available dataset to expose which "coin" may be associated with artificial price manipulation as it happens in near real-time.

Architecture

Demo Notebooks:


Prereqs