One of the many dapps that were built for ETHBerlin is the Crypto Booking Dapp to allow anyone attending the hackathon to book a room at the i31 hotel for the nights between 6 and 10 of September with at least a 20% discount :)

The app is hosted in booking.windingtree.com

How does it work?

First of all, this is the first app using the Winding Tree API! All the hotel information that you can see on the website can be hosted in swarm and distributed with smart contracts deployed on ropsten network.

Hotel information: https://demo-api.windingtree.com/hotels/0x4Ee2BC4804D1A75AEBa5C76D25cc2c036B136140

Hotel room types: https://demo-api.windingtree.com/hotels/0x4Ee2BC4804D1A75AEBa5C76D25cc2c036B136140/roomTypes

For pricing and offers we have a server that store the encrypted personal information and return provides signed by an account, the offers are valid for 30 min, and they are used to execute the booking with and allowed the rate of ETH/EUR or LIF/EUR.

The BookingPoC smart contract is used to handle the availability and amount of rooms provided; this was a fast and hacky solution that we built quickly to made it on time before the hackathon.

Crypto-Booking github: https://github.com/windingtree/crypto-booking

Whats next?

We will work on using the web3 injected by metamask and hosting of the app on swarm and share it using ens services, in the next weeks the app will be accessible from browsers like status or toshi on ethberlin.windingtree.ens.

ETHBerlin Dappening announcement: https://medium.com/ethberlin/if-you-liked-it-then-you-shoulda-put-a-dapp-on-it-626b032d32a5