Plugins

Dai.js supports plugins, which allow a developer to add functionality (hardware wallet support, exchange support, etc.) for specific needs without increasing the size and dependency list of the core library.

Available Plugins

  1. Trezor Pluginarrow-up-right for using Trezor with dai.js in a browser environment.

  2. Ledger Pluginarrow-up-right for using Ledger in a browser environment.

  3. Governance Pluginarrow-up-right for working with the governance contracts.

  4. eth2dai Instant Pluginarrow-up-right for atomic trading on maker OTC (Oasis).

  5. Maker OTC Pluginarrow-up-right for interacting with the maker OTC contract (Oasis).

  6. MCD Plugin for interacting with the multi-collateral dai contracts.

  7. SCD Plugin for interacting with the single-collateral dai contracts.

Building your own plugin

Check out the Dai Plugin Templatearrow-up-right.

Last updated