You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/nip-drafts/nip-ADS.md
+12-3Lines changed: 12 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,6 @@
1
-
# NOSTR Ads Network
1
+
# NIP-AD: Decentralized Advertising Protocol
2
+
3
+
2
4
3
5
`draft``optional``author:riccardobl`
4
6
@@ -96,7 +98,7 @@ To reduce fraud or abuse, participants may impose a [Proof-of-Work penalty](#pun
96
98
97
99
A replaceable event (`kind:30100`) where an advertiser bids for ad placement.
98
100
99
-
```json
101
+
```yaml
100
102
{
101
103
"kind": 30100,
102
104
"content": json({
@@ -127,7 +129,9 @@ A replaceable event (`kind:30100`) where an advertiser bids for ad placement.
127
129
["s", "<size>"],
128
130
["S", "<aspect ratio>"],
129
131
["D", "<delegate pubkey>", "<payload>"],
130
-
["expiration", "<timestamp>"]
132
+
["expiration", "<timestamp>"],
133
+
// ["r", "wss://relay.tld"],
134
+
// ["r", "wss://relay2.tld"]
131
135
]
132
136
}
133
137
```
@@ -284,6 +288,11 @@ Delegates might automatically listen for biddings that have a matching `D` tag.
284
288
285
289
Unix timestamp (seconds) when bid expires.
286
290
291
+
#### Relay hints
292
+
(`r`) `optional`
293
+
294
+
One or more `r` tags serve as hints for the offerer on which relays to initiate the negotiation. Offerers may choose to ignore these hints and use their own relay selection strategy.
0 commit comments