mirror of
https://github.com/nostr-protocol/nips.git
synced 2024-11-15 00:09:08 -05:00
moves wot to rank
This commit is contained in:
parent
4382476f28
commit
6650aff771
14
85.md
14
85.md
|
@ -6,14 +6,14 @@ Trusted Assertions
|
||||||
|
|
||||||
`draft` `optional`
|
`draft` `optional`
|
||||||
|
|
||||||
Certain calculations in Nostr require access to a large volume of events, making it impractical to perform them directly on clients. This NIP allows service providers to handle such computations in real-time and generate signed events with the results. Each calculation type is assigned a distinct event kind and tag. Users can specify which service providers they trust, enabling clients to load and display the results based on those trusted sources.
|
Certain calculations in Nostr require access to a large volume of events, making it impractical to perform them directly on clients. This NIP allows service providers to handle such computations in real time and generate signed events with the results. Each calculation type is assigned a distinct event kind and tag. Users can specify which service providers they trust, enabling clients to load and display the results based on those trusted sources.
|
||||||
|
|
||||||
Assertions are always addressable events with the `d` tag pointing to the subject of the assertion. The following kinds and tags have been specified:
|
Assertions are always addressable events with the `d` tag pointing to the subject of the assertion. The following kinds and tags have been specified:
|
||||||
|
|
||||||
| name | kind | `d` tag value | result tags |
|
| name | kind | `d` tag value | result tags |
|
||||||
| ----------------------- | ----- | ------------- | ----------------------------------- |
|
| ----------------------- | ----- | ------------- | ----------------------------------- |
|
||||||
| Follower Count | 30382 | pubkey | `"followers"` (int) |
|
| Follower Count | 30382 | pubkey | `"followers"` (int) |
|
||||||
| WebOfTrust Score | 30382 | pubkey | `"wot"` (int, normalized 0-100) |
|
| User Rank | 30382 | pubkey | `"rank"` (int, normalized 0-100) |
|
||||||
| First Post Time | 30382 | pubkey | `"first_created_at"` (int,timestamp)|
|
| First Post Time | 30382 | pubkey | `"first_created_at"` (int,timestamp)|
|
||||||
| Post Count | 30382 | pubkey | `"post_cnt"` (int, sats) |
|
| Post Count | 30382 | pubkey | `"post_cnt"` (int, sats) |
|
||||||
| Reply Count | 30382 | pubkey | `"reply_cnt"` (int, sats) |
|
| Reply Count | 30382 | pubkey | `"reply_cnt"` (int, sats) |
|
||||||
|
@ -35,14 +35,14 @@ Assertions are always addressable events with the `d` tag pointing to the subjec
|
||||||
| Event Reaction Count | 30383 | event id | `"reaction_cnt"` (int) |
|
| Event Reaction Count | 30383 | event id | `"reaction_cnt"` (int) |
|
||||||
| Event Zap Count | 30383 | event id | `"zap_cnt"` (int) |
|
| Event Zap Count | 30383 | event id | `"zap_cnt"` (int) |
|
||||||
| Event Zap Amount | 30383 | event id | `"zap_amount"` (int, sats) |
|
| Event Zap Amount | 30383 | event id | `"zap_amount"` (int, sats) |
|
||||||
| Event WebOfTrust Score | 30383 | event id | `"wot"` (int, normalized 0-100) |
|
| Event Rank | 30383 | event id | `"rank"` (int, normalized 0-100) |
|
||||||
| Address Comment Count | 30384 | event address | `"comment_cnt"` (int) |
|
| Address Comment Count | 30384 | event address | `"comment_cnt"` (int) |
|
||||||
| Address Quote Count | 30384 | event address | `"quote_cnt"` (int) |
|
| Address Quote Count | 30384 | event address | `"quote_cnt"` (int) |
|
||||||
| Address Repost Count | 30384 | event address | `"repost_cnt"` (int) |
|
| Address Repost Count | 30384 | event address | `"repost_cnt"` (int) |
|
||||||
| Address Reaction Count | 30384 | event address | `"reaction_cnt"` (int) |
|
| Address Reaction Count | 30384 | event address | `"reaction_cnt"` (int) |
|
||||||
| Address Zap Count | 30384 | event address | `"zap_cnt"` (int) |
|
| Address Zap Count | 30384 | event address | `"zap_cnt"` (int) |
|
||||||
| Address Zap Amount | 30384 | event address | `"zap_amount"` (int, sats) |
|
| Address Zap Amount | 30384 | event address | `"zap_amount"` (int, sats) |
|
||||||
| Address WebOfTrust Score| 30384 | event address | `"wot"` (int, normalized 0-100) |
|
| Address Rank | 30384 | event address | `"rank"` (int, normalized 0-100) |
|
||||||
|
|
||||||
Example:
|
Example:
|
||||||
|
|
||||||
|
@ -51,7 +51,7 @@ Example:
|
||||||
"kind": 30382,
|
"kind": 30382,
|
||||||
"tags": [
|
"tags": [
|
||||||
["d", "e88a691e98d9987c964521dff60025f60700378a4879180dcbbb4a5027850411"],
|
["d", "e88a691e98d9987c964521dff60025f60700378a4879180dcbbb4a5027850411"],
|
||||||
["wot", "89"],
|
["rank", "89"],
|
||||||
["zap_amt_sent", "1000000"],
|
["zap_amt_sent", "1000000"],
|
||||||
],
|
],
|
||||||
"content": "",
|
"content": "",
|
||||||
|
@ -69,8 +69,8 @@ Kind `10040` lists the user's authorized providers for each service. The service
|
||||||
{
|
{
|
||||||
"kind": 10040,
|
"kind": 10040,
|
||||||
"tags": [
|
"tags": [
|
||||||
["wot", "818a39b5f164235f86254b12ca586efccc1f95e98b45cb1c91c71dc5d9486dda", "wss://relay.nostr.band"],
|
["rank", "818a39b5f164235f86254b12ca586efccc1f95e98b45cb1c91c71dc5d9486dda", "wss://relay.nostr.band"],
|
||||||
["wot", "3d842afecd5e293f28b6627933704a3fb8ce153aa91d790ab11f6a752d44a42d", "wss://nostr.wine"],
|
["rank", "3d842afecd5e293f28b6627933704a3fb8ce153aa91d790ab11f6a752d44a42d", "wss://nostr.wine"],
|
||||||
["zap_amt_sent", "818a39b5f164235f86254b12ca586efccc1f95e98b45cb1c91c71dc5d9486dda", "wss://relay.nostr.band"],
|
["zap_amt_sent", "818a39b5f164235f86254b12ca586efccc1f95e98b45cb1c91c71dc5d9486dda", "wss://relay.nostr.band"],
|
||||||
],
|
],
|
||||||
"content": "",
|
"content": "",
|
||||||
|
|
Loading…
Reference in New Issue
Block a user