This repository contains the Solidity source code written with hardhat framework & Frontend ReactJs Framework. BriskMed is Making Healthcare access, fast and effective with Healthcare Centers providing bed space availability and Specialty information in a decentralized platform.
Introduction • Usage • Documentation • Issue?
This smart contract was written with solidity
, hardhat
, Pinata
and on Polygon
. It's has features such as:
- Creating of Health Center profile.
- Enabling Ratings and Review
- Ability for users to know Hospitals near them with coordinates
- Polygon Testnet
- Pinata
- Solidity
- QuikNode
About BriskMed
Emergency Patients die everyday due to arriving in a filled HealthCare Centers with no capacity to admit or hospital with different area of specialty.
BriskMed provides the Technological solutions to such problem by letting Healthcare Centers provide these vital informations for the public to see and avoid such situations. Briskmed lets you know the Hospitals around you and General Review/Rating in other to get the perfect care.
In few years it should improve the effectiveness of healthcare centers due to taking in specific patients, Knowing what they should improve on from patience feedback and lastly reduce the cause of death by this very problem.
- Users give rating just by connecting wallet
- Only Hospitals can create a profile
- Quick Hospital search.
I ran into some issues some issues like.
- Returning a mapping in solidity, which I finally resolved to return a struct.
- Verifying my smart contract where I could not paste a code if I import a library as a single file.
- Ethers as when I reload a page I get "INVALID address ENS name error" which was fixed by properly using the useeffect.
Some of what we learnt.
- Proper use of for loop in solidity.
- Usage of `EthersJS to interact with smart contract which include reading and writing, items like signers and providers.
Instructors were there to guide me through it and the bootcamp was of great Value.