I am working on a project which use Blockchain to develop a car rental system, I have very basic knowledge. Basically, I want people to be able to rent their own car to people who want to rent in a short term period, without needing an intermediary, similar to Airbnb.

Basically, there a few questions I want to ask is:

How can I transfer the access to the vehicle between users on a selected date and return the access back to the owner once rental period ends?

How to transfer money from an account once rental period has begun?

Would be difficult to allow either renter or vehicle owner to cancel a rental agreement?

Have multiple vehicles rentable?

I would really appreciate any advice, especially on a coding perspective.

Thank you,

closed as too broad by lungj, Jesse Busman, Richard Horrocks, Ismael, Rob Hitchens - B9lab Dec 25 '17 at 22:23

Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

  • 1
    What you are asking here is too much. You're basically asking us to hold your hand while learning smart contract development. Some random bits of advice: Forget everything you may know about object oriented programming. You don't need a token for this project. Always try to think of ways to attack or cheat your system. An owner is not a car. (have you considered that a person may own multiple cars, or that multiple people may own one car together?) – Jesse Busman Dec 24 '17 at 18:07
  • You can check an article I wrote some time ago related to this subject. Building an Ethereum-based project that interacts with the physical world is not that straightforward and also requires a lot of security and identification measures. Here's the piece of code I developed, which has not been tested in real life, but hope it helps: hackernoon.com/a-smart-contract-for-a-smart-car-db08eda4bb4f – pabloruiz55 Dec 24 '17 at 19:20
  • Also, this other article I wrote about renting smart contracts might help as well: hackernoon.com/renting-items-on-the-blockchain-de4e2663dfc6 – pabloruiz55 Dec 24 '17 at 19:20
  • Thanks @pabloruiz55, i found your ariticle very interesting. i was actually think when you rent a car to someone, how do ensure they can't access it once the rent period is over? I presumed once it's on the blockchain it's permanent – H.Thiam Dec 24 '17 at 22:45
  • @JesseBusman thanks for your comment, i don't want you to hold my hand, just wanted to know if i'm heading the right direction. Thanks for mentioning about the person owning multiple cars, i did not consider that. – H.Thiam Dec 24 '17 at 22:51