The project uses blockchain and smart contracts to let individuals manage and secure their health data. The Project's goal is to empower people to control their health information, communicate better with healthcare providers, and drive innovation in healthcare.
The images show the successful deployment and working of the project done through REMIX IDE and the Project is run through NodeJS and Lite-Server on Local System
Requirements- Metamask,Nodejs,lite-server,Web3js
You can download the metamask extension to run the application for transactions.
You can find the latest version of MetaMask on their official website. For help using MetaMask, visit their User Support Site.
For general questions, feature requests, or developer questions, visit their Community Forum.
MetaMask supports Firefox, Google Chrome, and Chromium-based browsers. We recommend using the latest available browser version.
For up to the minute news, follow their Twitter or Medium pages.
To learn how to develop MetaMask-compatible applications, visit their Developer Docs.
To learn how to contribute to the MetaMask project itself, visit their Internal Docs.
Please Refer the official documentation or the GITHUB Repository to install and run REMIX IDE for deploying Smart contracts
Please read the [documentation][docs] for more.
You can install the package either using NPM or using Yarn
npm install web3
yarn add web3
Use the prebuilt dist/web3.min.js
, or
build using the [web3.js][repo] repository:
npm run build
Then include dist/web3.min.js
in your html file.
This will expose Web3
on the window object.
Or via jsDelivr CDN:
<script src="https://cdn.jsdelivr.net/npm/web3@latest/dist/web3.min.js"></script>
UNPKG:
<script src="https://unpkg.com/web3@latest/dist/web3.min.js"></script>
// In Node.js
const Web3 = require('web3');
const web3 = new Web3('ws://localhost:8546');
console.log(web3);
// Output
{
eth: ... ,
shh: ... ,
utils: ...,
...
}
Additionally you can set a provider using web3.setProvider()
(e.g. WebsocketProvider):
web3.setProvider('ws://localhost:8546');
// or
web3.setProvider(new Web3.providers.WebsocketProvider('ws://localhost:8546'));
There you go, now you can use it:
web3.eth.getAccounts().then(console.log);
After this step Deploy the contracts on Remix ide, Install lite-server and start a new server using lite-server and run the application
Problem Statement: Traditional and centralized methods for storing critical medical data are vulnerable to attacks and thefts, posing significant challenges in data sharing and privacy preservation due to the sensitive nature of medical information.
Proposed Solution: Develop a decentralized blockchain-based application that ensures secure, tamper-proof storage and patient-controlled data sharing, enhancing privacy, interoperability, and efficiency, particularly in emergency situations.