An implementation of a Review smart contract - Travala.com
- Generate Genuine Reviews.
- Create data on listings.
- Share knowledge from user who has previously visited listing to new user looking to book.
Query order data from Storage / Booking smart contract
Store review data to Storage
Update review data in Storage
Set name using token
Get using token name
Send token ‘%’ based on booking storage data.
Migrate contract to new one.
Destroy contract.
- Only users who have completed a booking (checked out) are able to leave the review.