Using Ethereum Smart Contracts to verify any user's vaccination via Identification Number or QR Code.

Overview

Covid-Vaccine-Verification-Blockchain

Using Ethereum Smart Contracts to verify any user's vaccination via Identification Number or QR Code.

Requirements:

  1. Ganache
  2. Node JS
  3. Truffle Suite
  4. React

Steps to Run:

  1. The vaccination.sol file containing the contract will go into the contracts folder.
  2. The 2_vaccinations.js file will go into the migrations folder as this deploys the contract, sending the first three ganache accounts as parameters to its constructor as Vaccination Authorities (VA).
  3. For the react application, the following libraries need to be installed beforehand if they aren't already installed. To individually install them, the following commands can be used: a. npm install react-bootstrap b. npm install react-qr-reader c. npm install react-tabs d. npm install web3
  4. Simply navigating to the FrontEnd_App folder and running npm install will update and install the required dependencies. This folder will now be the project folder for the react application.
  5. Web3 will still need to be installed manually even if npm install has been used. Run npm install web3
  6. After deploying the contract, using the command truffle migrate –reset, the contract address in the config.js found in the src folder needs to be updated to the address it has been deployed upon in line 2.
  7. In order to start the application, run the command npm start from the directory of the react application.
  8. The vaccination.sol file containing the contract will go into the contracts folder in the truffle directory just initialized
  9. The 2_vaccinations.js file will go into the migrations folder as this deploys the contract, sending the first three ganache accounts as parameters to its constructor as Vaccination Authorities (VA).
  10. For the react application, the following libraries need to be installed beforehand if they aren't already installed. To individually install them, the following commands can be used: a. npm install react-bootstrap b. npm install react-qr-reader c. npm install react-tabs d. npm install web3
  11. In case of any error, we have also submitted the node_modules folder. Simply navigating to the FrontEnd_App folder and running npm install will update and install the required dependencies. This folder will now be the project folder for the react application.
  12. Web3 will still need to be installed manually even if npm install has been used. Run npm install web3
  13. After deploying the contract, using the command truffle migrate –reset, the contract address in the config.js found in the src folder needs to be updated to the address it has been deployed upon in line 2.
  14. In order to start the application, run the command npm start from the directory of the react application.

Features:

  1. Register a New User
  2. Vaccine Registration
  3. Verify Vaccination via QR Code/CNIC
  4. Adding a New VA via Voting
  5. View Record Details
You might also like...

A collection of vigorously tested, examplary Huff contracts for demonstration purposes.

A collection of vigorously tested, examplary Huff contracts for demonstration purposes.

The Huff Programming Language Huff is a low-level programming language designed for developing highly optimized smart contracts that run on the Ethere

Dec 20, 2022

The Ripple Effect (An Ethereum-Based Fundraiser App)

 The Ripple Effect (An Ethereum-Based Fundraiser App)

The-Ripple-Effect---An-Ethereum-Based-Fundraiser-App - The Ripple Effect is a ethereum based fundraising app that can not only be used to donate to a specific cause but also to allocate/distribute funds with total transparency. The frontend has been made on ReactJS with the backend on Solidity with the help of Ganache.

Mar 14, 2022

Run an Ethereum node — just press start

Run an Ethereum node — just press start

NiceNode "Run a node, just press start" Mission: 2x the number of Ethereum nodes by making a one-click-to-start Ethereum node Why?: The light client r

Jan 2, 2023

This compress library was made with Brotli and Gzip help, for React users who want to make website more performance and reduce JS bundle code

This compress library was made with Brotli and Gzip help, for React users who want to make website more performance and reduce JS bundle code

React-compress This compress library was made with Brotli and Gzip help, for React users who want to make website more performance and reduce JS bundl

Jan 6, 2023

A React-Fullstack platform helps to track & compare your Incomes & Expenses transactions in one place via detailed Graphical information to manage your Budget.

A React-Fullstack platform helps to track & compare your Incomes & Expenses transactions in one place via detailed Graphical information to manage your Budget.

Budget Master Track your income and expenses in one place via detailed graphical information to manage your budget. Manage your budget and transaction

Nov 27, 2022

Smart Shop免费开源商城系统-spring cloud框架

Smart Shop免费开源商城系统-spring cloud框架

注:该代码为1.0版本 以下介绍为v1.5部分 前言 交流群 技术微信 启山智软社区团购是一款系统稳定且经过线上反复论证并拥有大量真实用户使用的Java社区团购系统。 基于市场的反馈和变化,我们在不断开发完善社区团购的基础上,还抽离了一套属于我们自己的智慧门店物流配送系统,来帮助线下门店针对货物进行

Nov 9, 2022

lottery smart contract with react UI, Now ready to interact

Getting Started with Create React App This project was bootstrapped with Create React App. Available Scripts In the project directory, you can run: ya

Dec 19, 2021

IngredientRecipeFinder - Web app built with react using Edamam API to find any recipe for an ingredient search with nutrition filters (high protein, low carb,etc)

Ingredient Recipe Finder Web app This web app built with the use of Edamam API allows you to find any type of recipe for a specific ingredient you are

Jan 4, 2022

Landing page for any SaaS company, using Nextjs and NextUI

Landing page for any SaaS company, using Nextjs and NextUI

NextJS and NextUI Landing Page Template You can deploy here directly to vercel This is a template for NextJS and NextUI. NextJS NextUI You can see the

Dec 23, 2022
Owner
Zaynab Batool Reza
---Senior at FAST NU in BS (CS)--
Zaynab Batool Reza
CoWIN Vaccination Tracker, Below is the PRODUCTION LINK this is updated at end of each day. To see any latest Updates, please check the documentation

CoWIN Vaccination Slots Checking App. CoWIN Vaccination Slots Checking App is a user-friendly website that allow users to find vaccine in nearby avail

Stephin Reji 31 Jan 28, 2022
Get updates in Telegram when a vaccination center available in your pin code. We can win Covid 🤝

Cowin Bot Get updates in Telegram when an vaccination center available in your pin code. We can win Covid ?? Commands: /start - Start the Bot /help -

Tuhin Kanti Pal 14 Oct 3, 2022
Check Your Nearest Vaccination Center And Slots Availability using pincode and district name.

Vaccine Tracker Application - Pan India ?? Website • Playstore made with ♥ for the people of India DevIncept is an 30 day open source program helping

sameer srivastava 67 Nov 3, 2022
This box comes with everything you need to start using smart contracts from a react app

Truffle React Hooks TypeScript Template This box comes with everything you need to start using smart contracts from a react app. This is as barebones

Louis Aussedat 3 Mar 11, 2022
Extract the JSON payload from SHC QR codes (i.e Québec Covid Vaccination QR Codes)

shc-extractor Extract the JSON payload from SHC QR Codes (i.e Québec COVID Vaccination QR Codes) Introduction Dans les prochains jours/semaines, les q

Olivier Brassard 160 Dec 16, 2022
An application to help in the automatic booking of COVID vaccination slots in India whenever they become available.

Co-WIN automated slot booking Automatically book vaccine slots as and when they become available This application aims to automatically book vaccine s

Arindam Ray 24 Nov 23, 2022
A little practice dapp for ethereum smart contract development.

Basic Sample Hardhat Project This project demonstrates a basic Hardhat use case. It comes with a sample contract, a test for that contract, a sample s

Andres Vidoza 9 Sep 28, 2022
Any code using props of Express.

Some projects to test knowledge with express and nodejs SESSIONS AND COOCKIES Login Basic example use session, redirect and file manipulation. Views B

Mateus Nicolau 1 Jan 7, 2022
Scratch Incubator hosts a number of interesting, open-source, and arguably useful experiments and tools.

This is a Next.js project bootstrapped with create-next-app. Getting Started First, run the development server: npm run dev # or yarn dev Open http://

null 6 Jul 6, 2022
Examples of Solidity++ contracts

soliditypp-examples Examples of Solidity++ 0.8.0 / 0.8.1. This is a preview version. DO NOT use it in production environment. Getting Started npm inst

Vite Labs 8 Sep 18, 2022