PatrickAlphaC / chainlink_defi

Build a defi yield farmable dApp. Get started here.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

chainlink_defi

This repo allows you to stake your FAU/LINK/DAPP or any accepted ERC20 and receive DAPP token as a reward (and can do yeild 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 KOVAN_RPC_URL="https://kovan.infura.io/v3/adfdsfasdfadsfasdfadfadfadf"

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

Build a defi yield farmable dApp. Get started here.


Languages

Language:JavaScript 76.8%Language:Solidity 17.7%Language:HTML 5.5%Language:CSS 0.1%