DeFi Yield Farming

This project focuses on developing a DeFi app which implements the concept of yield farming / liquidity mining in a modular methodology facilitating the addition of new pools of any token in a simple manner.

Functional specifications

  • Stake ERC20 tokens
  • Unstake tokens
  • Create own reward token (or use ETH or other ERC20 like DAI)
  • Reward quantity should be proportional to the locked value in the smartcontract

Requirements

  • Use Chainlink oracle

screenshot

Dependencies

First install required dependencies:

You'll need local ethereum node, I recommend ganache-cli. You can install it from npm.

npm install -g ganache-cli

Install truffle:

npm install -g truffle

Then install contract dependencies:

npm install

Please install or have installed the following: