Inspiration
As we know in todays world , data is the gold , and just like we protect our assets , we have to protect our data too. And for protecting our data there should be mechanisms through which unauthorized person unable to see and change our data. So for that I create a blockchain network so that patients info remain secure.
What it does
Here are 4 components-> patient , doctor , miner , full nodes. 1) A patient can push its queries in the form of transaction to blockchain network , where it is in a secured format 2) A doctor fetches the queries which belong to him. 3) A miner mine the transactions before it is pushed to the blockchain network. 4) A full node verify the mined transactions as it is valid or not and after validation and verification transactions get pushed to the blockchain network and after pushing doctor will able to fetch for the queries.
How we built it
I use react JS , web sockets and express JS to make this project. We did not use any database as we have to create it a decentralized system . Through web sockets as the components ( patient , doctor , miner , full node are connected to each other ). First patient will push the queries and when there are x no of queries from all the patients, the miner will mine it and after mining all full nodes will verify all the queries separately and when 51% of full nodes verify it we will upload these transactions in the form of block to the blockchain network. All full nodes will have a copy of the entire blockchain network , which is being used for verification and when block is uploaded to network then its info is passed to everyone in the network so that they can update there respective blockchain network. A full node verify the block by 3 steps. 1) check the signature of the patient , as signature should be matched. 2) check the hash of previous and current block of whole blockchain network. 3) check the proof of work of the miner.
Challenges we ran into
As we have to maintain the integrity of blockchain network. So for that I have to verify again and again that what I am doing is correct or not , is it actually happened or not.
Accomplishments that we're proud of
Created a real time blockchain network from scratch , without using the solidity framework.
What we learned
In depth knowledge of blockchain network.
What's next for Pservice Blockchain
We have to improve the UI of the website and after that we have to connect with multiple doctors to participate in this network.