Commit Graph

814 Commits

Author SHA1 Message Date
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
frbittencourt
d212622ed1 fix format text in md 2023-04-20 08:06:14 -03:00
frbittencourt
8ea7c51f9b add hash tag 2023-04-20 08:06:14 -03:00
frbittencourt
0ef5486e56 add json schema 2023-04-20 08:06:14 -03:00
frbittencourt
342722963b fixed json schema 2023-04-20 08:06:14 -03:00
frbittencourt
a090de2b90 create draft NIP 94 and 95 2023-04-20 08:06:14 -03:00
Asai Toshiya
b315d1adb7
Update 08.md
Add link to NIP-27.
2023-04-19 22:32:08 +09:00
Martin Dutra
e1cda356a0 Update 21.md
Add link to NIP-19
2023-04-17 17:53:42 -03:00
Semisol
a8e083d6d8
NIP-09: Fix some things 2023-04-16 00:25:53 +03:00
Yasuhiro Matsumoto
97b58ccc36 fix typos 2023-04-14 10:59:07 -03:00
Luis Miguel
ebf94668db nip-15 typo + micro-fix
Fix for one typo and micro-improvement for a property description
2023-04-14 09:18:42 -03:00
codytseng
ab93992948 NIP-26 allow the delegator to delete the events published by the delegatee 2023-04-13 11:50:55 -03:00
Arc
bf0a0da6a4
NIP-15 Nostr marketplace (#330)
Co-authored-by: Andrew Camilleri <evilkukka@gmail.com>
Co-authored-by: Vlad Stan <stan.v.vlad@gmail.com>
2023-04-13 07:13:04 -03:00
codytseng
9ef39553e4 feat: support counting by filters 2023-04-12 23:18:22 +08:00
Yoji Shidara
4b44453626 Fix a typo; now types are EVENT, EOSE and NOTICE 2023-04-11 13:50:10 +09:00
Martin Dutra
9d1d701285 Add links to NIP-21 2023-04-11 00:16:12 -03:00
fiatjaf
01f90d105d
indicate optional kind TLV on nevent (@v0l). 2023-04-09 21:21:59 -03:00
fiatjaf
fb5b7c739f merge NIP-15 into NIP-01. 2023-04-09 08:50:24 -03:00
Mike Dilger
dee546ed9e Indicate that TLVs that are not recognized or supported should be ignored 2023-04-08 21:28:29 -03:00
Mike Dilger
c7711aa802 JSON quoting (and other fixes) 2023-04-08 09:10:24 -03:00
vivganes
3cec80d99e fix grammar and typos 2023-04-07 11:45:06 -03:00
Jonathan Staab
e219ec6470
Add NIP-45, which defines a COUNT verb 2023-04-05 18:41:14 -03:00
Seth For Privacy
59e5195784
Use account instead of address_index 2023-04-04 14:11:50 -04:00
Seth For Privacy
c6e14c8087
Add address_index for NIP-06 generation
I propose a change to NIP-06 that would allow the generation of infinite root keys by using the address_index field of the 5-level path used to derive Nostr keys under BIP32. 

The current 5-level path used for NIP-06 is "m/44'/1237'/0'/0/0", and only generates one private key. By changing it to "m/44'/1237'/0'/0/<address_index>", we can generate multiple keys from a single parent bitcoin seed.
2023-04-04 13:43:59 -04:00
Semisol
c232c9a46a
NIP-47: feedbacj 2023-04-03 22:18:11 +03:00
Pablo Fernandez
8b39976e78
Event-specific zap markers (#402) 2023-04-03 10:53:27 -03:00
Vlad Stan
d74ac8654e doc: add horse extension 2023-04-03 07:37:28 -03:00
Jonathan Staab
60412bf7a5 Re-write nip 57 to consolidate flow and clarify terminology 2023-03-30 13:43:34 -03:00
Semisol
961f28285a
NIP-47: Fix up some things 2023-03-30 01:23:04 +03:00
arthurfranca
800c0d0cd3 Drop event copy 2023-03-29 18:45:12 -03:00
Semisol
e2f088286f
NIP-47 Wallet Connect 2023-03-30 00:35:13 +03:00
arthurfranca
5b1640c648 Document Damus repost as Event Copy 2023-03-29 15:43:11 -03:00
arthurfranca
9a362c6df4 Add optional comment to content 2023-03-29 15:37:54 -03:00
arthurfranca
197b6ea206 Bring back NIP-18 2023-03-29 14:11:14 -03:00
arthurfranca
133faa0763 Fix typo in NIP-27 2023-03-26 15:44:12 -03:00
Leo Wandersleb
dced433f9c events cannot really be replaced
clarifying what it means to "replace an event"
2023-03-26 13:52:08 -03:00
Yoji Shidara
39e3c1b926 Fix a typo in link to NIP-33 2023-03-26 07:14:43 -03:00
fiatjaf
2fd581f692 adapt NIP-23 references to use NIP-27. 2023-03-25 22:17:48 -03:00
fiatjaf
9b575b1514 refactor NIP-27 for simplicity -- but also include very verbose considerations and an example. 2023-03-25 21:59:01 -03:00
fiatjaf_
7823488ad1
Merge pull request #381 from arthurfranca/mention-alternative 2023-03-25 21:05:24 -03:00
arthurfranca
45b1860b52 Mention other nostr identifiers 2023-03-23 19:37:10 -03:00
fiatjaf
23cec80e31
mention that the zap pubkey must be hex. 2023-03-23 17:12:29 -03:00
Bartholomew Joyce
56f84f79bd Added NIP-04 metadata leak warning 2023-03-23 15:40:41 -03:00
arthurfranca
2b926f54cd Improve the text 2023-03-23 10:11:18 -03:00
arthurfranca
9764a3b510 Replace discouraged with deprecated 2023-03-22 19:50:03 -03:00
arthurfranca
61a158caec Replace specific client url 2023-03-22 19:48:07 -03:00
arthurfranca
a32ec25ecb Make it clear why e tags are discouraged 2023-03-22 10:13:04 -03:00
arthurfranca
8b158e9227 Add alternative mention handling NIP 2023-03-21 15:24:05 -03:00
nostr-wine
2394e5cc63 Add cameri as author 2023-03-19 16:22:45 -03:00
nostr-wine
92a41a284a Add doc-hex as author 2023-03-19 16:22:45 -03:00
nostr-wine
f7b57e3735 Add proposed extensions to NIP-11
Take the proposed changes from https://github.com/nostr-protocol/nips/pull/163 and put them in NIP-11 under "Extra Fields"
2023-03-19 16:22:45 -03:00
Sepehr Safari
dbbf7902d9 remove tiny duplicate text
fixed "the the serialized event data" => "the serialized event data"
2023-03-16 20:54:00 -03:00
Semisol
b24eb78e04 Revert 'add NOTICE optional subscription_id'
Reverts 88009bea85
2023-03-16 17:21:57 -03:00
pablof7z
88009bea85 add NOTICE optional subscription_id 2023-03-16 13:46:08 -03:00
Marco Argentieri
4bb393735e Update 46.md 2023-03-15 19:40:40 -03:00
fiatjaf
e1004d3d4b
mention possibility of pubkey on nevent. 2023-03-15 08:06:33 -03:00
fcked
a886b43b48 NIP-04 follow up: use new import in code sample 2023-03-13 16:23:33 -03:00
fcked
b2c21ab10c NIP-04: fix bug in code sample
The code sample assumed that a `Uint8Array` was actually a hex string.
2023-03-13 13:22:28 -03:00
jiftechnify
8b70e83b37 NIP-51: remove self-referential link 2023-03-13 07:44:00 +03:00
Semisol
fffe868a40
NIP-39: minor readability changes
adds newlines in some places to make it more readable
2023-03-13 04:43:17 +03:00
fiatjaf
92d087bbc3
merge all nips 51* into nip 51. 2023-03-09 15:56:17 -03:00
monlovesmango
30daaedbdb
NIP-51 Lists (#183)
Co-authored-by: Semisol <45574030+Semisol@users.noreply.github.com>
Co-authored-by: Ricardo Arturo Cabral Mejía <me@ricardocabral.io>
Co-authored-by: fiatjaf_ <fiatjaf@gmail.com>
2023-03-09 14:16:57 -03:00
Jeff Thibault
a4ed968903 Update 04.md 2023-03-09 14:12:16 -03:00
lapulpeta
f938923258 Fixed example with multiple values 2023-03-09 12:51:41 -03:00
pseudozach
354c93aea3
NIP-39 external identities in metadata
Co-authored-by: Semisol <hi@semisol.dev>
Co-authored-by: Leo Wandersleb <leo@leowandersleb.de>
2023-03-09 15:53:32 +03:00
cj-ibex
2c05551351 make explicit that root event tag is compulsory 2023-03-08 07:31:32 -03:00
fiatjaf
a8fab58526
add security warning on nip-04. 2023-03-07 07:31:21 -03:00
fiatjaf
6eb1838921
remove reserved range from NIP-28. 2023-03-07 07:28:53 -03:00
fiatjaf
b99723efcc
add flamingo extension. 2023-03-07 07:26:41 -03:00
rain8128
c233b3ffd0 Update 02.md 2023-03-06 16:37:42 -03:00
shafemtol
b8e657bb37 NIP-08: Specify nonmatch behavior 2023-03-05 22:26:09 -03:00
ennmichael
d97928bd90 avoid using substr in NIP-04 example 2023-03-05 22:09:59 -03:00
Josua Schmid
c74f11b7a9 Update NIP-01 to clarify pubkey reference
We mean to reference any public key. "the key" was a bit unspecific.
2023-03-03 18:59:37 -03:00
ennmichael
ab6308c29a NIP-20: fix a typo 2023-03-02 21:36:15 -03:00
fiatjaf
c4949ea707 NIP-78: app-specific data. 2023-03-01 10:03:25 -03:00
Marco Argentieri
d70959aee6
Amend nip46 describe and delegate methods (#304) 2023-02-27 14:22:46 -03:00
Mike O'Bank
5a80a906d4 Improve <subscription_id> specification
- "random" is not an accurate description
- I've noticed long (sha256 hashes in hex) being rejected by some relays. So there seems a need to specify a max length.
- "non empty", cause an empty string could be interpreted as `null` 

To be decided:
- Max length number
- Are `subscription_id`s case sensitive?
- Will `subscription_id`s be white space trimmed?
2023-02-25 15:55:28 -03:00
Callum Macdonald
ab1f26a3fd Add browsers to the extension list 2023-02-25 15:54:52 -03:00
fiatjaf
379252f992 explicitly prohibit markdown on kind:1. 2023-02-25 13:54:27 -03:00
barkyq
127d5518bf
relay hint language update (#291) 2023-02-23 16:20:10 -03:00
Ricardo Arturo Cabral Mejía
405cf480e9
docs: add nip-58 badge event and profile badges (#229) 2023-02-22 22:11:55 -03:00
Brandon Lucas
2a4c44035e Fix minor typo
Fix spelling of `coordinates` in Note
2023-02-22 21:49:29 -03:00
Alejandro Gomez
050317409d NIP-57: add optional a tag for tipping nip-33 coordinates 2023-02-22 12:42:01 -03:00
Marco Argentieri
b1a5ad355a
NIP-46: Nostr Connect 🔌 connect your Nostr app with remote signing devices (#153) 2023-02-20 16:26:13 -03:00
Mike Dilger
524caa3856 More explicit explanation of the meaning of read and write relays 2023-02-19 17:56:30 -03:00
Semisol
6849f3bdf4 NIP-57: Add amount tag to zap request 2023-02-16 12:25:47 -03:00
SondreB
2a2c665e27 Update the key examples with a key pair 2023-02-14 19:44:11 -03:00
Adam B
23b863ad65 Minor change to make delegation token/string naming consistent 2023-02-14 14:33:50 -03:00
fiatjaf
b4493aa56a rename coordinates: nitem->naddr, "i"->"a" 2023-02-13 08:47:23 -03:00
fiatjaf
a85067ec68
Merge branch 'master' into longform 2023-02-13 08:42:47 -03:00
William Casarin
17ffd3ee4e
NIP-57: Lightning Zaps (#224) 2023-02-13 08:36:04 -03:00
Jeff Thibault
ffe6a49557 NIP-04: clarify how shared secret is computed 2023-02-10 10:34:45 -03:00
Matthew Lorentz
9d0b59d381 Revert "Merge pull request #227 from erikwestra/nip-05-security-proposal"
This reverts commit 6d55463c89, and d87763781d reversing
changes made to a1a090160b.
2023-02-09 16:59:50 -05:00
fiatjaf
d87763781d
clarify and change account account_uris to account_paths. 2023-02-09 17:13:35 -03:00
mplorentz
6d55463c89
Merge pull request #227 from erikwestra/nip-05-security-proposal
Nip 05 security proposal
2023-02-09 14:43:06 -05:00
fiatjaf
e91f8f2221
fix title->content typo. 2023-02-09 06:59:52 -03:00
Jimmy Song
a9dd1ce771 Added clarification for signature to be in hex 2023-02-08 16:39:31 -03:00
fiatjaf
3f39a241b1
Revert "[NIP-26] Fix for multiple kinds in delegation conditions (#208)"
This reverts commit 6a11f4d4cd.
2023-02-08 08:36:07 -03:00
William Casarin
f9e38ed00f
NIP-56: Reporting (#205)
Co-authored-by: Semisol <45574030+Semisol@users.noreply.github.com>
Co-authored-by: Leo Wandersleb <leo@leowandersleb.de>
2023-02-07 18:15:38 -03:00
fiatjaf
87525b0d20
Merge pull request #218 from mikedilger/nip65 2023-02-07 06:00:30 -03:00
Erik Westra
2f72defd59
Merge branch 'nostr-protocol:master' into nip-05-security-proposal 2023-02-07 13:08:58 +13:00