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:
- The URL with the dApp up and running
- Your solution in a private repository
The team will review your solution only if the online dApp you send does all requirements requested here.
- Connect and disconnect a wallet like MetaMask
- Get the cDAI balance in the wallet and show it in the UI
- Deposit DAI to the contract directly from the UI
- Get the transaction history of the connected wallet
- 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
The things that we will pay attention to are:
- Commit history
- Responsiveness
- Accessibility
- Knowledge of web3
- Good design practices
- 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