The idea of this challenge is to create a dApp that has the ability to interact with Compound’s cDAI contract in Kovan’s testnet.
- Connect to metamask
- Get the cDAI balance and show it in the UI
- Deposit DAI to the contract directly from the UI
- Get the transaction history of the connected wallet
- cDAI and DAI are not 1:1, we should display the amount in cDAI
- If connected to Kovan network, you can Deposit, Borrow, Repay and Redeem directly from: https://app.compound.finance/
- You can use this Faucet to get tokens
- If you are going to use a subgraph, you can use this one or create your own one
DAI contract: 0x4F96Fe3b7A6Cf9725f59d353F723c1bDb64CA6Aa
cDAI contract: 0xF0d0EB522cfa50B716B3b1604C4F0fA6f04376AD