I am trying to write a contract for renting cars . I have implemented the following addCar -> to add a new car to the lot rentCar -> trasfers te ownership of the car to the rentee,and creates a rent object .

I want to use erc 721 tokens ,to represest each car . How do I implement this ? For example should my mint function call the addCar function ? And I call the mint function from the UI ?

Your Answer


By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.