Ethereum Main Chain (Regular Version)


  • Stayusb regular version runs on the Ethereum Main Chain.
  • Completely decentralized. All information is stored only on the blockchain.
  • The Reservation advance payment is locked in the reservation contract until the reservation is settled.
  • The Gas cost to create a Reservation is around 225,000 Gas @ 30 Gwei should be about $18.00.
  • The reservation fee of 1 DAI charged by stayusb to create the reservation, is not refundable after the reservation is created.
  • All payments are made in stablecoin DAI (ERC20 Token).

Since all reservation times are host time, it is important to pick the correct host time zone, so that the time can be appropriatialy adjusted.

To Avoid confusion all reservations start at 14:00 PM host time and end at 11:00 AM host time.

Press the Create Reservation Button. If the Stayusb Factory contract has DAI approval for the required amount a new reservation will be created.
If the DAI approval is less than the required amount, there will be 2 transactions. One for DAI approval and the second to create the new reservation.

Check Token Approvals

The guest address will need to give DAI approval to the Stayusb factory contract for a certain amount.

Use the DAI Approval (DAI) refresh and set buttons to manage DAI approval for the StayUsb contract.

If the guest plans to use Stayusb often they can give DAI approval for an amount equivalent to a few reservations, rather than set an infinite approval like most other DAI enabled apps request. Giving infinite DAI approval to a contract address could turn out to be a security risk in the future.


To avoid confusion there is only one cancellation policy written into the smart contract, that varies the cancellation period and cancellation amount, depending on the reservation length of stay.
  • If the length of stay is 5 days(nights) or less. The guest can cancel upto 3 days (72 Hrs) before Checkin Time, without a cancellation fee. After that a cancellation fee of 1 days price is applied.
  • If the length of stay is greater than 5 days(nights). The guest can cancel upto 5 days (120 Hrs) before Checkin Time, without a cancellation fee. After that a cancellation fee of 2 days price is applied.

The minimum amount due, when creating a reservation is the cancellation fee, that the guest will be charged if they cancel the reservation after the cancellation period.

Yes. The guest can pay the entire amount.
If the guest cancels the reservation and a cancellation fee is applicable, the cancellation fee will be deducted from the reservation amount and transferred to the Host.
The remaining amount will be refunded back to the guest instantly.

Assuming the reservation has not been cancelled, the host can claim the advance payment amount 21 Hrs after Checkin Time. The amount will be instantly transfered to their address.

Gas Tracker
  • Only Guest:
    1. Create Reservation (220,000 Gas): Only the Guest can create a reservation.

  • Only Host:
    1. Claim Rent (43,400 Gas): The host can transfer the reservation balance to their address 21 Hrs after Checkin Time
    2. Refund Amount (57,400 Gas): 21 Hrs after Checkin Time, if the host decides to refund part of the rental amount, they can put the refund amount in the text box. That amount will be refunded back to the guest. The remaining amount if any will be transferred to the host.

  • Guest or Host: Cancel Reservation:
    1. Host (28,800 Gas): The Host can cancel the reservation anytime upto 21 Hrs after Checkin Time. The Guest will get an instant refund for the entire reservation amount.
    2. Guest (37,600 Gas): The guest can cancel anytime upto 21 Hrs after Checkin Time. If the guest cancels after the cancellation period, the cancellation fee will be deducted and transferred to the Host. The remaining amount if any will be transferred to the Guest instantly.

ENS is the Ethereum Name Service. If the Host has registered their Ethereum Address with an ENS name, then type the ENS name and press the ENS button. Stayusb will query the ENS registry and if a record is found, it will automatically populate the Host Ethereum address.