Medichain DApp is a decentralized application (DApp) that allows users to securely store and manage their medical records on the blockchain. It provides a user-friendly interface for adding medical records, retrieving records, and authorizing healthcare providers to access patient records.
- Add Record: Users can add new medical records by providing diagnosis and treatment information.
- Get Records: Users can retrieve their medical records, including diagnosis, treatment, and timestamp.
- Authorize Providers: Patients can authorize healthcare providers to access their medical records securely.
- Solidity: Smart contract language for implementing the Medichain contract on the Ethereum blockchain.
- Web3.js: JavaScript library for interacting with Ethereum nodes and smart contracts from web applications.
- HTML/CSS: Frontend interface design and styling.
- Node.js: JavaScript runtime for running server-side code.
- Hardhat: Ethereum development environment for compiling, deploying, and testing smart contracts.
- Metamask: Browser extension for interacting with the Ethereum blockchain and managing Ethereum accounts.
To run the Medichain DApp locally, follow these steps:
- Clone the repository:
git clone https://github.com/your-username/medichain-dapp.git
- Navigate to the project directory:
cd medichain-dapp
- Install dependencies:
npm install
- Start the development server:
npm start
- Access the DApp in your web browser at
http://localhost:8080
- Connect your Ethereum wallet using Metamask.
- Add new medical records by providing diagnosis and treatment information, and click "Add Record".
- Retrieve your medical records by clicking "Get Records".
- Authorize healthcare providers to access your medical records by clicking "Authorize Provider".
Contributions are welcome! If you have any suggestions, feature requests, or bug reports, please open an issue or submit a pull request.
This project is licensed under the MIT License.
- This project was inspired by the need for secure and accessible storage of medical records.
- Special thanks to the Ethereum and Solidity communities for their valuable resources and documentation.
- Special thanks to my working brain too <3
For inquiries or support, please contact Steiner254.
N/B: Replace the placeholders with the relevant information
for your project.