eugyenoch / yieldFarm

For the yield aggregator project

Repository from Github https://github.comeugyenoch/yieldFarmRepository from Github https://github.comeugyenoch/yieldFarm

yieldfarm

This repo contains code that allows you to stake your token and receive custom token as a reward (and can do yield farming). It gets the Kovan price feed of the ERC with ETH to calculate value.

To get started clone this repo.

Quickstart

Set your MNEMONIC and RPC_URL

export MNEMONIC="apple, cheese, etc...."
export RPC_URL="https://....."

You will need Truffle installed too Then run:

yarn
truffle migrate --reset --network live
yarn start

You can now stake and unstake your mDAI. Once you have some staked, you can issue tokens.

To issue tokens run

truffle exec scripts/issue-tokens.js

About

For the yield aggregator project

License:MIT License


Languages

Language:Solidity 48.9%Language:JavaScript 47.7%Language:HTML 3.3%Language:CSS 0.0%