The idea is to store your(patient's) medical data onto blockchain so that it will be secured. Also, there will be permissions for doctors and other user roles to access your medical data/reports.
Blockchain Medical records
│ .gitignore
│ hardhat.config.js
│ package-lock.json
│ package.json
│ README.md
├───contracts # Contains solidity contracts
│ Greeter.sol
│
├───front-end # Contains FrontEnd code which is in ReactJS
│ │ .gitignore
│ │ index.html
│ │ package-lock.json
│ │ package.json
│ │ vite.config.js
│ │
│ └───src
│ App.css
│ App.jsx
│ favicon.svg
│ index.css
│ logo.svg
│ main.jsx
│
├───scripts # Scripts to interact with solidity contracts
│ sample-script.js
│
└───test
sample-test.js
Try running some of the following tasks:
npx hardhat accounts
npx hardhat compile
npx hardhat clean
npx hardhat test
npx hardhat node
node scripts/sample-script.js
npx hardhat help
cd examples/js-ipfs-examples/examples/browser-script-tag
npm i
npm run serve
Git clone
orgit pull
- Run ipfs deamon in your local
cd file-share
npm i
npm run dev