Introducing DexIndex

Graham Perich
Jan 31, 2019 · 3 min read

Today, we’re proud to announce DexIndex— An open source tool that searches Ethereum decentralized exchanges to find the best token prices. You can try it now at DexIndex.io. It’s free, and always will be.

Image for post
Image for post

Why DEX?

Ethereum offers a rich decentralized exchange or “DEX” ecosystem in 2019, and new projects are popping up all the time. The most popular DEX’s are carving out niches and meeting demand for many different use cases. Some examples include programmatic token conversion (Kyber), traditional order book replication (IDEX), and settling OTC style trades (AirSwap).

Get the best price, anytime

All these options fill different needs, but one common question remains unanswered: “Which DEX has the best price for X?” And, while DEX aggregation apps like Totle and Fetch exist, these are proprietary applications that ultimately aim to create a business. Where is the free, open API that crunches DEX price data in seconds for the broader community? Shouldn’t Ethereum developers be able to provide real-time prices in their applications?

A decentralized, egalitarian community like Ethereum’s deserves these tools. Enter the DexIndex.

Image for post
Image for post

Under the hood

The open source code is written with modularity in mind. Each DEX has its own JavaScript ES6 class, which acts as an API wrapper. You can compose these classes and fetch price data in just about any way you can think of. Here are a few examples of what’s possible today:

  • Host a web server that serves price data in response to HTTP requests
  • Use the service as a command line tool to fetch price data with a few keystrokes
  • Deploy Serverless functions on AWS lambda to scrape prices on an interval and seed a database
  • Export the ES6 classes and use them in your own projects

Getting involved

Today’s release supports AirSwap, Bancor, DDEX, IDEX, Kyber, and Radar Relay. We’d like to add support for ForkDelta, EthFinex, and Uniswap as soon as possible. If you’re interested in adding support for these exchanges or others, we welcome you to fork the code and start contributing. If you find a bug, please open a GitHub issue!

Thanks to Rob “Crypto Bobby” Paone, Steven D. McKie, Greg Rocco, Jake Brukhman, Spencer Noon, Eric Conner, Anthony Sassano, Eric Meltzer, and the entire AirSwap team for their valuable feedback on this initiative.

About AirSwap

AirSwap enables peer-to-peer trading on the Ethereum blockchain. Built on a decentralized protocol, traders can add or remove liquidity through a suite of trustless products that are easy to use and free. Our mission is to empower the world with frictionless trade.

Blog | Twitter | Discord | Developers | Makers | Reddit | Facebook | Linkedin | Subscribe | Support | Request a Feature | FAQ | Trade Now

Fluidity

Rebuilding Finance for a Frictionless World

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store