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 11, 2019 · 21 revisions

Introduction

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 Collateralized Debt Positions (CDPs), withdraw loans in Dai, trade tokens on decentralized exchanges, and more. The library features a pluggable, service-based architecture, which allows users maximal control when integrating the Maker functionality into existing infrastructures. 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 (WIP).

Integration Examples

For example code that consumes the library, check out these examples or the dai react template.

Clone this wiki locally