HelloZeroNet / HelloZeroNet/ZeroNet

Paid site hosting

Đang mở
#1,967 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
JavaScript
Star
18.8k
Fork
2.3k
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

## Motivation

The site currently remains online so long as at least 1 peer is serving it.

This is good, but what if all the visitors suddenly stop hosting the site? It will go down.

## Solution

Free hosting should remain, but there should be optional support for paid hosting.

Some users of ZeroNet (hosts) might want to make money from hosting ZeroNet websites. So they set the ZeroNet program to hosting mode (this include setting the max amount of storage and payment address).

Then, the site owner decides to pay for hosting. He pays some amount of cryptocurrency (probably Bitcoin or Ethereum) to the network.

The network then decides how many (based on the amount that was paid) and which (randomly) hosts would serve the site. The site is then transferred to that hosts and hosts receive money for hosting.

## Considerations

- [ ] What should be the price for hosting.
It should depend on the amount of storage and the number of hosts.

- [ ] Which cryptocurrency should be used.
Bitcoin's cryptography is already used by ZeroNet.
Ethereum has some features that might be useful for this ([EIP 1337](https://1337alliance.com/) - subscriptions).

- [ ] How to implement payments.
This should be done with some subscriptions.
Hosts should be paid dynamically depending on how many sites and storage they host.

- [ ] How to implement hosts choosing.
There should be some good algorithm to choose the hosts.

- [ ] What if the host goes down.
Multiple hosts should be used for each site.
The host should not be paid when it is not hosting the site.
Hosts should be able to (temporary and permanently) go down.

## Existing projects

There are already some existing projects for distributed storage hosting. You could look to them for the idea how to implement this.

* [Storj](https://storj.io/)
* [Filecoin](https://filecoin.io/)
* Other "Proof of Storage" and "Proof of Capacity" projects

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Hướng nghiên cứu

Issue không xác định tệp, bài kiểm thử hoặc điểm vào nào. Hãy bắt đầu bằng việc xem xét các quyết định chưa được giải quyết về việc định giá, tiền mã hóa, gói đăng ký thanh toán, lựa chọn host và lỗi của host, cùng với các tham chiếu đến Storj và Filecoin; issue không định nghĩa thế nào là hoàn thành.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Lĩnh vực
blockchain, distributed-systems, payments
Loại issue
Tính năng
Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Cần làm rõ
Mức phù hợp với người mới
10/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.