Manage websites - Waiviogit/waivio GitHub Wiki

Original task description

In this mode, the user can activate and stop their sites, view the current statistics of daily active users (DAU) and the overall balance.

One balance for all sites (similar to Rewards campaigns). If a user needs different balances for different sites, they can open additional accounts.

Payment and calculations for hosting are made in HBD to the account: ** waivio.hosting **.

The price for web hosting is calculated every day according to the number of daily active users, but not less than the set minimum price for the day. That is, a counter is kept for each site and once a day the counter value is recorded in the blockchain as a billing transaction, and the counter is updated.

image

For discussion: maybe there are other metrics that would reflect the load on the site well and would be easier to calculate?

Price:

  • per active user: HBD 0.005 / day
  • but not less than HBD 1 / day

That is, sites with less than 200 DAU pay a fixed price of $ 1 / day. The price does not depend on the number of objects on the site. And in the initial version, the price does not depend on the chosen website template.

Overdue:

While the balance is positive, everything is working as usual. If the balance goes negative, then all traffic is simply sent to the underlying website (e.g. dining.gifts).

Notifications:

As the balance decreases, we start sending notifications: 3 months in advance, 2 months in advance, 1 month in advance, 3 weeks in advance, 2 weeks in advance, in 1 week, then every day. After the occurrence of negative debt, we send a notification about the stop of the site every day for 7 days. At this point, we will stop sending notifications.

Warning: website account balance may run out in 3 months

Attention! All your websites are now suspended due to the negative balance on your website account.

(click on notifications takes user to Tools / Websites / Manage)

Deactivate

The user can stop the website at any time. All traffic is redirected to the base site (with standard objects). The name of the site remains with the user who created it for another 6 months. After which this name will disappear from his account and become available to others.


Website management: Prices:

  • 0.005 HBD per day per active user;
  • Minimum 1 HBD per day. Daily active users (DAU) is the total number of website visitors that engage with the desktop or mobile version of the site from a single device or a browser. The user who visits the website using multiple devices or browsers will be counted multiple times.

Account balance (HBD)

  • Daily active users are averaged over the last 7 days. ** If the account balance becomes negative, all websites will be suspended. The user is responsible for ensuring that the account balance remains positive. The estimate of the Days remaining is based on the current website usage and is subject to change.

Websites: Create a website


For documentation on waivio

Page for managing websites.

In this mode, the user can activate and stop their sites, view the current statistics of daily active users (DAU) and the overall balance.

One balance for all sites (similar to Rewards campaigns). If a user needs different balances for different sites, they can open additional accounts.

Payment and calculations for hosting are made in HBD to the account: ** waivio.web **.

The price for web hosting is calculated every day according to the number of daily active users, but not less than the set minimum price for the day. That is, a counter is kept for each site and once a day the counter value is recorded in the blockchain as a billing transaction, and the counter is updated.

Overdue:

While the balance is positive, everything is working as usual. If the balance goes negative, then all traffic is simply sent to the underlying website (e.g. dining.gifts).

Notifications:

As the balance decreases, we start sending notifications: 3 months in advance, 2 months in advance, 1 month in advance, 3 weeks in advance, 2 weeks in advance, in 1 week, then every day. After the occurrence of negative debt, we send a notification about the stop of the site every day for 7 days. At this point, we will stop sending notifications.

Warning: website account balance may run out in 3 months

Attention! All your websites are now suspended due to the negative balance on your website account.

(click on notifications takes user to Tools / Websites / Manage)

Deactivate

The user can stop the website at any time. All traffic is redirected to the base site (with standard objects). The name of the site remains with the user who created it for another 6 months. After which this name will disappear from his account and become available to others.


TITLE Manage websites
PRICE text about price for sites:

Active website pricing:
  • 0.005 USD per day per active user;
  • Minimum 1 USD per day.
Inactive website pricing:
  • 0.2 USD per day.
EXPLANATION Explanation about price:

Daily Active Users (DAU) refers to the total number of website visitors that interact with either the desktop or mobile version of the site from a single device or browser. Users accessing the website via multiple devices or browsers will be counted multiple times.
PAY orange button "Pay now". After clicking, "Transfer funds" modal window is opened. It is a way to pay for sites. In the modal window, a user has already been selected who needs to pay for sites. Pricing is $1 per day, but billed at the current rate and reports are in dollars.
TABLE_PRICE table "Account balance (USD)" with columns:
  • Paid (USD) - shows how many USD you have for a website or how much you need to pay;
  • Average DAU* - shows daily active users are averaged over the last 7 days;
  • Daily cost (USD) - shows how much it will cost per user per day;
  • Days remaining (est)** - shows how many days the balance will last for the operation of sites;
NOTES * Daily active users are averaged over the last 7 days.

** If the account balance becomes negative, all websites will be suspended. The user is responsible for ensuring that the account balance remains positive. The estimate of the Days remaining is based on the current website usage and is subject to change.
SITES_TABLE table "Websites:" with columns:
  • Active - checkbox for activations;
  • Website - website name;
  • Template - website template;
  • Status - website status;
  • Average DAU* - average number of users for the previous day;
  • Primary canonical - radio-buttons to choose main site between all sites;
  • Actions - link to delete site. Link displays if site has status - inactive or pending. Thus, if the user wants to delete a site, he needs to inactivate it before. After clicking on delete, a confirmation modal window is opened with text "Warning: All configuration data and website pages will be removed. The name of the website will be no longer protected." with 2 buttons: "Cancel" and "OK".
NEW_SITE link to "Create" tab

image


image


2021-11-12_14-17

Additional information

  • [websites / payments] transfer payment for sites from HBD to WAIV. Pricing is $1 per day, but billed at the current rate and reports are in dollars (displayed in the user's chosen currency). #4712
  • Add link to website to manage table #5393
  • [website / pricing] in the website creation dialogs, add pricing information (as on the Manage page). Updated text is in the attachment. #6053
⚠️ **GitHub.com Fallback** ⚠️