Skip to content

DeFi Yield Farming App running on the Ethereum Blockchain. Tegfarm allows users to deposit and borrow ETH, DAI and USDT and get interest in TEG token in return.

Notifications You must be signed in to change notification settings

frankperler/yieldfarm

Repository files navigation

teg farm header github

Tegfarm is a DeFi Yield Farming App running on the Ethreum Blockchain.
Tegfarm allows users to deposit and borrow ETH, DAI and USDT and get interest in TEG token in return.

Screenshots

image (2)

image (1)

Getting started

Except for the regular suspects - git, Node, npm, etc - you need these things to run the Tegfarm app. Follow the instructions supplied below before you continue with Installation.

  • Moralis. Subscribe to Moralis here and provide the app ID and server link in the .env file (see .env.example)
  • Make sure you install Truffle here as well as Ganache here to have a local blockhain running. On Ganache, you will have 10 accounts that you can use to interact with the SMART contracts in the application.
  • Install Metamask for your browser here and connect it to the second account you see listed on Metamask. The first one will be used to deploy the smart contracts on the blockchain and should not be used.

Installation

  1. Clone this repo and enter!

    git clone https://github.com/frankperler/yieldfarm.git
    cd yieldfarm
  2. Install dependencies, by running npm install

  3. Add Moralis' key and server link as listed in the .env.example file.

  4. In the client, open the terminal and run in this order:

    • truffle compile
    • truffle migrate --reset
    • npm start
  5. Open your browser and you should see the landing page of Tegfarm

Tech Stack

React, Material-UI, Solidity, Web3.js, Truffle, Ganache, Moralis

Developer

About

DeFi Yield Farming App running on the Ethereum Blockchain. Tegfarm allows users to deposit and borrow ETH, DAI and USDT and get interest in TEG token in return.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published