Quick guide - Integrating DAI or MKR tokens in wallets

Github page: https://github.com/makerdao/developerguides/blob/master/wallets/wallets-guide-01/wallets-guide-01.md

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.

Ethereum Mainnet

Live Ethereum mainnet deployments:

Kovan Testnet

For testing, token contracts on the Kovan testnet can be found here:

Listing symbols

When listing Dai or Maker tokens on exchanges or in wallets, you should use the following currency notations.

A style guide and additional logos can be found here.

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.

Python API

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.

Additional source code and developer docs

DSToken (token standard for Maker tokens)

Current Dai credit system implementation

Dai.js Javascript Library

Python API

Maker platform in general

Need help?

Contact [email protected] or #dev channel on chat.makerdao.com