Inspiration

Blockchain technology is revolutionizing the method of storing data. Concepts such as Proof of Work (PoW) automatically ensure data integrity while decentralization prevents targeted attacks. Therefore, this Hackathon provided an ideal platform for me to learn more about blockchain and hence my decision to choose this project.

What it does

The app serves as a digital medical passport supported by blockchain for convenient and hassle-free verification of immunization history and prescription medications etc. The need for a decentralized yet organized medical wallet :

  • The recent ransomware attacks on hospitals has highlighted the vulnerability of a centralized database for storing medical records.

  • The Covid-19 pandemic has brought to light the lack of an organized medical infrastructure to handle movement of people which at certain instances has nearly crippled the administrative entities. A medical wallet could serve to augment other travel documents thereby providing a holistic solution.

How we built it

The app Apollo is built on the Flutter frontend framework which allows highly customizable UI elements for both android as well as IOS platforms. Apollo uses the infuria api to communicate with the smart contract on the ethereum blockchain and Web3.js port to Dart to retrieve JSON-RPC data objects from the smart contract. Apollo has knowledge of the patient's public key which it uses to query the smart contract for medical records. The retrieved JSON data is then used to populate the appropriate fields inside the application such as creating a widget to display green or red concerning the vaccination status .

The smart contract is written using solidity and deployed to the rinkeby testnet using remix.ethereum.org and MetaMask. The smart contract states are expected to be altered by the medical care providers who update the blockchain with the patient's medical history along-with the patient's public key.

Challenges we ran into

  • Setting up an ethereum testnet to test my application
  • Developing the frontend

Accomplishments that we're proud of

  • Successful in completing the objective
  • Successful deployment of a smart contract
  • Frontend Development

What we learned

  • Writing and deploying smart contracts
  • Utilizing blockchain as a decentralized and secure means of storing data
  • Using Flutter to build UI
  • Ethereum blockchain

What's next for Apollo

  • Add a QR code based routine to store medical care provider's public key for querying the blockchain (currently harcoded)
Share this project:

Updates