{"id":31949694,"url":"https://github.com/jeffreythecoder/med-chain","last_synced_at":"2026-03-01T17:03:14.803Z","repository":{"id":113916751,"uuid":"524317280","full_name":"JeffreytheCoder/med-chain","owner":"JeffreytheCoder","description":"A blockchain-based Electrical Medical Records (EMR) system.","archived":false,"fork":false,"pushed_at":"2024-04-17T20:47:03.000Z","size":27697,"stargazers_count":40,"open_issues_count":0,"forks_count":10,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-10-14T12:34:38.675Z","etag":null,"topics":["blockchain","ethereum","ipfs","react"],"latest_commit_sha":null,"homepage":"https://devpost.com/software/medchain-k4wzry","language":"JavaScript","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/JeffreytheCoder.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2022-08-13T06:09:38.000Z","updated_at":"2025-09-22T10:10:14.000Z","dependencies_parsed_at":null,"dependency_job_id":"f30bde5e-1c09-4dd8-9196-cf056ee61a29","html_url":"https://github.com/JeffreytheCoder/med-chain","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/JeffreytheCoder/med-chain","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JeffreytheCoder%2Fmed-chain","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JeffreytheCoder%2Fmed-chain/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JeffreytheCoder%2Fmed-chain/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JeffreytheCoder%2Fmed-chain/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JeffreytheCoder","download_url":"https://codeload.github.com/JeffreytheCoder/med-chain/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JeffreytheCoder%2Fmed-chain/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29976272,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-01T16:35:47.903Z","status":"ssl_error","status_checked_at":"2026-03-01T16:35:44.899Z","response_time":124,"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":["blockchain","ethereum","ipfs","react"],"created_at":"2025-10-14T12:34:13.640Z","updated_at":"2026-03-01T17:03:09.788Z","avatar_url":"https://github.com/JeffreytheCoder.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n\u003ch1 align=\"center\"\u003e\n  \u003cbr\u003e\n  \u003ca href=\"http://www.amitmerchant.com/electron-markdownify\"\u003e\u003cimg src=\"https://github.com/JeffreytheCoder/med-chain/blob/master/client/src/assets/tealNoBG-cropped.png?raw=true\" alt=\"Markdownify\" width=\"300\"\u003e\u003c/a\u003e\n  \u003cbr\u003e\n\u003c/h1\u003e\n\n\u003ch4 align=\"center\"\u003eA blockchain-based Electrical Medical Records (EMR) system.\u003c/h4\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"#key-features\"\u003eKey Features\u003c/a\u003e •\n  \u003ca href=\"#how-it-works\"\u003eHow It Works\u003c/a\u003e •\n  \u003ca href=\"#how-to-use\"\u003eHow To Use\u003c/a\u003e •\n  \u003ca href=\"#support\"\u003eSupport\u003c/a\u003e\n\u003c/p\u003e\n\n## Key Features\n\nMedChain is powered by [IPFS](https://ipfs.tech/), where every patient's medical records are stored on the distributed file system, not owned by any centralized entity like hospitals or governments. Each patient has a digital identity on [Ethereum](https://ethereum.org/) blockchain, who and whose doctor can access medical records by interacting with smart contracts. \n\nOn MedChain,\n\n- A healthcare provider can register using a crypto wallet like Metamask.\n- The healthcare provider can register a patient by using the public address of the patient’s wallet, usually provided during an appointment.\n- The health provider can search for a patient’s records using the address, and upload a new record for the patient. \n- The patient can also view his or her records, after connected with a wallet which address is registered by the health provider.\n\nThis project is the 3rd place winner of [NextStep Hacks 2022](https://devpost.com/software/medchain-k4wzry).\n\n## How It Works\n\nThere are three major components of MedChain:\n\n1. React client (connected with MetaMask)\n2. Solidity smart contract on Ethereum blockchain\n3. Interplanetary file system (IPFS)\n\n\u003cp align=\"center\"\u003e\n\u003cimg src=\"https://d112y698adiu2z.cloudfront.net/photos/production/software_photos/002/187/785/datas/original.png\" width=\"700\"/\u003e\n\u003c/p\u003e\n\nThe client first connects with crypto wallet, and use smart contract to mint a patient or doctor block if the public address of the user’s wallet is not registered.\n\nThe client can upload a record file to IPFS, which address is linked to a patient block in ETH chain. The client can get all record addressed stored in a patient block from smart contract, and get a record file by its address from IPFS.\n\n## How To Use\n\nInstall Truffle globally if you haven't.\n\n```sh\n$ npm install -g truffle\n```\n\nInstall Truffle dependencies and deploy smart contracts to local Ethereum network like [Ganache](https://trufflesuite.com/ganache/). \n\n```sh\n$ cd truffle\n$ npm install\n$ truffle compile\n$ truffle deploy\n```\n\nInstall React dependencies and start React app. \n\n```sh\n$ cd ../client\n$ npm install\n$ npm start\n```\n\nAdd your Infura IPFS project ID and secret to `.env`. You can create an project [here](https://www.infura.io/).\n\n```\nREACT_APP_IPFS_PROJECT_ID={YOUR_IPFS_PROJECT_ID}\nREACT_APP_IPFS_PROJECT_SECRET={YOUR_IPFS_PROJECT_SECRET}\n```\n\nYou should be able to see the application running at http://localhost:3000.\n\n\n## Support\n\nIf you like this project, please leave a star ⭐️. This helps more people to know this project.\n\n---\n\u003e GitHub [@jeffreythecoder](https://github.com/JeffreytheCoder/JeffreytheCoder) \u0026nbsp;\u0026middot;\u0026nbsp;\n\u003e Twitter [@jeffreyzepengyu](https://twitter.com/jeffreyzepengyu)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjeffreythecoder%2Fmed-chain","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjeffreythecoder%2Fmed-chain","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjeffreythecoder%2Fmed-chain/lists"}