{"id":23554761,"url":"https://github.com/alejoacosta74/ethereum-farming-example","last_synced_at":"2026-03-04T06:32:20.364Z","repository":{"id":128687303,"uuid":"327136849","full_name":"alejoacosta74/ethereum-farming-example","owner":"alejoacosta74","description":"DeFi Farming contract that rewards investors with ARG coins after staking mDAI coins ","archived":false,"fork":false,"pushed_at":"2025-09-04T03:23:35.000Z","size":682,"stargazers_count":357,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-09-04T05:41:23.122Z","etag":null,"topics":["dai","defi","defi-application","ethereum","javascript","solidity"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/alejoacosta74.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-01-05T22:36:44.000Z","updated_at":"2025-09-04T03:31:05.000Z","dependencies_parsed_at":"2023-03-30T06:06:32.239Z","dependency_job_id":null,"html_url":"https://github.com/alejoacosta74/ethereum-farming-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/alejoacosta74/ethereum-farming-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alejoacosta74%2Fethereum-farming-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alejoacosta74%2Fethereum-farming-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alejoacosta74%2Fethereum-farming-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alejoacosta74%2Fethereum-farming-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alejoacosta74","download_url":"https://codeload.github.com/alejoacosta74/ethereum-farming-example/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alejoacosta74%2Fethereum-farming-example/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30074152,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-04T05:31:57.858Z","status":"ssl_error","status_checked_at":"2026-03-04T05:31:38.462Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["dai","defi","defi-application","ethereum","javascript","solidity"],"created_at":"2024-12-26T12:25:15.959Z","updated_at":"2026-03-04T06:32:20.313Z","avatar_url":"https://github.com/alejoacosta74.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DeFi farming example\n\n## Overview\nThis project implements a DeFi application consisting of a \"Farming contract\" that issues new ARG coins \nto investors that deposit money for a certain amount of time\n\n![Farming flow](./docs/FarmingExample.png)\n\n## Web APP view\n\n![Screen shot](./docs/APPscreenshot.png)\n\n## Install\n\nClone repository and install dependencies and devDependencies:\n\n```bash\n$ npm install -g truffle\n$ npm install -g ganache-cli\n$ cd DeFi_example\n$ npm init\n$ npm install\n```\n\n## Usage\n\nStart ganache-cli development ethereum network:\n```bash\n$ ganache-cli \u0026\n```\n\nOn another terminal, compile and deploy solidity contracts to Ganache development network:\n```bash\n$ truffle compile\n$ truffle migrate\n```\n\nOn another terminal, start the web server:\n```bash\n$ npm run start\n```\n\nTo use the Web DeFi APP go to http://localhost:3000/ in your browser\n\nTo simulate the issuing of ARG tokens run the script:\n\n```bash\n$ truffle exec ./scripts/issue-token.js\n```\n\n## Dependencies\n\nYou will need to install MetaMask in your browser in order to interact with the React Web App!!\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falejoacosta74%2Fethereum-farming-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falejoacosta74%2Fethereum-farming-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falejoacosta74%2Fethereum-farming-example/lists"}