Welcome to the MediChain repository! This repository hosts the source code and documentation for the MediChain project. MediChain is a blockchain-based system designed to securely store and manage medical records.
MediChain aims to address the challenges associated with the management of medical records by leveraging the benefits of blockchain technology. By utilizing a decentralized and immutable ledger, MediChain ensures the security, privacy, and integrity of medical data.
This repository contains the implementation of the MediChain system, including smart contracts, backend server, and frontend user interface.
- Secure and Private: Medical records are stored on a blockchain, ensuring tamper-proof and encrypted storage, protecting sensitive patient information.
- Decentralized: The decentralized nature of blockchain eliminates the need for a central authority, increasing transparency and reducing the risk of data loss.
- Permissioned Access: Access to medical records can be controlled by the patients and authorized healthcare providers, ensuring privacy and data ownership.
- Immutable Audit Trail: Every change made to medical records is recorded on the blockchain, providing an auditable history of data modifications.
- Interoperability: MediChain supports standard data formats and interfaces, enabling seamless integration with existing healthcare systems.
- User-Friendly Interface: A user-friendly web-based interface allows patients and healthcare providers to interact with the system easily.
To install and run MediChain locally, follow these steps:
- Clone this repository:
git clone https://github.com/anj20/MediChain.git - Install the required dependencies:
- Navigate to the folder and run npm install --force
- Configure the system:
- Set up a blockchain network (e.g., Ganache) and update the connection details in the server configuration.
- Deploy the smart contracts:
- Compile the smart contracts using the Solidity compiler.
- Deploy the contracts to your chosen blockchain network.
- Update the contract addresses in the server configuration.
- Start the client:
- Run
npm startin the directory to start the frontend user interface.
- Run
- Access MediChain:
- Open a web browser and navigate to the provided address (typically
http://localhost:3000).
- Open a web browser and navigate to the provided address (typically
MediChain provides a user-friendly interface for patients and healthcare providers to manage medical records. The system allows patients to securely store their medical records, control access permissions, and view the audit trail. Healthcare providers can request access to patient records, view authorized records, and make necessary updates.
Contributions to MediChain are welcome! If you would like to contribute, please follow these steps:
- Fork the repository.
- Create a new branch for your feature or bug fix:
git checkout -b my-new-feature. - Make the necessary changes and commit them.
- Push the branch to your fork:
git push origin my-new-feature. - Submit a pull request detailing your changes.
Please ensure that your contributions align with the project's coding style and guidelines.
This project is licensed under the MIT License. Feel free to modify and distribute it according to the terms of the license.