Inspiration

Transportation is an important component of our everyday lives. Owning a car is a luxury in many parts of the world, and even if one owns a car, it is costly to maintain and depreciates in value rapidly. It is desirable to have a private means of transport at a low cost. However, safety and comfort play an important role in whether to use a ride-hailing service, especially in late hours of the day. This is where Ride comes in, a decentralized ride-hailing service.

What it does

Ride is a reputation-based driver system at a low cost. Drivers are incentivized to have a good reputation and the nature of how Ride is implemented via the blockchain keeps costs low and stable. Passengers are able to only allow drivers that meet a certain reputation level to accept their ride requests. This gives passengers the peace of mind to use a ride-hailing service no matter the hour. Trip fares are all calculated on-chain, which keeps the prices low and stable at all times, so passengers know they can rely on the service any time.

How we built it

We try to minimize the amount of technology needed. After all, the simpler we can make an application with the same output complexity, the better. For the backend, we mainly use HardHat framework for deployment and testing with Solidity contracts consisting of Chainlink VRF and OpenZeppelin. At the frontend web demo dapp, we used Angular framework with EthersJS and JSONbin.

Challenges we ran into

  1. Difficulty in performing unit test for some solidity functions.
  2. Challenging to fit all the Solidity contract code within the Ethereum contract size limit.

Accomplishments that we're proud of

Working ride-hailing contracts that can be tested on a web demo. We are happy that the two main issues of safety and cost of existing ride-hailing services have been addressed by Ride using blockchain technology and all done on-chain. We are also proud that the Ride contracts have undergone significant testing (unit and integration).

What we learned

So so so much in the blockchain space. We learned that there are currently some limitations when implementing certain functions through the blockchain on-chain. However, this field is in its infancy and the future is bright for blockchain technology to revolutionize the world. There is so much more we can do securely and in a trustless fashion by using blockchain technology. This is showcased through Ride, which departs from the current industries of the blockchain space such as finance (DeFi) or art/gaming/NFT. One could say that Ride has a social impact in terms of bringing safety and lower cost to ride-hailing services.

What's next for Ride

We have an ambitious future for Ride.

What Are In The Works?

  1. A fully-fledged mobile dapp
  2. Multi-level control of Ride contract's functions via multisig or governance. ### Future Directions
  3. Integrate proof-of-location. The ability to get location data via the blockchain to further decentralize Ride. ### Learn more at: https://github.com/turmeric-blend/Ride and https://youtu.be/V4Uf48E9cag

Built With

Share this project:

Updates