[FEATURE] <dev-when-staked>
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 20/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Cần làm rõ
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- typescript
- Lĩnh vực
- blockchain, frontend
Hướng nghiên cứu
Bắt đầu bằng việc xem xét phần tử dev-connection được đề xuất (#126) và kiến trúc amp-list được tham chiếu trong issue. Xác định hành vi của component và các tiêu chí chấp nhận cho việc xác minh staking, các yêu cầu src có điều kiện, việc render template và nội dung placeholder trước khi triển khai; chưa xác định được tệp hoặc kiểm thử nào.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Detailed description
This issue doesn't have a more in-depth spec, it just suggests a feature.
By declaring HTML as follows, the viewer's staking position is verified, the request to src is made only when the require condition is fulfilled, and its response is applied to the template child element and rendered.
This architecture is based on amp-list.
<dev-when-staked connection="CONNECTION_ID" destination="0x..." network="NETWORK_NAME" require="300" src="https://example.com/data...">
<template>
...
</template>
<p>Placeholder while waiting to meet require</p>
</dev-when-staked>
Options
- *
connection: the id of dev-connection element #126 - *
destination: the address of the staking destination - *
network: the network name - *
require: the minimum staking amount to unlock content - *
src: the content source
Context
<dev-when-staked> is useful for achieving staking paywalls with minimal coding.
Possible implementation
No response
Additional information
No response
Code of Conduct
- I agree to follow this project's Code of Conduct
- Ngôn ngữ chính
- TypeScript
- Star
- 7
- Fork
- 1
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
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
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của dev-protocol/dev-elements
-
[FEATURE] <dev-connect-wallet> Đang mởenhancement
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
dev-protocol/dev-elements#127 ·
-
[FEATURE] <dev-stake-on> Đang mởenhancement
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
dev-protocol/dev-elements#119 · 5 bình luận ·
-
Dependency Dashboard Đang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 15/100
Tất cả issue của dev-protocol/dev-elements
Issue tương tự
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
-
Add: Star Sports 2 Telugu HD Đang mởcheck:passed streams:add
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
-
usability
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
inmanta/web-console#7367 ·