{"id":15063178,"url":"https://github.com/b-l-u-e/decentralized-lending-platform","last_synced_at":"2026-02-04T06:45:01.794Z","repository":{"id":256035802,"uuid":"854176163","full_name":"b-l-u-e/decentralized-lending-platform","owner":"b-l-u-e","description":"A decentralized credit lending platform majorly in health sector built on chainsafe, metamask, under the ethereum block chain","archived":false,"fork":false,"pushed_at":"2024-10-11T11:06:38.000Z","size":11561,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-11T15:30:14.992Z","etag":null,"topics":["framer-motion","hardhat","react","solidity","tailwindcss","typescript","web3js"],"latest_commit_sha":null,"homepage":"https://swift.on-fleek.app/","language":"TypeScript","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/b-l-u-e.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":"2024-09-08T15:22:46.000Z","updated_at":"2024-10-11T11:06:42.000Z","dependencies_parsed_at":"2024-11-21T12:48:21.610Z","dependency_job_id":"6a469ce3-75be-4cda-baf4-ea9e978b181d","html_url":"https://github.com/b-l-u-e/decentralized-lending-platform","commit_stats":{"total_commits":32,"total_committers":4,"mean_commits":8.0,"dds":0.53125,"last_synced_commit":"72e00f4208d2437668bcf037003ec5cbfc60dc22"},"previous_names":["b-l-u-e/decentralized-lending-platform"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/b-l-u-e/decentralized-lending-platform","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/b-l-u-e%2Fdecentralized-lending-platform","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/b-l-u-e%2Fdecentralized-lending-platform/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/b-l-u-e%2Fdecentralized-lending-platform/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/b-l-u-e%2Fdecentralized-lending-platform/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/b-l-u-e","download_url":"https://codeload.github.com/b-l-u-e/decentralized-lending-platform/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/b-l-u-e%2Fdecentralized-lending-platform/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265479848,"owners_count":23773626,"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":["framer-motion","hardhat","react","solidity","tailwindcss","typescript","web3js"],"created_at":"2024-09-24T23:52:50.280Z","updated_at":"2026-02-04T06:44:56.756Z","avatar_url":"https://github.com/b-l-u-e.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Swift - Decentralized Medical Loan Lending Platform\n\nSwift is a decentralized application (dApp) that provides medical loans through smart contracts. Built using ReactJS, Web3JS, and integrated with MetaMask, Swift offers a seamless user experience for managing loans and deploying contracts.\n\n## Table of Contents\n\n1. [Getting Started](#getting-started)\n2. [Project Structure](#project-structure)\n3. [Environment Configuration](#environment-configuration)\n4. [Running the Application](#running-the-application)\n5. [How the dApp Works](#how-the-dapp-works)\n6. [Additional Features](#additional-features)\n7. [For Developers and Testers](#for-developers-and-testers)\n\n## Getting Started\n\nFollow these steps to set up and run the Swift application:\n\n### Prerequisites\n\n- Node.js and npm installed\n- MetaMask browser extension installed\n- Hardhat and Solidity installed\n- A chainsafe network for deployment\n\n### Clone the Repository\n\n```bash\ngit clone git@github.com:b-l-u-e/decentralized-lending-platform.git\ncd decentralized-lending-platform\n```\n\n### Install Dependencies\n\n```bash\nnpm install\n```\n\n### Project Structure\n```\nsrc/ - Contains the ReactJS application code.\ncontracts/ - Solidity smart contracts.\npublic/ - Public assets and HTML files.\n.env - Environment configuration (see Environment Configuration for details).\n```\n\n### Environment Configuration\nCreate an .env file in the root directory with the following content:\n\n```\nVITE_CONTRACT_ADDRESSES=\u003cYOUR_CONTRACT_ADDRESSES\u003e\nPRIVATE_KEY=\u003cYOUR_PRIVATE_KEY\u003e\nReplace \u003cYOUR_CONTRACT_ADDRESSES\u003e with the addresses of your deployed contracts and \u003cYOUR_PRIVATE_KEY\u003e with the private key of the active MetaMask account.\n```\n\n### Running the Application\n\nStart the React Vite Application\n```bash\nnpm run dev\n```\nOpen http://localhost:5174/ in your browser to access the application.\n\n### How the dApp Works\n1. Login with MetaMask\n- Users log in using their MetaMask wallet. Upon authentication, the dashboard displays their wallet balance.\n\n2. Dashboard\n- The minimalistic dashboard shows wallet balance and includes a navigation bar.\n\n3. Medical Loans\n- Navigate to the Loans page to view applied loans and make new applications.\n- Users can specify the loan amount and payment duration. The smart contract registers and saves the loan contract.\n\n4. Admin Route\n- Admins (for development purposes, the user by default can deploy a simple contract and get the address) can deploy new contracts or view existing contracts.\n- Contract deployment is streamlined with a simple button click.\n\n### ENS Name Generation\n\nUse the Namespace plugin to generate a unique ENS name from the user's first and last name.\nThe generated ENS name is saved, editable, and viewable by the user.\n\n### Additional Features\n1. Namespace Plugin\n- Simplifies the process of generating ENS names for users.\n2. OraAI Plugin\n- Provides financial advice and additional information related to user interactions with the application.\n\n### For Developers and Testers\nClone the Repository: Follow the steps in Getting Started.\n\n1. Configure Environment: Create and configure your .env file as described above.\n\nInstall Dependencies: run ``` npm install``` to install the necessary packages.\n\nRun Application: Start the React application using ```npm run dev```.\n\nFor any issues or contributions, please open an issue or pull request on the GitHub repository.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fb-l-u-e%2Fdecentralized-lending-platform","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fb-l-u-e%2Fdecentralized-lending-platform","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fb-l-u-e%2Fdecentralized-lending-platform/lists"}