Coder Social home page Coder Social logo

danisimas / med-chain Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jeffreythecoder/med-chain

0.0 0.0 0.0 26.52 MB

A blockchain-based Electrical Medical Records (EMR) system.

Home Page: https://devpost.com/software/medchain-k4wzry

License: MIT License

JavaScript 89.31% CSS 0.59% HTML 3.68% Solidity 6.43%

med-chain's Introduction


Markdownify

A blockchain-based Electrical Medical Records (EMR) system.

Key FeaturesHow It WorksHow To UseSupport

Key Features

MedChain is powered by IPFS, 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 blockchain, who and whose doctor can access medical records by interacting with smart contracts.

On MedChain,

  • A healthcare provider can register using a crypto wallet like Metamask.
  • The healthcare provider can register a patient by using the public address of the patient’s wallet, usually provided during an appointment.
  • The health provider can search for a patient’s records using the address, and upload a new record for the patient.
  • The patient can also view his or her records, after connected with a wallet which address is registered by the health provider.

This project is the 3rd place winner of NextStep Hacks 2022.

How It Works

There are three major components of MedChain:

  1. React client (connected with MetaMask)
  2. Solidity smart contract on Ethereum blockchain
  3. Interplanetary file system (IPFS)

The 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.

The 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.

How To Use

Install Truffle globally if you haven't.

$ npm install -g truffle

Install Truffle dependencies and deploy smart contracts to local Ethereum network like Ganache.

$ cd truffle
$ npm install
$ truffle compile
$ truffle deploy

Install React dependencies and start React app.

$ cd ../client
$ npm install
$ npm start

You should be able to see the application running at http://localhost:3000.

Support

If you like this project, please leave a star ⭐️. This helps more people to know this project.


jeffreyyu.dev  ·  GitHub @jeffreythecoder  ·  Twitter @jeffreyzepengyu

med-chain's People

Contributors

jeffreyyu25 avatar jeffreythecoder avatar akilesh2003 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.