Skip to content

Investigative case management solution for citizens, police officers, drivers to report and manage incidents, detect and prevent accidents on web using ZKP and sCrypt eco-system and tools.

License

Notifications You must be signed in to change notification settings

icp-hackathons/Transport-Monitor

 
 

Repository files navigation

ICP Tranport DAO

Investigative case management solution for citizens, police officers, drivers to report and manage incidents, detect and prevent accidents on web using Internet Computer Blockchain and developer tooling for data analytics, organization and visualization, ZKP and scrypt aided Transport Bitcoin wallet, gateway RPC end points for interoperability with Gnosis and Web3 tools.

Our app solution will enable effective design, engineering and delivery of ZKP aided solution powered by ICP Blockchain and analytics tooling, ICP dev tooling and Gnosis services to make roads safer and better using predictive analytics and automation for incident reporting and reduction in hazardous transportation with capabilities pluggable and extendable to 5 different personas: Driver, Police, Citizen, Dispatcher, Admin.

Our solution will benefit: Police Force - 360 degrees access of the incidents to the action/ administration team. They can manage the complete lifecycle of incident reporting, overall status, traffic monitoring, managing police teams. Using machine learning they can also predict the incident occurrence at any area. This will help in taking necessary actions in advance to control the traffic. They can also use the solution for effective utilization of staff members and provide road safety counselling.

Ministry of Road and Transportation: Endeavor to change the car accident scenario by use of car technology to make driving safer and monitored for drivers, authorities, as well as other 3rd parties. With a mix of hardware and software, we will provide intelligent feedback about drive quality and help analyze past incidents, as well as predict future incidents.

Citizens and Cab aggregators: Reduction in the number of road accidents.

Insurance Companies: Aggregated/ anonymized driving data and incident data will be helpful to car insurance companies.

OEMs and Dealerships: Vehicle diagnostics and in-car service consumption will be helpful for OEMs and Dealerships.

Smart Cities Policy Makers/ Government: Real time traffic flow, incident alert and parking data will be enable safer roads.

Advertisers: Customers/driver demographics will be available.

Fleet customers: fleet performance, compare against competition.

What it does

Our solution offers an Artificial Intelligence-based object detection system that utilizes Internet Computer Blockchain and developer tooling for data analytics, organization and visualization, ZKP and scrypt aided Transport bitcoin wallet, decentralized storage for sorting information obtained from a variety of cameras. With just a cell phone, users are offered a serverless solution that can detect objects in real time and more object types for better accuracy.

Our technical solution enables driver monitoring, incident management and collision avoidance: Incident-based reporting & Collision detection (even when a vehicle is parked) and video footage associated with it. Video footage for abnormal driver behaviour (complete view of the car with 2 cameras – front and back and open source video streaming), real-time alert and live streaming using open source solutions and ASDI OpenAQ dataset along with Gateway RPC end points, ZKP and scrypt aided solution. We are also utilizing ZKP and scrypt aided solution, blockchain to receive road incident feedback reports by citizens, store feedback details from both users and government officials on the incident reports so that they can prevent incidents. Further, we have developed a DeFi dashboard for the riders and the insurance providers.

We have also developed an ICP Transport Wallet built using ICP, b3 wallet and Zokrates: please visit
https://drive.google.com/drive/u/4/folders/1YfcPOcya4uuT6rUm7bcWdx8JZys3RqtK (demo video), a decentralized, multi-chain wallet with unique support for Bitcoin using Internet Computer’s threshold ECDSA. Also, direct swap for ckBTC/BTC and ICRC standard token, Manage multiple signers and account securely.

ICP Transport wallet supports operations like the signing of the transaction and other cryptographic operations across multiple platforms and blockchains that improve the overall usability and interoperability. We used ICP, b3 wallet and Zokrates for building the ZK based ICP Transport Wallet. We are using b3 wallet platform as a payment solution build on ICP between vehicle service providers and vehicle owners. Also, as a payment solution between vehicle insurance providers and vehicle owners.

Website: https://sites.google.com/view/zkpaspiringroadsafety/home

Pitch Deck Video: https://www.youtube.com/watch?v=Jh_AFWc_kKI

Demos and Pitch Deck: https://drive.google.com/drive/u/4/folders/1-OlvVv6Ov4KgRgWLOIDFZWpR3Rq1EM6G

ICP Transport DAO Workflow:

Vehicle DAOs create a RFP for providing service or maintenance on the dapp.

Vehicle drivers can join a RFP by minting an NFT of that RFP.

Vehicle drivers that have a certain RFP's NFT are eligible to create proposals and vote on them.

Voting is gasless and the vote is stored with the most recent vote linking to one before.

Internet Computer blockchain and Web3 ecosystem tools

  • An AI-based object detection system that utilizes ICP developer tooling for data analytics, decentralized storage for sorting information obtained from cameras. With just a cell phone, users are offered an ICP solution that can detect objects in real time. more object types for better accuracy

  • ICP DAO Engine: https://github.com/seetadev/Transport-Monitor/tree/main/icp-dao-engine

Vehicle DAOs create a RFP for providing service or maintenance on the dapp.

Vehicle drivers can join a RFP by minting an NFT of that RFP.

Vehicle drivers that have a certain RFP's NFT are eligible to create proposals and vote on them.

Voting is gasless and the vote is stored with the most recent vote linking to one before.

We are developing a backend solution, where the command and control center can boot a Linux OS by uploading it to an IC Canister.

A virtual disk (An Ubuntu or Debian-minimal PXE image with associated configuration) is uploaded to an IC Canister.

A target host talks to the DHCP server to get the location of the PXE image (ie TFTP server)

PXE requsts from the TFTP Server the files and sectors that it needs

TFTP server translates those requests to talk to the IC canister holding the boot artifacts

On the target host, using PXE, a guest VM will be allowed to boot and load its configuration from the TXE server.

Account Abstraction Plugins for Transport DAO enables customization of verification logic via ICP's Transaction Builder with a rule/logic setting, tabulation, organization, visualization tool namely SocialCalc spreadsheet. This allows users to set up rules which their account has to abide by when executing transactions while being able to reconfigure them in the future. The process improves account security by restricting permissions certain keys have while remaining adaptable to the user's changing needs. Implementation areas of Account Abstraction plugins in Transport DAO using Transaction Builder and Socialcalc:

  • Enforcing a spending limit for vital transport assets based on the key used for the transaction.

  • Restricting interaction with a certain citizen wallet or DAO dApp to a specific key.

  • Defining session keys, which are allowed to initiate service or repair transactions for only a limited period of time

Demo of account abstraction implementation at https://drive.google.com/drive/u/4/folders/1o-buzIQwT-HuEfh7n5kUG8FhcKBppM65

  • Gateway RPC end points, interoperability with chains like Gnosis.

Gateway: We are using Gateway RPC end points for Incident-based reporting & Collision detection (even when a vehicle is parked) and video footage associated with it. Video footage for abnormal driver behaviour (complete view of the car with 2 cameras – front and back and open source video streaming), real-time alert and live streaming using open source solutions and ASDI OpenAQ dataset along with Gateway RPC end points.

We are also using gateway RPC end points to enable providing government subsidies for greener fuel and pollution check credits. Government organizations can send crypto from source-chain to destination-chain and distribute it equally among all accounts specified for subsidy or reimbursement using call contract with token.

Screencast for the object detection implementation at https://drive.google.com/drive/u/4/folders/1o-buzIQwT-HuEfh7n5kUG8FhcKBppM65

Any abnormal behaviour/activity can be displayed on the smart dashboard in the vehicle.

Built-in GPS technology useful in fleet management and tracking. Black box car tracking to be able to pre-empt and diagnose breakdowns more quickly. Recognition area built in the central control to pick up your body movements, GAIT analysis Vehicles become IoT devices which can connect to smartphones, take voice commands, change the user interface.

The decentralized Cloud-Connected Car Drives IoT Monetization. Real-time access to car availability and mobile connectivity enables better decisions making systems.

How we built it

We have developed a road incident management system using Javascript, HTML5, SAP's UI5 on the front end using ICP Blockchain and analytics tooling, open source video streaming system, ZKP aided Gnosis blockchain solution, Etherspot's Transaction builder, Request network and Gateway RPC end points, Eth blockchain, ASDI OpenAQ and crowdsourcing marketplace enabled by ZKP and scrypt aided Aleo solution for enabling sharing of government assets like toll prepaid card, car details information for interstate travel, driving license management and quarterly pollution check and control powered by SocialCalc.

Vehicle Spare Parts Marketplace on ICP blockchain: Vehicle spare parts NFT marketplace on Gnosis blockchain for NFC tags of spare parts of vehicles, enabling sharing of government assets and service/repair of vital assets, reduction in counterfeiting of vital spare parts of vehicles and transport infrastructure.

Gateway: We are using Gateway RPC end points for Incident-based reporting & Collision detection (even when a vehicle is parked) and video footage associated with it. Video footage for abnormal driver behaviour (complete view of the car with 2 cameras – front and back and open source video streaming), real-time alert and live streaming using open source solutions and ASDI OpenAQ dataset along with Gateway RPC end points.

We are also using gateway RPC end points to enable providing government subsidies for greener fuel and pollution check credits. Government organizations can send crypto from source-chain to destination-chain and distribute it equally among all accounts specified for subsidy or reimbursement using call contract with token.

Screencast for the object detection implementation at https://drive.google.com/drive/u/4/folders/1o-buzIQwT-HuEfh7n5kUG8FhcKBppM65

Any abnormal behaviour/activity can be displayed on the smart dashboard in the vehicle.

Built-in GPS technology useful in fleet management and tracking. Black box car tracking to be able to pre-empt and diagnose breakdowns more quickly. Recognition area built in the central control to pick up your body movements, GAIT analysis Vehicles become IoT devices which can connect to smartphones, take voice commands, change the user interface.

The decentralized Cloud-Connected Car Drives IoT Monetization. Real-time access to car availability and mobile connectivity enables better decisions making systems.

How it works:

Camera Management: Add/edit/delete cameras with a front end application with ZKP and scrypt aided solution, ICP integration, IPFS for snapshots of road incident, Bitcoin based wallet for toll ticketing, data retrieval.

Object Detection using open source AWS solutions, air quality measurements with ASDI OpenAQ and Pytorch/Tensorflow deep learning library using CNN neural networks.

Video analytics configuration using IPFS, ZKP and scrypt aided solution on Bitcoin based solutions for security and for data retrieval.

Live streaming with Object Detection Video Analytics using open source AWS for streaming, ZKP and scrypt aided solution, Klaytn for security and for snapshots.

Alarm storage using IPFS with ZKP and scrypt aided ICP solution. Save/delete alarm metadata and image to/from IPFS. Store the hash returned from IPFS to ZKP and scrypt aided solution, ICP network, ZKP and scrypt aided Aleo solution, Klaytn protocol based solutions for security and for data retrieval. Provide links to alarms and blockchain transaction details.

Alarm Viewer: Add alarms with a single touch. Open the Alarm Settings menu from the home page. Add an alarm, set the wallpaper or choose an alarm tone. You can also delete an existing alarm. We are using decentralized wallet for NFT marketplace of alarm clock wallpapers and background ringtones purchase and auction. We are also extending and adapting Turtle Music using NFT Experiments for music curators for alarm clock. We are using DAO tooling for coordination with a social focus around community collaboration for road incidents and alarms.

We are also utilizing ZKP and scrypt aided Aleo solution, Klaytn to receive road incident feedback reports by citizens, store feedback details from both users, government officials on the incident reports so that they can prevent incidents.

ZKP and scrypt aided ICP solution and license NFT registration module to enable users to register their driving licenses as well as their vehicle registration details in a decentralized manner. An individual can be identified by his/her SSN and a vehicle by Vehicle Registry Number both of which for now are integers between 0 and 65535 (16 bit integers). Every SSN or individual is associated to an address of an individual Bitcoin account. We are developing our own NFT smart contract from the ground up following ZKP and scrypt aided solution, ICP blockchain and the key tutorial shared at the github website. We are also logging the identities of the driving license owners, their vehicle assets using exchange of unique identifiers powered by ZKP and scrypt aided Aleo solution powered by ICP.

Canister ID: oeagv-5qaaa-aaaah-aar4q-cai

ZK Transport wallet supports operations like the signing of the transaction and other cryptographic operations across multiple platforms and blockchains that improve the overall usability and interoperability. We used Zokrates for building the ZK Transport Wallet.

About

Investigative case management solution for citizens, police officers, drivers to report and manage incidents, detect and prevent accidents on web using ZKP and sCrypt eco-system and tools.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 46.0%
  • TypeScript 15.4%
  • HTML 13.9%
  • CSS 10.3%
  • Solidity 3.4%
  • Perl 3.2%
  • Other 7.8%