Skip to content

chris247474/dsr-react-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dai Savings Rate Integration Example

This React integration example uses the dai-mcd-plugin in the Dai.js library to implement Dai Savings Rate functionality. This plugin has easy to call functions that interact with the MCD smart contracts.

In this example you can:

  • Approve the system to transfer Dai from your wallet to the DSR contract
  • Transfer Dai from your wallet to the DSR contract
  • Retrieve a portion or all of your Dai from DSR

The DSR logic is implemented in src/components/DsrDemo.js

Prerequisites

Steps to run the example:

  • Navigate to dsr folder
  • run npm install
  • run npm start

References and Guides

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published