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.
- DAI Icon source
- MKR Icon source
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
- Docs: https://developer.makerdao.com/dai/1/api/
- Docs: https://github.com/makerdao/sai/blob/master/DEVELOPING.md
- Source: https://github.com/makerdao/sai
Dai.js Javascript Library
Python API
- Docs/source: https://github.com/makerdao/pymaker
Maker platform in general
Need help?
Contact [email protected] or #dev channel on chat.makerdao.com
- Kauri original title: Quick guide - Integrating DAI or MKR tokens in wallets
- Kauri original link: https://kauri.io/quick-guide-integrating-dai-or-mkr-tokens-in-walle/10158e201b024ffe99389879da006599/a
- Kauri original author: David Utrobin (@davidutro)
- Kauri original Publication date: 2019-02-06
- Kauri original tags: EthDenver
- Kauri original hash: QmcwQfK4GetU1BpqTZYiMKuLTodfL22F6B6WhkTTjz7QKN
- Kauri original checkpoint: QmYRYAA1TRyDiXS6uLXdt6qS8AnW63tqJHYpUQKrdyNz7h