This is a demo dapp that uses Compound's CDAI contracts in Rinkeby to allow the user to invest DAI.
Install node modules
yarn
Run the development server:
yarn dev
Open http://localhost:3000 with your browser to access the dapp.
yarn test
Copy the dotenv file
cp .env.example .env
Run a Hardhat node:
npx hardhat node
Run tests:
yarn test:e2e
Alternatively, after copying the .env
file you can use the dapp using the Hardhat node as the "backend". To do this, just run:
yarn dev