Skip to content
This repository has been archived by the owner on Sep 28, 2022. It is now read-only.
Michael Elliot edited this page Nov 25, 2019 · 21 revisions

💡We are in the process of updating our documentation for Multi-Collateral Dai.
For now, please check out Multi-Collateral Dai Examples.

Dai.js is a JavaScript library that makes it easy to build applications on top of MakerDAO's platform of smart contracts. You can use Maker's contracts to open Vaults (formerly known as CDPs), deposit collateral and generate Dai, trade tokens on decentralized exchanges, and more. The library features a pluggable, service-based architecture, which allows users to easily integrate Maker functionality into their own apps. It also includes convenient configuration presets for out-of-the-box usability and support for both front-end and back-end applications, plus plugins for integrating with Maker governance, hardware wallets, and Multi Collateral Dai (MCD).

Made with Dai.js

Examples

For example code that uses the library, check out these integration examples or the Dai react template.

Clone this wiki locally