The Graph Home Projects Etherdelta

Etherdelta

0
3 ▲
GraphQL API to one of the largest decentralized exchanges. Using The Graphs query proto
Subgraphs
Ready for launch
Makers
David Holtz
Tags
Front-End Development
HTML
JavaScript
Node.js
ReactJS
Web Development

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! 1. Order 2. Cancel 3. Trade 4. Deposit 5. Withdraw

💰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!

Screenshots
Comments (0)
Please log in or register to post a comment.

The Graph + CoinList Hackathon

$10,000 in prizes
May 9 – May 23