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

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), withdraw loans in 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.

Also see Multi-Collateral Dai Examples.

Clone this wiki locally