Quick guide - Integrating DAI or MKR tokens in wallets

Quick guide - Integrating DAI or MKR tokens in wallets

This document contains the necessary resources to integrate the DAI and MKR ERC-20 tokens into a wallet.

Prerequisites

This document assumes familiarity with Ethereum, how to integrate ERC-20 tokens, and basic knowledge of the Maker platform.

Token contracts

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.

Token libraries

Javascript Library

Dai.js is a javascript library that exposes the functionality of the 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.