React dApp Dev Challenge

The idea of this challenge is to evaluate your skills as a React dApp Developer. You should be able to create a dApp with React that interacts with Compound's cDAI contract in Kovan.

If you want to apply to this position, please send the following to jobs at exact dot ly:

  1. The URL with the dApp up and running
  2. Your solution in a private repository

The team will review your solution only if the online dApp you send does all requirements requested here.

The dApp should be able to:

  1. Connect and disconnect a wallet like MetaMask
  2. Get the cDAI balance in the wallet and show it in the UI
  3. Deposit DAI to the contract directly from the UI
  4. Get the transaction history of the connected wallet

Think about

  • You can use this faucet to get tokens to test your dApp
  • cDAI and DAI are not 1:1, you should display the amount in cDAI
  • You can deposit, borrow, repay and redeem directly from Compound if you are connected to the Kovan testnet
  • If you want to use a subgraph, you can use this one or create your own
  • How much logic do you offload out of the UI components?
  • Think about the UX, minimize the number of interactions to use the application
  • Take care of your environment variables

Criteria

The things that we will pay attention to are:

  • Commit history
  • Responsiveness
  • Accessibility
  • Knowledge of web3
  • Good design practices

Desirable

  • Type all elements used in the app
  • Add unit tests, with Jest for functions and React Testing Library for components
  • Add integration tests with Cypress or similar testing frameworks