alejoacosta74/ethereum-farming-example
소개
DeFi Farming contract that rewards investors with ARG coins after staking mDAI coins
비즈니스 및 금융측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalDeFi farming example
Overview
This project implements a DeFi application consisting of a "Farming contract" that issues new ARG coins to investors that deposit money for a certain amount of time

Web APP view

Install
Clone repository and install dependencies and devDependencies:
$ npm install -g truffle
$ npm install -g ganache-cli
$ cd DeFi_example
$ npm init
$ npm install
Usage
Start ganache-cli development ethereum network:
$ ganache-cli &
On another terminal, compile and deploy solidity contracts to Ganache development network:
$ truffle compile
$ truffle migrate
On another terminal, start the web server:
$ npm run start
To use the Web DeFi APP go to http://localhost:3000/ in your browser
To simulate the issuing of ARG tokens run the script:
$ truffle exec ./scripts/issue-token.js
Dependencies
You will need to install MetaMask in your browser in order to interact with the React Web App!!
관련 프로젝트 살펴보기
불러오는 중…