ParkBnB

ParkBNB: A decentralized parking app. Book with a deposit, scan a QR . Fair payments on-chain.

Repo
ParkBnB banner

About

Of course. Here is a more detailed and comprehensive description of your "pay-per-use" ParkBNB project.

ParkBNB: A Decentralized Peer-to-Peer Parking Marketplace

ParkBNB is a decentralized application (dApp) built on the blockchain that reimagines the urban parking experience. It functions as a transparent, secure, and peer-to-peer marketplace where individuals can rent out their private parking spots to drivers in need. By leveraging the power of smart contracts, ParkBNB eliminates the intermediaries and inefficiencies of traditional parking systems, creating a more direct and trustworthy connection between hosts and renters.

The core of the platform operates on a "pay-per-use" model, secured entirely on-chain to guarantee fairness and security for all participants. The process begins with a host listing their available parking spot, setting an hourly rate in cryptocurrency. When a driver wishes to book this spot, they interact with the dApp to pay an upfront, refundable deposit. This deposit, calculated as the hourly rate multiplied by the maximum number of hours they intend to park, is sent directly to the ParkingMarketplace smart contract, which acts as a transparent and automated escrow agent.

The most innovative feature of ParkBNB is its seamless check-in and check-out mechanism. Each parking spot is associated with a unique, physical QR code generated by the host. This QR code contains a secret known only to the host's printed code and the dApp when scanned. The cryptographic hash of this secret is stored on the blockchain, ensuring it cannot be tampered with.

Upon arriving at the spot, the renter uses the ParkBNB mobile interface to scan the QR code. This action triggers the checkIn function in the smart contract, which verifies the renter's identity and the secret's authenticity, officially starting the on-chain parking timer. When the renter is ready to leave, they scan the same QR code again to trigger the checkOut function.

This is where the power of the smart contract becomes evident. Upon check-out, the contract automatically executes the final settlement with mathematical precision. It calculates the exact duration of the parking session, down to the second, and computes the final cost. The initial deposit is then instantly and autonomously distributed: the host receives their earned payment, a small protocol fee is collected by the platform, and the remaining balance is immediately refunded to the renter's wallet. This automated process eliminates any possibility of overcharging, ensures hosts are paid instantly, and removes the need for manual payment systems or dispute resolution, fostering a truly trustless marketplace for urban mobility.

From the public ETHGlobal showcase page. Votes, swipes and the judge score are hackfeed's own.

AI judge

Not judged yet. A free model reads this page, compares it with similar projects and this event's winners, then scores it and says what would make it win.

Still being built?

Not checked yet.

Swipe stats

0upvotes
0skips
0saves

Discussion 0

No comments yet. Ask the team something, or say what you'd use it for.

Posting as a guest. Plain text, 1,000 characters max.

Already built nearby

Closest projects by meaning and shared words. Similar isn't the same as copied: read them.