TraffiChain - Blockchain based Traffic Ticket Management System

Samin Yaser

2 minute read · Wednesday, December 14, 2022
View on Github

Award Wining Smart Traffic Ticket Management System with Smart Contracts powered by Blockchain


TraffiChain homepage
Figure: TraffiChain homepage

Introduction

The goal of this project is to introduce a transparent, corruption-free and trust-less method in issuing traffic tickets. A police officer can issue a traffic ticket which is represented as a smart contract. Authorized parties like the driver and the court can interact with the contract to dismiss it by paying or fighting it. Whatever the choices are, the ticket can manage its own state. It can keep track of deadlines, introduce late fees and can even cancel driver license if the need arises. Immutability of the blockchain ensures security and prevents man-in-the-middle attacks.


This project was nominated to the Top 10 final round of CTO Innovation Hackathon 2022

Registration page
Figure: Registration page

How it Works

  • A database residing in blockchain contains information of the driver.
  • All the entities (Police, driver etc.) have their own wallet address acting as a unique identifier.
  • A traffic officer can easily query those information with any device.
  • Permissions are put into place to restrict access to data to certain parties to protect privacy.
  • Traffic officer issues a ticket which is, under the hood, a smart contract.
  • This allows seamless interaction with the ticket between interested parties.
  • Alleged rule breaker (driver/owner) can easily pay the fines or even decide to fight it in court.
  • The ticket can handle these situations and change its state accordingly.
  • Similarly, the ticket can also track its due date and incur late fees, and even deploy arrest warrants.
  • All of these are achievable for the smart contract while being secure, reliable, transparent and without any human interventions.
Password-less login with MetaMask
Figure: Password-less login with MetaMask

Benefits

  1. Blockchain technology saves money by minimizing the need for human intervention.
  2. It accelerates the payment mechanism immensely compared to the current system without any extra costs.
  3. The blockchain system saves energy due to the recent advancements by Proof of Stake.
  4. Decentralized database guarantees zero data loss.

Demo

Here is a video of the project in action: