Following The aim of this repo is to go through all the steps from back end (create a farming smart contract) to Front-end ( build UI to use the smart contract). The main steps: UI and in order to stake approved tokens, get rewards on pool issued token, and unstsake. The code can be run locally or kovan test network.
Steps:
- Farm contract
- Dapp Token: ERC20 issued in order to reward the stakers
- Stake to add approved token to the contract and unstake to remove them
- Calculate the total value for each stakers positin in USD using Chain Link Price feed
- Front End: yarn + @usedapp/core + @material-ui/core