StayUSB — an escow temporary lock, written specifically for booking payments that runs on the Ethereum mainnet. The cost of gas to create a reservation is about 225,000 Gas and 10 Gwei should be about $ 1.00. A reservation fee of 1 DAI helps to create a reservation and is non-refundable once it has appeares. All payments have a form of stablecoin DAI (ERC20 token).
Contents:

Description of the Stayusb project
To start using the Stayusb booking protocol, click the "Create Reservation" button. If the factory StayUSB contract has DAI approval for the required amount, a new booking will be created. If the DAI approval is less than the required amount, 2 transactions will be processed. One for DAI approval and one for creating a new booking.
If the guest plans to use Stay USB frequently, they can give DAI approval for the equivalent of multiple bookings, rather than setting endless approval as most other DAI-enabled apps do. Granting perpetual DAI permission to address a contract could prove to be a security threat in the future.
There are 2 differences between the regular version and the contract version:
| 1 | In the Stay USB version of the contract, a new contract is created for each booking and the advance payment is blocked in the new contract. Typically, all advance payments are locked into one booking agreement. The contract option would be preferable if the booking amount is large. |
| 2 | In the StayUSB version of the contract, the host must accept the reservation before it is valid, and in the regular version, all InstaBook reservations. |
Computers understand Unix timestamps. Since the entire reservation time - a host time, it is important to choose the correct timezone so that the unix timestamp can be adjusted appropriately. To avoid confusion, all bookings start at 2:00 PM Host Time and end at 11:00 AM Host Time.
Features of use
To avoid confusion, there is only one cancellation policy in the smart contract, which varies, depending on the booking period and the amount of cancellation. The guest can cancel the reservation up to 3 days (72 hours) prior to check-in time without being charged a cancellation fee. Thereafter, a cancellation fee of 1 day will be charged. Also, the guest can cancel the reservation up to 5 days (120 hours) before the check-in time without being charged a cancellation fee. Thereafter, a cancellation fee of 2 days will be charged.
Additional information
Instead of the WhitePaper document, the site contains a section with answers to questions. Thus, you can familiarize yourself in more detail with the features of the project and the rules of work.




