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 Plugin for using Trezor with dai.js in a browser environment.

  2. Ledger Plugin for using Ledger in a browser environment.

  3. Governance Plugin for working with the governance contracts.

  4. eth2dai Instant Plugin for atomic trading on maker OTC (Oasis).

  5. Maker OTC Plugin 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 Template.