Use DutchX as an Oracle
Before starting this guide, you should be already familiar with how to Local Development + Truffle. Please, complete that guide first before you start with this one.
Once you know how to create a project that depends on the DutchX, and you know how to migrate the contracts for local development, you are ready to use the contract from our project.
One simple use-case of the DutchX is as an onchain price oracle.
Learn how to get the price for any token pair from the DutchX following the steps described in this project:
You may be also interested in: