{"id":29219863,"url":"https://github.com/protofire/tezos-defi-dapp","last_synced_at":"2025-07-03T02:07:41.712Z","repository":{"id":41659276,"uuid":"244652853","full_name":"protofire/tezos-defi-dapp","owner":"protofire","description":"User interface with high level of deFi functionalities ","archived":false,"fork":false,"pushed_at":"2023-01-24T01:36:04.000Z","size":3897,"stargazers_count":16,"open_issues_count":19,"forks_count":8,"subscribers_count":7,"default_branch":"master","last_synced_at":"2023-04-10T04:54:35.037Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/protofire.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-03-03T14:09:41.000Z","updated_at":"2022-07-29T07:40:47.000Z","dependencies_parsed_at":"2023-02-13T09:15:59.237Z","dependency_job_id":null,"html_url":"https://github.com/protofire/tezos-defi-dapp","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"purl":"pkg:github/protofire/tezos-defi-dapp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/protofire%2Ftezos-defi-dapp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/protofire%2Ftezos-defi-dapp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/protofire%2Ftezos-defi-dapp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/protofire%2Ftezos-defi-dapp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/protofire","download_url":"https://codeload.github.com/protofire/tezos-defi-dapp/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/protofire%2Ftezos-defi-dapp/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263245314,"owners_count":23436515,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":[],"created_at":"2025-07-03T02:07:41.123Z","updated_at":"2025-07-03T02:07:41.699Z","avatar_url":"https://github.com/protofire.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![CircleCI](https://circleci.com/gh/protofire/tezos-defi-dapp.svg?style=svg)](https://circleci.com/gh/protofire/tezos-defi-dapp)\n[![Netlify Status](https://api.netlify.com/api/v1/badges/3faddc9d-aa40-48f2-a98d-1862bac37c30/deploy-status)](https://app.netlify.com/sites/tezosdefidapp/deploys)\n\n# Tezos DeFi DApp\nImplementations for common smart contract patterns of popular DeFi applications and a user interface with high-level DeFi functionality. These implementations can be used as templates or starter kits to bootstrap new applications, therefore, greatly increasing developer productivity at the start of new projects.\nCheckout a [demo](https://tezosdefidapp.netlify.app/).\n\n## Getting started\nA quick introduction to the minimum setup you need to get a Tezos DeFi DApp up and running.\n\n### Sections\n\n#### Home\n\u003cimg src=\"https://i.ibb.co/Rbqqcy2/Screenshot-20200522-161648.png\" width=\"600\"\u003e\n \n#### Modal Borrow \n\u003cimg src=\"https://i.ibb.co/p3sWTnN/Screenshot-20200522-161729.png\" width=\"600\"\u003e \n\n#### Modal Supply\n\u003cimg src=\"https://i.ibb.co/hBPDPdq/Screenshot-20200522-161702.png\" width=\"600\"\u003e \n\n### Prerequisites\nTo set up a development environment, follow the links below to see installation instructions.\n- [Node.js](https://nodejs.org/es/download/) (v10.20.1 or higher)\n- [Ligo](https://ligolang.org/docs/intro/installation) (the latest version)\n- [Yarn](https://classic.yarnpkg.com/en/docs/install#debian-stable) (v1.12.3)\n- [React](https://reactjs.org) (v16.13.1)\n\n### Setting up a development environment\n\n```shell\ngit git@github.com:protofire/tezos-defi-dapp.git\ncd tezos-defi-dapp/\nyarn install\n```\n\n### Contracts\nThe contracts are located in the folder [defi-contracts](https://github.com/protofire/tezos-defi-dapp/blob/master/defi-contracts) .\nFor more details, you can check out the [README](https://github.com/protofire/tezos-defi-dapp/blob/master/defi-contracts/README.md) file.\n\n### Application\nThe React-based application can be found in the [defi-dapp](https://github.com/protofire/tezos-defi-dapp/blob/master/defi-dapp) folder.\n\n### Oracle\nWe use an Oracle only for showing the USD on the react frontend. For more information about how the oracle works you can check the [oracle repository](https://github.com/protofire/tezos-price-oracle).\n\n### Exchange Rate\nCurrently the exchange rate is being calculated as follows\n```shell\n(totalDeposits + totalBorrows) / tokenSupply\n```\nYou can check it in the file `poolInterest.ligo`. Soon we will include several changes like management of multiple assets, prices, fees, etc, and this formula will be modified.\n\n\n## Blog posts\nWe have written a series of blog posts that will guide you through the concepts of DeFi smart contracts in Tezos.\n\n* [How to Integrate JavaScript with Smart Contracts and Run Unit Tests](https://medium.com/protofire-blog/tezos-part-4-how-to-integrate-javascript-with-smart-contracts-and-run-unit-tests-c36756149e9d)\n* [Token standards](https://medium.com/protofire-blog/tezos-part-5-token-standards-28b8733a3ce5)\n* [Recommendations to Enhance Security of Tezos Smart Contracts](https://medium.com/protofire-blog/recommendations-to-enhance-security-of-tezos-smart-contracts-d14c0e53a6d3)\n* [Enabling smart contract interactions in Tezos with ligo contracts and CPS](https://medium.com/protofire-blog/enabling-smart-contract-interaction-in-tezos-with-ligo-functions-and-cps-e3ea2aa49336)\n* [Explaining Smart Contracts](https://github.com/protofire/tezos-defi-dapp/blob/master/defi-docs)\n\n### Licensing\n[MIT](https://github.com/protofire/tezos-defi-dapp/blob/master/LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprotofire%2Ftezos-defi-dapp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprotofire%2Ftezos-defi-dapp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprotofire%2Ftezos-defi-dapp/lists"}