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:
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.
- Shows how to create a new project from scratch that depends on DutchX and
how you can deploy the contracts in a
- 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 inUSD
for any token in theSafe
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
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.