Commit Graph

814 Commits

Author SHA1 Message Date
hodlbod
b946a86135
Merge pull request #942 from schmijos/patch-1
Emphasis on multiple filters in NIP-01
2023-12-22 06:57:44 -08:00
Josua Schmid
d30f03316f
Emphasis on multiple filters in NIP-01
As mentioned further down in NIP-01

> A REQ message may contain multiple filters.

The comma makes it more clear that the message array can container more than 3 items. So it is understood easily to match

```
// correct:
["REQ", <subscription_id>, filters1, filters2, …]
```

instead of 

```
// wrong:
["REQ", <subscription_id>, [filters1, filters2, …]]
```
2023-12-22 14:54:17 +01:00
Jon Staab
2b78cc9304 Add clarification about not replacing nip 04 2023-12-20 13:01:12 -08:00
Jon Staab
732b0ce0a4 Clean up NIP 44 to clarify separation of concerns (encryption vs messaging), improve formatting and clarify encryption/decryption steps 2023-12-20 11:28:43 -08:00
fiatjaf
ff533d7a99
remove nip44 calls from nip07 temporarily. 2023-12-20 14:39:39 -03:00
Paul Miller
9be51261c0 nip-44: add audit notice 2023-12-20 14:37:42 -03:00
fiatjaf
4199f20236
nip-44: remove author names and arbitrary line-breaks. 2023-12-20 13:56:03 -03:00
Paul Miller
822b70a565
NIP44 encryption standard, revision 3 (#746)
* Introduce NIP-44 encryption standard

* Finalize NIP-44

* Update spec.

---------

Co-authored-by: Jonathan Staab <shtaab@gmail.com>
2023-12-20 09:22:02 -03:00
Sandwich
46a81d9c25
Clarify summarization language
The initial language is misleading as it is not clear the tags are to be used on any event outside of the kind it defines until the bottom of the NIP.
2023-12-19 13:31:13 +01:00
Pablo Fernandez
09f8244e6f
Merge pull request #831 from nostr-protocol/nostr-connect
rewrite NIP-46
2023-12-18 10:22:17 +00:00
zmeyer44
2bd3c74002
Update 71.md
Adding segments
2023-12-12 14:01:51 -05:00
zmeyer44
d53f6fba15
Update 71.md
After discussing with Pablo, we decided to move away from relying on kind 1063 events and instead use the majority of the same tags for video events. The main motivations behind this are to allow for parameterized replaceable events for video events, prevent excessive `REQ` requests, not stringify event JSON in the `.content` section, ease of filtering by kind number, as well as some others. Happy to discuss this further.
2023-12-12 13:56:28 -05:00
zmeyer44
c84d40f4a6
Update 71.md
Co-authored-by: Pablo Fernandez <pfer@me.com>
2023-12-12 11:19:57 -05:00
zmeyer44
7afd1049d9
Update and rename 44.md to 71.md
Changing to NIP-71
2023-12-09 17:46:53 -05:00
zmeyer44
cec99e7b13
Update 44.md
Updating to reference NIP-94 file metadata event
2023-12-09 12:55:25 -05:00
Terry Yiu
ec08d65665
Deprecate 'name' for 'title' on calendar events and add 'title' as a shared tag via NIP-24 2023-12-08 09:59:44 -08:00
Terry Yiu
b8308a9a04
Amend NIP-52 to require the content field to be provided, and decouple calendar identifier from calendar name 2023-12-08 09:39:28 -08:00
Daniel Cadenas
ae0fd96907
Fix Authorization header string
The previous auth header was for an event in which the tag is `url` instead of `u` so it was not matching the event provided as an example
2023-12-08 13:19:54 -03:00
zmeyer44
a2914eed6d
Update 44.md
Adding some of Vitor's suggestions, differentiating between horizontal and vertical video kinds, changing how views are kept track of, and changing some tag names.
2023-12-08 09:06:14 -05:00
zmeyer44
01035dadf4
Update 44.md
fixing spelling error
2023-12-08 07:22:32 -05:00
zmeyer44
7646386956
Create NIP 44 for Video Events
Nip for video events to enable dedicated video clients (e.g. Netflix, YouTube) to be built on nostr.
2023-12-07 20:09:08 -05:00
fiatjaf
ef106eccca
nip-42 phrasing. 2023-12-07 21:18:45 -03:00
Pablo Fernandez
d0aef4c158 add nip-44 calls 2023-12-07 17:01:25 +00:00
Alex Gleason
0146892501
NIP-02: Rename Contact List to Follow List 2023-12-07 10:01:57 -06:00
fiatjaf_
2bd4bf7841
CLOSED messages for relays that want to reject REQs and NIP-42 AUTH integration (#902)
Co-authored-by: monlovesmango <96307647+monlovesmango@users.noreply.github.com>
2023-12-06 12:01:27 -03:00
xiaolou86
8aba861bdf fix typo in 90.md 2023-12-04 16:08:38 +08:00
xiaolou86
85abb0e026 fix typo in 53.md 2023-12-04 16:08:37 +08:00
xiaolou86
625dad7c1a fix typo in 10.md 2023-12-04 16:08:36 +08:00
xiaolou86
149ead1679 fix typo in 47.md 2023-12-04 16:08:35 +08:00
fiatjaf
0ba4589550
remove websocket status code meaning as it is replaced by the CLOSED message. 2023-12-02 15:05:59 -03:00
fiatjaf
3983a52d3b
latest discoveries. 2023-12-02 14:45:10 -03:00
fiatjaf_
d67988e64e
delete NIP-22 (#897) 2023-12-01 13:54:12 -03:00
ok300
f2e30c63cb Update NIP58 Badges: Remove section on PoW 2023-12-01 08:04:05 -03:00
Scott Weldon
45e65e9bee
Fix typo 2023-11-30 21:21:42 -08:00
Leon
fb87a03d5f Update 07.md
Add OneKey to nip07
2023-11-30 12:44:17 -03:00
Jon Staab
6de35f9e6a Make client hints backwards compatible 2023-11-27 12:11:36 -03:00
Alejandro
1a106c6bff
[NIP-75] add optional 'image' and 'summary' tags (#890) 2023-11-23 19:17:28 +01:00
Asai Toshiya
5ae5a6d055
Remove "NIP-33" (#896) 2023-11-23 14:44:12 -03:00
fiatjaf
6c35537ca4
@v0l improvements. 2023-11-21 22:31:13 -03:00
fiatjaf_
e4bddbee7b
peer-pubkey
Co-authored-by: monlovesmango <96307647+monlovesmango@users.noreply.github.com>
2023-11-21 22:25:19 -03:00
fiatjaf_
c5c2d86a47
peer-pubkey
Co-authored-by: monlovesmango <96307647+monlovesmango@users.noreply.github.com>
2023-11-21 20:49:35 -03:00
fiatjaf
cb37a9320e
rewrite NIP-46. 2023-11-21 15:49:40 -03:00
fiatjaf_
7822a8b126
Merge pull request #880 from nostr-protocol/save-nip-51 2023-11-19 14:47:02 -03:00
fiatjaf
438812d0a4
clarify that restricted_writes do not include normal anti-spam heuristics and other kinds of soft-restrictions. 2023-11-19 10:17:57 -03:00
fiatjaf
33a719f345
fix kind:40 name (following @snowcait). 2023-11-19 07:17:11 -03:00
Semisol
da19c078ab
Merge branch 'master' into clarify-json-serialization 2023-11-19 01:45:41 +01:00
fiatjaf
5e6e7a2bc8
get rid of these arbitrary markdown linebreaks and put everything in the same line. 2023-11-18 11:36:20 -03:00
fiatjaf
2d678bcd5a
metadata tags for lists kept at "title", "image" and "description", following @erskingardner and @darecjo. 2023-11-18 11:35:32 -03:00
fiatjaf
50d20123e2
"restricted_writes" on NIP-11. 2023-11-18 09:39:54 -03:00
fiatjaf
5dcfe85306
reformat a bunch of json things and small nitpicks. 2023-11-18 09:13:12 -03:00
fiatjaf
b0df71824f
NIP-72: reformat and clarify some things. 2023-11-18 08:48:49 -03:00
fiatjaf
7aa751be46
NIP-03: explain why a single attestation is recommended. 2023-11-18 08:22:42 -03:00
fiatjaf
b5b46b629f
reformat NIP-11. 2023-11-18 08:21:15 -03:00
Semisol
4d709d1804
add form feed and backspace 2023-11-17 18:12:47 +03:00
Yasuhiro Matsumoto
e7e64af04a
fix typos 2023-11-17 12:22:43 +09:00
Pablo Fernandez
010b322fa1
Merge pull request #884 from coracle-social/client-tag 2023-11-16 22:03:13 +02:00
fiatjaf
4a77fc5c40
add interests list and interests sets (following @erskingardner and @pablof7z). 2023-11-16 15:50:39 -03:00
fiatjaf
2a0b701ff7
add bookmark sets (following @staab). 2023-11-16 12:26:50 -03:00
Jon Staab
7f27800e27 Add client tag to nip 89 2023-11-16 05:43:28 -08:00
fiatjaf
37f6cbb775 remove all NIP authors. 2023-11-16 10:24:53 -03:00
fiatjaf
31382e57a1
add muted words, blocked relays, search relays, chat groups, emoji list and emoji sets. update set metadata tags.
following @vitorpamplona, @frnandu, @snowcait, @hzrd149
closes https://github.com/nostr-protocol/nips/pull/559
closes https://github.com/nostr-protocol/nips/pull/673
2023-11-15 20:52:27 -03:00
fiatjaf_
6c3eebf510
clarify that standard lists use normal replaceable events
Co-authored-by: hodlbod <jstaab@protonmail.com>
2023-11-15 20:06:49 -03:00
fiatjaf_
cd598bad5b
remove the point that makes kind 30001 be a grab-bag of things
Co-authored-by: hodlbod <jstaab@protonmail.com>
2023-11-15 20:06:00 -03:00
fiatjaf
804ee187c2
make follow sets kind 30000 as per @monlovesmango's comment. 2023-11-15 15:39:23 -03:00
fiatjaf
4db99145d7
remove legacy communities list example. 2023-11-15 15:34:46 -03:00
fiatjaf
61b736574c
add kind 30005 follow sets. 2023-11-15 15:32:22 -03:00
fiatjaf
54befcc09a
deprecate the 30001 ad-hoc pin/bookmark/communities lists and use new kinds. 2023-11-15 15:32:09 -03:00
fiatjaf
cf1b17280f
bring back kind:10000 mute lists, deprecation notice about kind:30000/"mute" and more examples. 2023-11-15 08:24:46 -03:00
fiatjaf
1bbd87c42f
distinction between lists and sets. 2023-11-15 07:33:26 -03:00
fiatjaf
da05b5d915
add "communities" list and examples. 2023-11-15 00:47:15 -03:00
fiatjaf
5dc6071978
cut, simplify and update NIP-51 to reflect the real-world usage. 2023-11-15 00:22:09 -03:00
fiatjaf_
f1433e0f0c
add relay sets kind to nip-51 (#786) 2023-11-14 18:38:48 -03:00
Jon Staab
b6c7a25510 Clarify NIP 32 2023-11-12 13:46:01 -03:00
Pablo Fernandez
8e2f3aa60a
Merge pull request #860 from starbackr-dev/patch-2
Adding encryption NIP-90 Data Vending Machine
2023-11-11 18:27:13 +02:00
fiatjaf
cbdca1e964 nip-84: remove all the "range" stuff, we can add later if the need arises. 2023-11-10 13:16:35 -03:00
Jon Staab
c945d8bd9d Remove label annotations from NIP 32 2023-11-10 07:02:43 -03:00
fiatjaf
05cad663f8 improve nip-24.
closes https://github.com/nostr-protocol/nips/pull/828
2023-11-10 07:00:41 -03:00
Akiomi Kamakura
2392dfc9a8
Fix typo in 65.md 2023-11-10 05:45:29 +09:00
fiatjaf
d85f9269ca
84: fix markers example. 2023-11-07 09:19:11 -03:00
Pablo Fernandez
b128ad98ad
NIP-84: Highlights (#501)
Co-authored-by: Alejandro <alejandro@strike.me>
Co-authored-by: arthurfranca <arthur.a.franca@gmail.com>
Co-authored-by: fiatjaf_ <fiatjaf@gmail.com>
2023-11-07 09:16:43 -03:00
starbuilder
7e3b7cd90c
Update 90.md
updated based on comments
2023-11-06 17:22:50 -05:00
starbuilder
56dbb7722c
Update 90.md
changed and added [`encrypted`] to both 5xxx and 6xxx events
2023-11-06 16:31:37 -05:00
fiatjaf
108b7f16f9
clarify that the OK array must have 4 items. 2023-11-06 13:18:11 -03:00
jiftechnify
6b566e897c make the usage of punctuations uniform 2023-11-06 13:16:42 -03:00
jiftechnify
749c9b0a2d clearly define the term "READ/WRITE relay" 2023-11-06 13:16:42 -03:00
starbuilder
c2020929fb
Update 90.md
updated based on Pablo's feedback.
2023-11-06 10:56:24 -05:00
fiatjaf
08d3eff350 52: fix kinds (as ints). 2023-11-04 16:55:28 -03:00
fiatjaf
b14b9d2120
nip-01: clarify that whitespace is allowed inside the strings.
closes https://github.com/nostr-protocol/nips/pull/861
2023-11-02 19:46:37 -03:00
Ryan Breen
cee6977347 Adding Nostore to NIP-07 extension list. 2023-11-01 12:53:43 -03:00
Ioan Bizău
a328831a07 Unlimited quantity possible in NIP-15. 2023-10-31 15:54:25 -03:00
Semisol
4b9f13d983
NIP-90: consistency changes 2023-10-31 00:21:53 +03:00
Pablo Fernandez
c88a620fe7 Merge branch 'master' into vending-machine 2023-10-29 11:43:19 +01:00
Mike O'Bank
ca73c5dd5e Clarify Unsigned Event Object type 2023-10-21 16:05:32 -03:00
Egge
4216f0bf2f added nodestr 2023-10-19 14:32:41 -03:00
fiatjaf
cf672b764b
remove useless "block" tag on OTS. 2023-10-17 07:38:53 -03:00
starbuilder
9f4a4cf9d2
Update 90.md
changed `prompt` to 'text`
2023-10-15 14:59:13 -04:00
Pablo Fernandez
a482f47ae4
Merge branch 'master' into vending-machine 2023-10-15 21:30:42 +03:00
starbuilder
142cb8d655
Update 90.md
Added optional Encryption to params and payload if the user require the input and output to be a secret.
2023-10-15 10:44:07 -04:00
Pablo Fernandez
d9400e1e7b big refactor
* use different kinds per response type
* remove examples
* remove specific job request definitions, moved to a separate repo for clarity
2023-10-14 16:15:00 +03:00
Mike O'Bank
202e18f2b2
Nip 06 test vectors (#819) 2023-10-12 10:31:58 -03:00
fiatjaf_
09ffb951c6
rework NIP-03 so it is actually usable (#804)
* rework nip-03 to be actually useful and usable.
* fixes.
* add ots verification flow.
2023-10-11 10:17:43 -03:00
Don
324c7aafdc
Change wording to imply that reactions can target any event (#815)
* kind:17 generic reactions.

* `kind 7` is available for all kind events.

* `k` tag is not required.
2023-10-11 08:55:27 -03:00
Vic
21c6c12c52
Update 57.md (#808)
Clarify how multiple relays should be included in the zap request event
2023-10-10 21:57:12 -07:00
Nostr.Band
e9f8bc27b7
add spring.site to nip-07 (#810)
Add Spring.site as NIP07 implementation
2023-10-10 14:12:21 -03:00
mattn
acbdacb625
Merge pull request #801 from badonyx/65-normalize-uri
65: Normalize relay URIs
2023-10-07 13:57:35 +09:00
git
0d267aab5a Better RFC reference 2023-10-02 15:34:24 -07:00
fiatjaf
b33409c099 make it clear that relays can keep multiple replaceable event versions. 2023-09-29 16:49:55 -03:00
git
4de43f65a1 Update RFC reference 2023-09-29 12:00:07 -07:00
git
3b5d3ca677 65: normalize relay uri 2023-09-29 11:46:30 -07:00
Vitor Pamplona
7dc6385f1b
Merge pull request #800 from huumn/master
update nip-57 zap receipt spec to include 'a' tag
2023-09-28 17:09:23 -04:00
Keyan
423dda195b
update nip-57 zap receipt spec to include 'a' tag 2023-09-28 15:43:03 -05:00
git
5eb51d5278 65: trim slashes 2023-09-28 13:02:03 -07:00
fiatjaf
84f1915cec
less aggressive wording for kind3 relay list deprecation. 2023-09-28 08:07:30 -03:00
Asai Toshiya
cf144593f1
Add relay list of kind 3 to NIP-24 (#795)
(as deprecated)
2023-09-28 07:24:36 -03:00
Vitor Pamplona
d6f4598ad6
Merge pull request #777 from arthurfranca/94-tags
Add preview and caption tags to nip94
2023-09-27 12:01:41 -04:00
arthurfranca
4b2cd78def Remove ox tag 2023-09-27 12:59:33 -03:00
arthurfranca
3e2765b774 Rename xx to ox 2023-09-27 12:23:38 -03:00
arthurfranca
cc1e73b186 Revert x and xx tags 2023-09-27 12:20:41 -03:00
fiatjaf
f3bafe5f87 banner and deprecated names. 2023-09-25 23:00:01 -03:00
fiatjaf
44c21c9d82 add nip-24: extra metadata fields. 2023-09-25 23:00:01 -03:00
mattn
2aa588059a
Merge pull request #747 from mattn/nip38-status
NIP-38: description for content
2023-09-24 00:04:55 +09:00
arthurfranca
cf764ee7e5 Add xx tag 2023-09-14 12:04:02 -03:00
arthurfranca
30c799b001 Expand preview into other tags 2023-09-12 12:03:48 -03:00
arthurfranca
de15edb04a Invert caption and alt 2023-09-12 10:49:21 -03:00
arthurfranca
67cf855c84 Add tags to nip94 2023-09-12 09:50:25 -03:00
Asai Toshiya
12238ebe2b
Remove description about NIP-12 2023-09-11 13:03:32 +09:00
Asai Toshiya
e3504024a2
Clarify character case of m tag value (#767) 2023-09-08 09:11:38 -03:00
Tiago Vasconcelos
c567f2e4d6
Add description to event 30019 (#768) 2023-09-08 09:10:59 -03:00
gsovereignty
74611d2580 Spelling and clarifcations 2023-09-08 07:10:36 -03:00
Luis Miguel
8aa89367cd
Micro-typo nip-58 2023-09-05 18:15:14 +02:00
Semisol
ea8fa91c80
clarify parameterized replaceable events 2023-09-04 14:25:04 +03:00
Semisol
c7191fc2f5
fix inconsistency 2023-09-02 14:34:39 +03:00
Alejandro
08bd050598
NIP-75: Zap Goals (#757) 2023-09-01 15:07:52 +02:00
SnazzyBytes
d784820309 add NIP-22 created_at limits to Server-Limitations 2023-09-01 07:48:32 -03:00
jiftechnify
e50bf508d9
add a-tag format for non-parameterized replaceable events 2023-08-29 23:54:09 +09:00
Jon Staab
415e261ec0
Merge pull request #744 from viktorvsk/patch-1
Allow relays indicate whether probabilistic count was used in NIP-45
2023-08-28 09:43:41 -07:00
Yasuhiro Matsumoto
d1d438bf14
fix typo 2023-08-29 00:45:45 +09:00
Yasuhiro Matsumoto
1aa9301a4a
update 38.md 2023-08-28 21:10:07 +09:00
Yasuhiro Matsumoto
acafcc774d
NIP-38: description for content 2023-08-28 16:25:43 +09:00
Viktor Vsk
21f3ad5a42
Allow relays indicate whether probabilistic count was used in NIP-45 2023-08-27 15:34:55 +02:00
Asai Toshiya
50945f7150
Reword set_metadata to metadata (#741) 2023-08-25 11:17:05 -03:00
fiatjaf
7dc1f02fa7
rename 315 to 38. 2023-08-25 08:42:49 -03:00
Jonathan Staab
208dee2102 Define how to encode a non-parameterized replaceable event as a naddr 2023-08-25 08:27:24 -03:00
Pablo Fernandez
76f5857f88
Merge pull request #723 from gzuuus/master
Nip 51 extended kind 30001
2023-08-24 23:57:11 +03:00
fiatjaf
c6b6eea96a
remove bracket from kind attribute in example.
fixes https://github.com/nostr-protocol/nips/issues/735
2023-08-23 12:55:32 -03:00
Viktor Vsk
89915e0251 Remove min_prefix mentions from NIP-11 after prefix search was removed from NIP-01 2023-08-20 12:15:25 -03:00
Viktor Vsk
c5a8b75abd
Consistency and small refinements for NIP-01 (#731) 2023-08-19 23:04:55 -03:00
fiatjaf
37c4375e29 bring back 9cac35db9b
fixes https://github.com/nostr-protocol/nips/issues/732
2023-08-19 23:03:23 -03:00
gzuuus
867132ce9a fix typos 2023-08-17 16:21:21 +02:00
gzuuus
50b63c26c8 updated kind30001 2023-08-17 13:45:44 +02:00
fiatjaf
2f84cd97e3
remove harmful remark from nip-10. 2023-08-17 08:17:24 -03:00
gzuuus
2ba0eca443 Nip 51 extended 2023-08-15 18:32:30 +02:00
Ioan Bizău
88ee873c9e
Rename countries to regions. (#465) 2023-08-15 11:02:54 -03:00
fiatjaf_
a4666e8b2a
Merge pull request #711 from ktecho/nip15_shipping_cost_per_product 2023-08-14 17:39:34 -03:00
fiatjaf_
72bb8a128b
merge nips 12, 16, 20 and 33 into nip 01 (#703)
Co-authored-by: Viktor Vsk <me@viktorvsk.com>
2023-08-13 13:47:45 -03:00
Vitor Pamplona
a5047326d4
Simplifies NIP-65 (#700)
Co-authored-by: fiatjaf_ <fiatjaf@gmail.com>
Co-authored-by: Jon Staab <jstaab@protonmail.com>
2023-08-11 07:12:50 -03:00
benthecarman
d87f86178b NIP-25: Handle empty string as + 2023-08-10 23:32:54 -03:00
ktecho
bb66504d74 Merge remote-tracking branch 'origin/nip15_shipping_cost_per_product' into nip15_shipping_cost_per_product 2023-08-10 16:17:57 +02:00
ktecho
b7faf8a4fe Fix copy/paste 2023-08-10 16:17:45 +02:00
Luis Miguel
d3a9962d66
Merge branch 'nostr-protocol:master' into nip15_shipping_cost_per_product 2023-08-10 00:18:37 +02:00
ktecho
e5a6c2c698 Adding (optional) shipping costs per product to nip-15 2023-08-10 00:16:35 +02:00
Yasuhiro Matsumoto
f91cb5ce66
fix typos 2023-08-10 01:34:49 +09:00
fiatjaf_
5026747008
Merge branch 'master' into vending-machine 2023-08-09 07:26:51 -03:00
Semisol
ce7e6b2100
wrong branch 2023-08-09 00:56:48 +02:00
Semisol
77b626d748
nips over nostr 2023-08-09 00:55:21 +02:00
fiatjaf
892fe9e400
move 172 to 72 and update indexes. 2023-08-08 13:31:54 -03:00
Alex Gleason
064a79f614
NIP-48: Proxy Tags 2023-08-03 14:40:45 -05:00
Terry Yiu
b4cdc1a73d NIP-52: Calendar Events 2023-08-01 12:28:54 -03:00
Jon Staab
5d63b1570c
Merge pull request #552 from vitorpamplona/zap-plits
Adds Zap splits to NIP-57
2023-07-31 08:26:15 -07:00
Jesper L. Nielsen
9e0be8467d
Update 01.md
Spelling
2023-07-26 15:59:57 +02:00
pablof7z
9fa9045d19 remove duplicated output 2023-07-25 17:31:31 +03:00
pablof7z
948ee24775 rename file 2023-07-25 17:26:09 +03:00
Asai Toshiya
e58a40d2e7
Minor JSON fix 2023-07-25 12:33:16 +09:00
benthecarman
461b4bb16f
Merge pull request #676 from nostr-protocol/benthecarman-patch-1 2023-07-22 12:52:55 -05:00
Asai Toshiya
b503f8a92b Clarify sort order when specified limit 2023-07-21 10:33:05 -03:00
benthecarman
2af496e363
Fix event kind in example in NIP 53 2023-07-21 03:12:02 -05:00
erechorse
d0cb9d0c24 Fix typos about inline code 2023-07-21 00:48:55 +09:00
Pablo Fernandez
00f9f5b049
Merge pull request #662 from erskingardner/new-event-for-classifieds 2023-07-18 22:53:30 +02:00
Jeff Gardner
8efa0e76b4 Update title 2023-07-18 22:52:18 +02:00
Jeff Gardner
859bd471fe Update readme, change NIP number 2023-07-18 22:48:23 +02:00
William Casarin
afcbef2bb0 nip23: add some formatting guidelines to maximize compatibility
Link: https://groups.google.com/g/nostr-protocol/c/tnrcWTIAzdU
2023-07-18 15:52:39 -03:00
Terry Yiu
b31d3077f6 Fix content field in example in NIP-56 Reporting to replace deprecated NIP-08 indexed mentions with NIP-27 bech32 mentions 2023-07-18 15:50:52 -03:00
jiftechnify
d1814405be add detailed description of since/until 2023-07-14 12:45:46 -03:00
Asai Toshiya
dd4caf9c4c
Fix typo 2023-07-14 09:08:03 +09:00
Yoji Shidara
0b08cf545b Explicitly state that the subscription_id is treated per connection 2023-07-13 07:08:26 -03:00
Asai Toshiya
ed32c93c9f Adjust NIP-14 title to other NIPs 2023-07-12 07:28:49 -03:00
Yasuhiro Matsumoto
00ec0c83ac Add new section Custom Emoji Reaction 2023-07-11 19:59:00 -03:00
Yasuhiro Matsumoto
a1cd2bd809 NIP-25 content might be NIP-30 custom emoji 2023-07-11 19:59:00 -03:00
jiftechnify
52edccbbe3 standardize the terminology 2023-07-09 07:17:08 -03:00
jiftechnify
3a32c0fd78 clarify case-sensitiveness of tag names 2023-07-09 07:17:08 -03:00
Vitor Pamplona
141197c564
NIP-53 Live Activities (#498) 2023-07-08 09:11:22 -03:00
Semisol
21d71791c8
Add carriage returns and tab characters since those may be in some events 2023-07-04 13:55:15 +03:00
Semisol
3f8658ecc1
Fix typo 2023-07-04 13:49:52 +03:00
Semisol
b5a7b67d78
Clarify JSON serialization for the id field 2023-07-03 18:02:15 +03:00
tcheeric
e0fc913719 For clarification, the time unit for all date attributes in the filters (since, until) are in seconds 2023-07-02 08:41:03 -03:00
Yasuhiro Matsumoto
fab6a21a77 fixed typos 2023-06-26 14:55:24 -03:00
fiatjaf_
3893fa7f7c
Merge pull request #532 from staab/nip-32-labeling 2023-06-20 15:42:47 -03:00
fiatjaf_
9ffd3638d7
Merge pull request #592 from suhailsaqan/add-image-nip11 2023-06-18 12:15:36 -03:00
fiatjaf
1f6c79f6d2 typo on nip 18. 2023-06-18 11:36:23 -03:00
fiatjaf
7668507cdf kind:16 generic reposts. 2023-06-18 11:30:11 -03:00
Suhail Saqan
83cbd3e17a
change from Image to Icon 2023-06-17 16:01:03 -05:00
fiatjaf
36e9fd59e9 add note about websocket status code 4000.
nip-01 may need some love.
2023-06-17 15:50:16 -03:00
Kieran
c8c2ab60ab
Merge pull request #469 from v0l/nip98
NIP-98 HTTP Auth
2023-06-17 19:21:37 +01:00
Kieran
1412eb89c2
fix typo 2023-06-17 18:49:02 +01:00
Jonathan Staab
ece0dda45b Remove some examples from nip 32 to keep things concise 2023-06-17 09:07:08 -07:00
fiatjaf
b481651e81 change wording of nip-18 to bring it back to its original intent. 2023-06-16 18:18:44 -03:00
Pablo Fernandez
58f1667479
NIP-09: Add a tag deletion (#600)
Co-authored-by: arthurfranca <arthur.a.franca@gmail.com>
2023-06-15 20:23:40 -03:00
Jonathan Staab
992b045aa7 remove delimiter recommendation 2023-06-14 09:43:03 -07:00
Jonathan Staab
bef3e6c941 Add a few more notes to nip 32 2023-06-13 17:30:26 -07:00
Jonathan Staab
61849b5a6b Small wording changes 2023-06-13 09:34:24 -07:00
Jonathan Staab
92ce49dda0 Add labeling to nip 56 as well 2023-06-13 09:31:15 -07:00
Jonathan Staab
363d112e33 Add a note about PREs, update NIP 36 to point to NIP 32 2023-06-13 09:31:15 -07:00
Jonathan Staab
114302517f remove references to nip 56 in nip 32 2023-06-13 09:31:15 -07:00
Jonathan Staab
057d097e74 Add an example for self-tagging, clarify # labels 2023-06-13 09:31:15 -07:00
Jonathan Staab
4e8f3adf43 Recommend qualified names for label namespaces 2023-06-13 09:31:15 -07:00
Jonathan Staab
2372874b98 Use JSON for label metadata in NIP-32 2023-06-13 09:31:15 -07:00
Jonathan Staab
5b32def861 Move annotations to the label tag for NIP-32. Remove replaceable events 2023-06-13 09:31:15 -07:00
Jonathan Staab
95f537e90d Add relay hints, replaceable events, and clarification about content to NIP 32 2023-06-13 09:31:15 -07:00
Jonathan Staab
34910c8674 Add s3x-jay to author for NIP 32 2023-06-13 09:31:15 -07:00
Jonathan Staab
68b9331b62 Add L tag, allow self-labeling, split namespaces out 2023-06-13 09:31:15 -07:00
Jonathan Staab
621340e267 Add example to NIP-32 to support tagging multiple entities with multiple labels 2023-06-13 09:31:15 -07:00
Jonathan Staab
a9f2c6a2f1 Add NIP-32 for labeling things in nostr 2023-06-13 09:31:14 -07:00
Jon Staab
3331b5610c
Merge pull request #598 from AsaiToshiya/patch-10
Fix typo "NIP: 26" to "NIP-26"
2023-06-12 05:51:54 -07:00
Memory-of-Snow
2b34e9f417 Add a ',' between the 'id' and 'pubkey' elements in the JSON event in 01.md. 2023-06-12 08:16:59 -03:00
Asai Toshiya
fb5f5a1a97
Fix typo "NIP: 26" to "NIP-26" 2023-06-12 12:45:52 +09:00
Vitor Pamplona
4d0929b278
Merge branch 'master' into zap-plits 2023-06-10 19:56:03 -04:00
Asai Toshiya
2e842b496a Add description for clients to kind 1 2023-06-10 07:18:28 -03:00
Seth For Privacy
3e03b4b67f Add context for limiting before timestamp 2023-06-09 16:17:30 -03:00
fiatjaf
d435ffc39c clarify kind:1 plaintextness. 2023-06-09 14:13:42 -03:00
Pablo Fernandez
6baacf6fb1
Merge branch 'master' into nip31 2023-06-08 22:32:17 +02:00
pablof7z
964bc5b5ce update NIP to use alt tag 2023-06-08 22:27:00 +02:00
Suhail Saqan
89b308d540
add image to nip11 2023-06-08 11:48:03 -05:00
Asai Toshiya
0d962cbe74
Minor JSON fix 2023-06-08 12:15:37 +09:00
Pablo Fernandez
867c8bb334
NIP-89: Recommended Application Handlers (#530) 2023-06-07 16:56:17 -03:00
Doug Hoyte
fe9ed69dc3 Specify replacement behaviour when replaceable events have the same timestamp
- This is so that relays can converge on a deterministic sets of events, no matter the order they were received
- Otherwise, clients or relays that sync their sets of events could continually retransmit events they think are missing on the other side, wasting bandwidth
2023-06-04 18:34:17 -03:00
haorendashu
cabbaadb69 Update 07.md Implementation 2023-05-31 14:08:24 -03:00
Asai Toshiya
3a38583c06 Fix link to NIP-10 2023-05-31 08:43:26 -03:00
Jose Mateo
b12c93c452 Fix nip-57 typo 2023-05-28 10:16:36 -03:00
Akiomi Kamakura
4f04de2afd Update 07.md 2023-05-26 21:43:18 -03:00
Asai Toshiya
a56d1c2877 Add description for d tag value 2023-05-26 08:15:08 -03:00
Vitor Pamplona
91bdf63b13 grammar 2023-05-24 12:22:16 -04:00
Vitor Pamplona
5834c05439 Dropping lud06 and lud16 from the zap tag 2023-05-24 12:20:53 -04:00
Vitor Pamplona
2f8be7c32b better example of weights. 2023-05-24 10:41:14 -04:00
Vitor Pamplona
9c97736066 minor text/grammar adjustments 2023-05-24 10:10:18 -04:00
Vitor Pamplona
7c3e590247 Moves weights to be a string as tags can only contain strings 2023-05-24 09:46:36 -04:00
Vitor Pamplona
dd5c9c54ae Changes the client guidance 2023-05-23 13:50:55 -04:00
Vitor Pamplona
a56d650333 fixing json formatting 2023-05-23 13:46:05 -04:00
Vitor Pamplona
e4937befd6 Zap splits 2023-05-23 13:44:58 -04:00
Alejandro Gomez
0495931355 NIP-23: suggest kind 30024 for drafts 2023-05-23 10:45:00 -03:00
heipacker
1c916953c1 new: add new signer. Android, IOS, Extension 2023-05-20 08:23:52 -03:00
jiftechnify
ccbdfb95c1 allow underscores in an emoji shortcode 2023-05-17 12:38:16 -03:00
Vivek Ganesan
9bf8bb0054
Update 07.md
Implemented review inputs
2023-05-16 04:05:24 +05:30
jimbojw
d9caf9d7b4 fix: Updating links in NIP-15 to point to intended other NIPs. 2023-05-15 16:01:33 -03:00
Neil
4ea0e8e9f2 Add new signing extension to NIP-07 2023-05-15 15:43:09 -03:00
Jon Staab
1457399664
Merge pull request #484 from alexgleason/emojis
NIP-30: Custom Emoji
2023-05-15 09:23:39 -07:00
jiftechnify
89e3c01b14
fix description of nostr query param 2023-05-14 13:16:10 +09:00
jiftechnify
9076b8486d
fix inconsistent quoting of zap request / receipt 2023-05-14 12:04:47 +09:00
jiftechnify
64ac0710de
zap note -> zap receipt 2023-05-14 11:55:07 +09:00
earonesty
2619482200 More explicit 2023-05-13 13:30:42 -03:00
earonesty
4cbb672d1c Fix docs from kind0 to kind33
https://github.com/nostr-protocol/nips/issues/376
2023-05-13 13:30:42 -03:00
Jon Staab
e5302f84c7
Merge branch 'master' into patch-1 2023-05-12 05:10:45 -07:00
Vivek Ganesan
b8f2e14e6d
Add user experience recommendation about NIP-07
Invoking NIP-07 methods as a part of page-load event listener creates intermittent issues due to race conditions between the browser's extension script and the client's page scripts.
2023-05-11 20:39:40 +05:30
William Casarin
4208652dc7 nip47: add lud16 parameter to connection string
This adds an optional but recommended lud16 parameter to nostr wallet
connection strings. This enables seamless onboarding of new users,
allowing clients to automatically configure the receive address for
zaps.
2023-05-10 12:16:37 -03:00
Robert C. Martin
60aa6ae168
A few changes to some nips. (#510) 2023-05-09 12:17:15 -03:00
Asai Toshiya
d70aa87f07 Restore some lost changes
c7711aa and 3cec80d.
2023-05-09 12:15:33 -03:00
fiatjaf
89a7aa0ea0 nip01: remove misleading markdown example. 2023-05-08 11:05:58 -03:00
Josua Schmid
ee018ef8a4 Rephrase Markdown special rule 2023-05-08 11:04:34 -03:00
Kieran
de1aec64d2
change references title 2023-05-08 12:25:51 +01:00
Kieran
f75d91551c
typo 2023-05-08 12:25:51 +01:00
Kieran
2d31ddd38a
add note about payload hash 2023-05-08 12:22:53 +01:00
Kieran
29f26e72b5
NIP-98 2023-05-08 12:22:53 +01:00
Jon Staab
d5484a33bc
Clarify how NIP 45 works with multiple COUNT filters. (#504) 2023-05-06 15:35:21 -03:00
fiatjaf
b8aec7dad5
nip-31: dealing with custom unknown events. 2023-05-05 09:18:02 -03:00
fiatjaf_
544095d23f
Merge pull request #406 from nostr-protocol/47-wallet-connect 2023-05-02 17:00:22 -03:00
Robert C. Martin
d7c189d70b
NIP11 example using curl. (#490) 2023-05-02 11:41:59 -03:00
mplorentz
7f75d0db33 Change NIP-21 URL->URI
I think the `nostr:...` scheme is not actually a Uniform Resource Locator, because it doesn't tell you where the data is located. For instance if I see the string `nostr:npub1sn0wdenkukak0d9dfczzeacvhkrgz92ak56egt7vdgzn8pv2wfqqhrjdv9` I understand that this identifies a Nostr keypair but I don't know where to find data for that keypair. The scheme does fall under the definition of a Uniform Resource Identifier, or maybe even the stricter class Uniform Resource Name. But nobody talks about URNs, so maybe best to just use the less-specific term "URI" here.
2023-05-01 15:16:30 -03:00
Alex Gleason
e91ce3409e
NIP-30: Custom Emoji 2023-04-29 13:16:58 -05:00
Jonathan Staab
346036208c Add dim tag to NIP 94 2023-04-28 13:05:35 -03:00
Semisol
5a8c463641
NIP-47: Add error for payment failed 2023-04-27 17:24:20 +03:00
kiwiidb
de095e4758
NIP-47: Implement feedback
Co-authored-by: Semisol <hi@semisol.dev>
2023-04-27 17:21:15 +03:00
arkin0x
61475db6f4
forgot to update the initial nonce in the explanation 2023-04-24 14:43:15 -05:00
arkin0x
6fb9e54f7b
example was incorrect
the example event id had 21 leading zeroes, not 20

I provided new C code that has been tested to work (I couldn't get the original example code to work) and I provided some JavaScript code to test event ids as well.

I did not re-compute the event id for the example event; I simply changed the nonce to be 21. Since it is an example, it may not matter that the event id is not correct.
2023-04-24 14:34:02 -05:00
fiatjaf
5d0cbcbebf
reword NIP-94 to remove confusion. 2023-04-24 14:57:37 -03:00
Vivek Ganesan
bf8f8e2708 blurhash explanation 2023-04-24 08:27:57 -03:00
michaelhall923
c5f43a8f90 Update 01.md
Info on "e" and "p" tags is kind of hard to find so I added a link to it in the place that I intuitively looked for it.
2023-04-21 10:17:36 -03:00
frbittencourt
34af61df41 nip update to reach consensus with other nips 2023-04-20 08:06:14 -03:00
frbittencourt
bfd2a0fc38 fixed text description 2023-04-20 08:06:14 -03:00
Fernando Bittencourt
f766a850cd Apply suggestions from code review
add sugestion of arthurfranca and nryo-o

Co-authored-by: arthurfranca <arthur.a.franca@gmail.com>
Co-authored-by: Ryo_o <127748188+nryo-o@users.noreply.github.com>
2023-04-20 08:06:14 -03:00
frbittencourt
bd32adfc2a change to regular event 2023-04-20 08:06:14 -03:00
Fernando Bittencourt
40fa44b0fc Update 94.md
change to regular event

Co-authored-by: arthurfranca <arthur.a.franca@gmail.com>
2023-04-20 08:06:14 -03:00
Fernando Bittencourt
088c3bba1d Update 94.md
fixed by arthurfranca

Co-authored-by: arthurfranca <arthur.a.franca@gmail.com>
2023-04-20 08:06:14 -03:00
Fernando Bittencourt
6b9d93c285 Update 94.md
change hash tag with suggestion by arthutfranca

Co-authored-by: arthurfranca <arthur.a.franca@gmail.com>
2023-04-20 08:06:14 -03:00
Fernando Bittencourt
fddce814a3 Update 94.md
change tag hash with suggestion by arthurfranca

Co-authored-by: arthurfranca <arthur.a.franca@gmail.com>
2023-04-20 08:06:14 -03:00
Fernando Bittencourt
2b8f12caab Update 94.md
suggestion by arthurfranca

Co-authored-by: arthurfranca <arthur.a.franca@gmail.com>
2023-04-20 08:06:14 -03:00
frbittencourt
564d06b8a2 move nip-95 to other branch 2023-04-20 08:06:14 -03:00
frbittencourt
747517f2c4 ajusts description of decrypt tag 2023-04-20 08:06:14 -03:00
frbittencourt
9d69bd05dc ajusts decrypt tag 2023-04-20 08:06:14 -03:00
frbittencourt
ac515573a0 ajusts formt text 2023-04-20 08:06:14 -03:00
frbittencourt
475bcb6314 minor fix 2023-04-20 08:06:14 -03:00
frbittencourt
64797e7910 fix example image 2023-04-20 08:06:14 -03:00