Skip to content

Commit d677ede

Browse files
committed
update spec
1 parent ee11605 commit d677ede

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

docs/nip-drafts/nip-ADS.md

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
# NOSTR Ads Network
1+
# NIP-AD: Decentralized Advertising Protocol
2+
3+
24

35
`draft` `optional` `author:riccardobl`
46

@@ -96,7 +98,7 @@ To reduce fraud or abuse, participants may impose a [Proof-of-Work penalty](#pun
9698

9799
A replaceable event (`kind:30100`) where an advertiser bids for ad placement.
98100

99-
```json
101+
```yaml
100102
{
101103
"kind": 30100,
102104
"content": json({
@@ -127,7 +129,9 @@ A replaceable event (`kind:30100`) where an advertiser bids for ad placement.
127129
["s", "<size>"],
128130
["S", "<aspect ratio>"],
129131
["D", "<delegate pubkey>", "<payload>"],
130-
["expiration", "<timestamp>"]
132+
["expiration", "<timestamp>"],
133+
// ["r", "wss://relay.tld"],
134+
// ["r", "wss://relay2.tld"]
131135
]
132136
}
133137
```
@@ -284,6 +288,11 @@ Delegates might automatically listen for biddings that have a matching `D` tag.
284288

285289
Unix timestamp (seconds) when bid expires.
286290

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.
295+
287296

288297
## Cancellation Event
289298

0 commit comments

Comments
 (0)