RideChain — Decentralized Ride Sharing Application

  • Tech Stack: Solidity, Hardhat, OpenZeppelin, Ethers.js v6, React.js, TypeScript, Vite, Tailwind CSS, Leaflet.js, OpenStreetMap, Nominatim API, OSRM, MetaMask, Node.js, npm

Ethereum Blockchain Based Decentralized Ride Sharing Platform. In this we have used Solidity smart contracts deployed on Ethereum blockchain for all business logic and payments. Built as a trustless alternative to centralized ride sharing apps like Uber and Ola where no company controls the money or the rules.

Rider can connect their MetaMask wallet, register on the blockchain, set pickup and dropoff locations on a real interactive map, view auto-calculated fare based on real road distance, and request a ride with ETH locked in a smart contract. Driver can view available ride requests, accept a ride (limited to one active ride at a time), complete the ride to receive 95% of the fare directly to their wallet, and withdraw earnings anytime. The system enforces a 2-minute free cancellation grace period after driver acceptance, after which a 10% cancellation fee applies. If no driver accepts within 5 minutes, the rider gets a full refund. All ride events, payments, and transactions are permanently recorded on the blockchain — tamper-proof, transparent, and fully verifiable.