GraphQL API to one of the largest decentralized exchanges.
Explained by them:
"EtherDelta is a decentralized trading platform that lets you trade Ether and Ethereum-based tokens directly with other users. You are responsible for your own account, funds, and private keys. You are responsible for your own trading decisions, and the details and mechanics of the tokens you trade."
GraphQL Schema 🔋batteries included!
💰Why is this valuable?
This subgraph and its basic UI are useful to three parties.
1. Investors who need access to actual market data in a stable consistent standardized real-time way.
2. DEX developers, using this API another DEX UI could be created on top of the EtherDelta contracts!
3. Lastly, it's useful to other Graph developers since it is a simple example of React+Apollo GraphQL and a live subgraph!
By looking at the GitHub source - you can easily see how to integrate GraphQL calls (like copying and pasting the examples on the Explore page) with React. Learners are encouraged to check out lines: https://github.com/drbh/etherdelta-subgraph/blob/master/www/src/App.js#L17 and see how easy it is to add The Graph Query protocol to your web apps!