🇳🇱✖️DutchX Examples: How to build on top of DutchX
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
01_basic-web-deposit Split the readme in steps Dec 7, 2018
02_truffle-migrate
03_onchain-integration-oracle
04_react-web-api
05_vanilla-web-api
.gitignore
LICENSE
README.md

README.md

Build on top of the DutchX

This project is a series of examples on how to build applications on top of the DutchX.

All the guides, and reference documentation can be found in:

Start from the begining

So the examples are part of a guide and you are suppouse to do them in order.

So the first one should be Example 01: Basic Web - Deposit

The complete list of examples is:

  • Example 01: Basic Web - Deposit:
    • This example shows were to find the contracts and how to integrate it in a basic app.
    • It also shows how the desposit works. This operation is very important, because it allowes users to have balance in the DutchX, so you can submit sell/buy orders or add token pairs.
    • The example is a basic React web app with an input and some buttons, that allows the user to deposit tokens into the DutchX.
  • Example 02: Truffle Migrate:
    • Shows how to create a new project from scratch that depends on DutchX and how you can deploy the contracts in a ganache-cli local node.
  • Example 03: Onchain integration - Use it as an oracle:
    • This example shows how to create your own contract and migrations that makes use the DutchX.
    • This example creates a Safe contract to deposit funds. It uses the DutchX to get an estimate of the price in USD for any token in the Safe contract.
  • Example 04: React Web - Boilerplate and API :
    • This example runs you through how to create your own React v16.xx JS frontend app that interfaces with the DutchX.
    • We will migrate all contracts, init APIs and display it in our own React JS app
  • Example 05: Vanilla JS Web - Boilerplate and API:
    • This example runs you through how to create your own frameworkless, JS frontend app that interfaces with the DutchX.
    • We will migrate all contracts, init APIs and display it in our own barebones JS app

Give some feedback and help us improve the docs

If you follow the guide and you encounter any inconvenience, let us kwnow.

Pull requests are welcomed, and any feedback can be given in the DutchX Gitter Channel.