Skip to content
A student attendance system based on Blockchain technology
Branch: master
Clone or download
Type Name Latest commit message Commit time
Failed to load latest commit information.
static Add CSS to index.html Apr 8, 2018
.gitignore Refactor and reorganise code as per accepted coding standards Mar 31, 2018
LICENSE Create LICENSE Mar 30, 2018 Update Formatting and add GIF to README Apr 23, 2018 Clean structure of code Mar 17, 2018 Implement function to check integrity Apr 1, 2018 Implement function to check integrity Apr 1, 2018 Refactor and reorganise code as per accepted coding standards Mar 31, 2018

E-Attendance using Blockchain

Our project implements an E-Attendance system which stores student attendance data on a blockchain.

Gif of workflow


Blockchain is the technology behind cryptocurrencies such as Bitcoin, Ethereum, Litecoin etc.

A blockchain, is a list of records, called blocks, which are linked and secured using cryptography. Each block contains a cryptographic hash of the previous block, a timestamp and transaction data. The data, once entered in a block is immutable due to the way blockchains are designed.

This concept of immutable digital data storage can be used for storing data securely, such as student attendance, medical records, and financial transactions, to prevent tampering with this data.

Disclaimer and assumptions

This project is to be considered as a proof of concept only. As such the basic algorithm behind a blockchain is used which constructs blocks and associates them using their cryptographic hashes. A proof of work or proof of stake algorithm has not been implemented to prevent the need for higher computing resources. Unlike traditional decentralized blockchains, this blockchain works using a centralized flask server to avoid dealing with multiple nodes unnecessarily for now.

Some assumptions have been made in this project:

  • A teacher will enter the attendance of a class, only once for a date. Multiple lectures in a day are not supported.
  • Roll numbers are assumed to start from 1 for each class.
  • Roll numbers of students who are repeating a year, will not be available.


  • Implementing blockchain for secure data storage.
  • Storing student attendance data along with their roll numbers in the blockchain.
  • Retrieval of data from the blockchain.
  • Web interface for insertion and retrieval of data.
  • Ability to check if a block has been tampered with.

Technologies Used

  • Python 3.6+
  • Flask 0.12.2+
  • HTML5
  • CSS3
  • Javascript
  • Jinja2

Installation of Dependencies on Arch Linux

Update your system first.

$ sudo pacman -Syu

Install Python3 if not already installed.

$ sudo pacman -S python

Install pip for installing python packages.

$ sudo pacman -S python-pip

Install Flask for Python. This will also install the required Jinja2 dependency.

$ pip install Flask

Install requests module for Python

$ pip install requests

Running the application

  • Open a Terminal
  • Navigate to the root folder of the project.
$ cd path/to/Blockendance
  • Run the python app
$ python

Copyright and License

Copyright (c) 2018 Adeen Shukla - Released under the MIT License

You can’t perform that action at this time.