Skip to content

As a final assignment at the Blockchain Bootcamp I attended, I was tasked with creating a real-world scenario project of my own choice. With that in mind, I developed a simple parking spot reservation system implemented as a Solidity smart contract.

Notifications You must be signed in to change notification settings

MeHacking/ParkingReservation-SmartContract

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

3 Commits
Β 
Β 
Β 
Β 

Repository files navigation

Parking Reservation Smart Contract

This smart contract allows users to reserve parking spots by paying a fixed fee and ensures secure, transparent management of reservations. The contract is designed for simplicity, security, and transparency, with all transactions recorded on-chain and accessible to users and the contract owner.

Features

  • βœ… Reserve parking spots by paying a predefined fee
  • πŸš— Associate reservations with license plate number (vehicleID)
  • 🚫 Prevent double booking of the same license plate number (vehicleID)
  • πŸ” Owner-only withdrawal of collected funds
  • πŸ“‹ Transparent event logging for reservations and withdrawals
  • πŸ“œ View personal reservation history
  • πŸ”Ž Check if a vehicle has an active reservation

About

As a final assignment at the Blockchain Bootcamp I attended, I was tasked with creating a real-world scenario project of my own choice. With that in mind, I developed a simple parking spot reservation system implemented as a Solidity smart contract.

Resources

Stars

Watchers

Forks