This document contains the necessary resources for an exchange or wallet to integrate the DAI and MKR ERC-20 tokens.
This document assumes familiarity with Ethereum, how to integrate ERC-20 tokens, and basic knowledge of the Maker platform.
In order to interact directly with the tokens, you can find the Ethereum mainnet smart contract addresses, source code, and ABIs in the links below. The tokens follow the ERC20 token standard, and thus should be interoperable with contracts that implement this standard interface.
Live Ethereum mainnet deployments:
For testing, token contracts on the Kovan testnet can be found here:
When listing Dai or Maker tokens on exchanges or in wallets, you should use the following currency notations.
- DAI Icon source
- MKR Icon source
- Addresses: https://changelog.makerdao.com
- Docs: https://docs.makerdao.com
- Source: https://github.com/makerdao/dss
Javascript Library
Dai.js is a javascript library that exposes the functionality of the Maker Protocol smart contracts in a javascript environment, mitigating the need to integrate directly with the smart contract layer. It can, among other things, be used to implement token transfers.
- Docs: https://docs.makerdao.com/building-on-top-of-the-maker-protocol/dai.js-wiki
- Source: https://github.com/makerdao/dai.js
Similarly to the library above, the Python API provides endpoints to interact with the smart contracts in a Python environment, such as endpoints for token transfers.
- Docs/source: https://github.com/makerdao/pymaker
- Rocket chat - #dev channel