Skip to content
プロジェクト

alejoacosta74/ethereum-farming-example

GitHubで見る

概要

DeFi Farming contract that rewards investors with ARG coins after staking mDAI coins

ビジネス・金融

この数値の測り方

計測したスター増加

24時間
0
7日間
0
15日間
0
1か月
履歴を収集中

期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。

DeFi 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

Farming flow

Web APP view

Screen shot

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!!

関連プロジェクトを探す

読み込み中…