fiatjaf
8c3c421715
merge NIP-35 into NIP-05.
2023-01-04 10:34:24 -03:00
fiatjaf
4472f9bbd9
add NIP-33 to README.
2023-01-04 10:26:08 -03:00
fiatjaf
50faceef09
clarify created_at
and auth session duration.
2023-01-04 10:24:37 -03:00
Semisol
018c45966e
Add NIP-33 Parameterized replaceable events ( #54 )
...
Co-authored-by: Semisol <45574030+Semisol@users.noreply.github.com>
Co-authored-by: Ricardo Arturo Cabral Mejía <me@ricardocabral.io>
2023-01-04 10:20:27 -03:00
fiatjaf
4a5202646a
use "OK" message.
2023-01-02 17:26:41 -03:00
fiatjaf
c80be21cd4
drastically simplify @semisol's auth NIP.
2023-01-02 16:56:44 -03:00
Semisol
b9467cb428
nip41: allow for delegated events
2023-01-02 16:53:10 -03:00
Semisol
df28376064
nip41: fix outdated kind
2023-01-02 16:53:10 -03:00
Semisol
a04da3f176
nip-41: fix kind mismatch on example event
2023-01-02 16:53:10 -03:00
Semisol
82aafbef39
add nip-41: authentication
2023-01-02 16:53:10 -03:00
fiatjaf
39aec23a1d
NIP18: Reposts ( #140 )
...
Co-authored-by: Leo Wandersleb <leo@leowandersleb.de>
2023-01-02 16:15:42 -03:00
@RandyMcMillan
da7899cebe
25.md:15: interepreted ==> interpreted
2023-01-01 08:48:29 -03:00
Blake Jakopovic
329cd8d8a1
Update 19.md
...
Fixed typo
2022-12-30 09:05:15 -03:00
fiatjaf
0ca9be8224
clarify nip19 purpose.
2022-12-29 21:02:32 -03:00
Lyle Pratt
a37a27afb9
Make it clear that NIP-05 Keys should be in Hex
...
There has been some confusion about whether npub keys are supported by this spec. According to @fiatjaf only Hex keys are supported. https://twitter.com/fiatjaf/status/1608606752987316224?s=20&t=6fJLD3077byuoTm96kva1g
2022-12-29 20:52:54 -03:00
majestrate
d41834fa51
update NIP-05 addressing reflectivity. ( #128 )
2022-12-29 11:01:35 -03:00
ok300
570bc59e7d
Update e-tag type for direct reply
2022-12-29 11:00:55 -03:00
ok300
c5d2135158
Clarify marked e-tags for direct replies
2022-12-29 11:00:55 -03:00
fiatjaf
997254ad7a
clarify that nip-05 identifiers should not be treated as primary keys.
2022-12-29 10:54:37 -03:00
fiatjaf
81a87f7bf2
add examples for nip19.
2022-12-27 07:55:20 -03:00
sgmoore
cee42f806e
Minor grammar fixes
...
Minor grammar fix at line 13, 83, 85. and 111.
2022-12-26 17:19:38 -03:00
Mike Dilger
0091582eb2
Note about serving from a dynamic webserver
2022-12-27 04:09:03 +13:00
Mike Dilger
544ec6dcc8
remove invalid trailing comma in JSON
2022-12-27 04:05:54 +13:00
Hampus Sjöberg
e79c84aecc
LUD-01: fix typo for the desc of event kind 2
2022-12-24 20:38:34 -03:00
fiatjaf
745297e8c4
add blockcore to nip-07 and mark extra methods as optional.
2022-12-18 06:35:30 -03:00
alex
c840d75ce0
nip-07: add the missing functions
...
as per conversation in t.me/nostr_protcol
getRelays, nip04.encrypt and nip04.decrypt - these are already implemented
by nos2x and getalby.
2022-12-18 06:29:29 -03:00
sgmoore
da6a7d0ee3
Minor grammar fixes
...
Minor grammar fix at lines 22 and 93.
2022-12-17 22:34:29 -03:00
sgmoore
4f67f5c999
Minor grammar and spelling fixes
...
Minor grammar fix at line 48. Minor spelling fix at line 56.
2022-12-17 22:31:19 -03:00
sgmoore
8918dc06ee
Minor grammar fixes
...
Minor grammar fixes at lines 9 and 93.
2022-12-17 22:28:49 -03:00
fiatjaf
9e13889dee
add NIP-19: bech32-encoding of stuff. ( #57 )
...
* add NIP-19: bech32-encoding of stuff.
* add note prefix for kind-01 notes.
* specify endianness.
* 1 byte for T and L.
* incorporate suggestions after feedback and discussions.
* fix typos.
2022-12-16 11:56:12 -03:00
Drewry Pope
0c7b732867
Improve Case Consistency
2022-12-16 11:50:59 -03:00
Leo Wandersleb
ba75c1b98b
Merge pull request #87 from 0xtlt/master
2022-12-16 11:09:26 -03:00
Thomas
04a84aa545
Update 40.md
...
Co-authored-by: Leo Wandersleb <leo@leowandersleb.de>
2022-12-16 12:03:07 +01:00
Thomas
7ad1812b46
Update 40.md
2022-12-15 20:00:22 +01:00
Thomas
2561c2d1e6
Update 40.md
2022-12-15 19:59:17 +01:00
Thomas
0d93f3033e
Update 40.md
...
Co-authored-by: Semisol <45574030+Semisol@users.noreply.github.com>
2022-12-15 19:58:40 +01:00
Jon Staab
5ef3b9c998
Remove username pattern requirements
...
Most implementation ignore this line. Enforcing that usernames not include spaces, special chracters, unicode, emojis, etc has no benefit and is unnecessarily user hostile.
2022-12-15 14:00:09 -03:00
Thomas
8d3f5c6e79
Update 40.md
2022-12-14 23:52:12 +01:00
Thomas
b859ae589b
Update 40.md
2022-12-14 09:18:52 +01:00
Thomas
26e518da67
Update 40.md
2022-12-14 09:15:44 +01:00
Thomas
e9553eef4d
Update 40.md
...
Co-authored-by: ok300 <106775972+ok300@users.noreply.github.com>
2022-12-14 09:12:44 +01:00
Thomas
7aad54ae7a
Update 40.md
...
Co-authored-by: ok300 <106775972+ok300@users.noreply.github.com>
2022-12-14 09:12:15 +01:00
Thomas
07f13674f1
Update 40.md
...
Co-authored-by: ok300 <106775972+ok300@users.noreply.github.com>
2022-12-14 09:11:49 +01:00
Thomas
512aba18db
Update 40.md
...
Co-authored-by: Ricardo Arturo Cabral Mejía <me@ricardocabral.io>
2022-12-12 08:55:57 +01:00
Mike Dilger
2fa78a8097
Note on nip-22 about moving old posts to a new relay
2022-12-10 21:38:19 -03:00
Thomas
3cfe0ef8ac
Update 40.md
2022-12-10 23:51:04 +01:00
Thomas
a8caa03373
📝 Updated NIP
2022-12-10 23:49:59 +01:00
Jonathan Staab
67c021ae97
Clarify use of kind 1 and kind 1000-10000
2022-12-08 14:33:43 -03:00
Thomas
2cb5ddd910
[timestamp] Add UNIX timestamp in seconds
...
Co-authored-by: Leo Wandersleb <leo@leowandersleb.de>
2022-12-07 08:53:52 +01:00
Thomas
1bbae4d66b
Update 40.md
2022-12-04 16:16:00 +01:00
Thomas
91bb09d1d3
Create 40.md
2022-12-04 16:14:31 +01:00
fiatjaf
5d292e0cbe
nip-01: improve connection/subscriptions recommendation and remove the ill-advised 3 subscriptions limit.
2022-12-02 19:54:00 -03:00
Fernando López Guevara
27c6652e0e
NIP-36 - sensitive content / content-warning ( #82 )
2022-12-01 20:41:15 -03:00
fiatjaf
9302c35573
add alby to NIP-07.
2022-11-27 12:03:46 -03:00
Jon Staab
cf5eaf6360
Amend NIP 11 to require CORS support
2022-11-25 13:03:03 -03:00
fiatjaf
743e43a8d4
finalize some NIPs we will not going to change anymore.
2022-11-22 14:52:34 -03:00
Michael Dilger
631e9760bf
NIP-35 User Discovery ( #73 )
...
* Draft NIP for user discovery
* Renumber to NIP-35
* spelling fix
* Add to README
* fix quote
* and colon
2022-11-19 11:28:47 -08:00
Mike Dilger
c274c65856
Reword NIP-01 to clarify no line breaks. Existing language of "indentation" implies line breaks.
2022-11-15 17:36:13 -03:00
khimaros
a0852a7cbe
stronger wording for relay deletion behavior
...
- change "MAY" to "SHOULD" for removing referenced events
- suggest indefinite retention for deletion events on relays
- include recommendation for clients to rebroadcast deletion events to relays
2022-11-14 14:52:29 -03:00
fiatjaf
30f1e64e01
Merge pull request #62 from jb55/command-results
2022-11-11 11:00:40 -03:00
alex
f09362695d
nip16: clarify about the signers of replaceable events
...
A newer replaceable event must be signed by the same key.
2022-11-11 07:56:24 -03:00
William Casarin
c510e646d0
NIP-20: server errors happen!
2022-11-10 13:14:23 -08:00
William Casarin
ff26b959f8
NIP-20: More clarity around malformed vs invalid events
2022-11-10 12:55:44 -08:00
William Casarin
7569773ad6
NIP-20: add a note about client handling
2022-11-10 12:20:32 -08:00
William Casarin
e7f74d21c4
NIP-20: pow suggestion
2022-11-10 12:02:14 -08:00
William Casarin
a0b0a021a8
NIP-20: add "invalid" message suggestion
2022-11-10 11:57:52 -08:00
William Casarin
15514283f3
NIP-20: Command Results
...
When submitting events to relays, clients currently have no way to know
if an event was successfully committed to the database. This NIP
introduces the concept of command results which are like NOTICE's except
provide more information about if an event was accepted or rejected.
2022-11-10 10:29:11 -08:00
Blake Jakopovic
27683d3441
Update 10.md
...
Fixed typo
2022-11-08 16:45:40 -03:00
w3irdrobot
79bb56c2f4
Fix regex for SetMetadata in NIP1
...
It appears the regex given in NIP1 for setting the username in the setmetadata event was slightly off. I think the fix here is what was intended. Though I think what was meant here was pretty obvious, to make it easier on future developers, I updated the regex to something that should work with just copying and pasting.
2022-11-04 16:33:57 -03:00
William Casarin
b8b5e3aa40
nip25: fix code example
...
content should not be blank
2022-10-30 08:34:14 -07:00
DZ
6d86133118
Update 01.md
...
fix indentation
2022-10-26 09:54:23 -07:00
Semisol
497d5d9ddf
nip16: small fix
2022-10-16 20:24:21 +03:00
DZ
c8a95a0968
Update 01.md
...
fix typo
2022-10-07 17:17:34 -03:00
fiatjaf
b62aa418de
Merge pull request #28 from Minds/minds-nip-26
2022-09-23 13:43:01 -03:00
Christopher David
3423a6dfbc
NIP-28: Public Chat ( #38 )
2022-09-10 14:28:08 -03:00
Leo Wandersleb
3e0e6ca2d6
separate array elements with ,
2022-09-02 18:47:42 -03:00
Mark Harding
78522b50a1
Changes based on feedback
2022-08-24 13:24:50 +01:00
William Casarin
7af2540c6e
reactions: we should be able to react to any note
...
Signed-off-by: William Casarin <jb55@jb55.com>
2022-08-19 15:50:39 -07:00
Ricardo Arturo Cabral Mejía
533d316170
Remove NIP-27
2022-08-16 22:59:02 -04:00
Ricardo Arturo Cabral Mejía
ef059e0fde
NIP-27 Multicasting
2022-08-16 22:57:22 -04:00
Jeff Thibault
903cc0992e
add Giszmo, add comment in code example
2022-08-14 11:26:39 -04:00
Leo Wandersleb
68300c5990
reword nip22, mention replaceable events
2022-08-13 21:50:38 -04:00
Jeff Thibault
6ee98c1bfb
spelling nit
2022-08-13 14:08:14 -04:00
Jeff Thibault
ef0f8a1186
rename and rewrite to be more generic
2022-08-13 13:52:14 -04:00
Jeff Thibault
a902083bac
Merge branch 'nostr-protocol:master' into nip22-unacceptable-event-time
2022-08-13 10:03:37 -04:00
Mark Harding
e13f6d39b9
First draft of Delegated Event Signing
2022-08-04 09:33:38 +01:00
William Casarin
6903ff5b2c
nip25: make generic like an explicit +
...
Signed-off-by: William Casarin <jb55@jb55.com>
2022-07-31 12:44:40 -07:00
William Casarin
89bb08ba86
nip25: include dislikes/downvotes
...
Signed-off-by: William Casarin <jb55@jb55.com>
2022-07-30 10:09:33 -07:00
William Casarin
dcbd504639
NIP-25: Reactions
...
Signed-off-by: William Casarin <jb55@jb55.com>
2022-07-30 09:50:26 -07:00
Semisol
1b94488742
nip16: small fix
2022-07-26 04:33:33 +03:00
Jeff Thibault
d1b6bdb18e
add relay logic
2022-07-22 12:53:54 -04:00
Jeff Thibault
8bef0e9d79
add that events from future are unacceptable
2022-07-22 12:45:14 -04:00
Jeff Thibault
f51ce9dc0e
add nip22: unacceptable event created_at field
2022-07-22 11:50:07 -04:00
fiatjaf
3771186c03
change NIP-12 so only single-letter tags are indexed.
2022-07-10 15:33:07 -03:00
emeceve
5980907797
Fix some typos and adds json type to code blocks
2022-06-21 08:07:05 -03:00
fiatjaf
4d19ef128e
update nip-02 to disallow null
, only allow strings in tags.
...
fixes https://github.com/nostr-protocol/nips/pull/15
fixes https://github.com/fiatjaf/nostr-army-knife/issues/2
fixes https://github.com/fiatjaf/relayer/issues/3
2022-06-09 15:40:13 -03:00
Robert C. Martin
f367d820d4
update to nip01 to specify syntax for usernames.
2022-06-05 23:02:59 -03:00
fiatjaf
7536d44e9f
Merge pull request #11 from Semisol/nip16
...
NIP16: Event Treatment
2022-05-29 10:55:31 -03:00
Semisol
501fd5ce22
nip16: kind ranges instead of tags
2022-05-27 19:56:31 +03:00
Semisol
12f6e9ee62
nip15: clarify
2022-05-27 19:43:15 +03:00
Semisol
f49f26fbe2
nip15: EOSE message will be sent always
2022-05-27 17:55:01 +03:00
Semisol
1a1e3e74ec
nip16: add newlines
2022-05-26 21:23:05 +03:00
Semisol
62fde6c098
nip16: create draft
2022-05-26 21:17:27 +03:00
Semisol
3374869b3f
nip15: fix draft artifact
2022-05-26 20:26:34 +03:00
Semisol
a787093c52
nip15: create draft
2022-05-26 20:21:23 +03:00
William Casarin
c3d3a70688
nip10: fix small rendering bug on github
...
Signed-off-by: William Casarin <jb55@jb55.com>
2022-05-26 09:35:53 -07:00
Robert C. Martin
387ce5dbd5
Nip 10 updated with tag markers
2022-05-24 18:07:09 -05:00
Robert C. Martin
ebacbccda8
Nip-14 for subject tag
2022-05-24 07:33:11 -05:00
fiatjaf
a4aea5337f
sneak filter.limit in nip-01.
2022-05-08 21:34:27 -03:00
David A. Harding
57b86d2482
NIP05: warn about CORS policies that may inhibit JS apps
...
JS Nostr apps such as Branle may not be able to load `nostr.json` files due to CORS policies. Update NIP05 to warn about this and provide hints for troubleshooting and fixing the issue.
2022-05-07 17:18:23 -03:00
William Casarin
d7a4aad4a0
Proof of Work
...
Thanks-to: Cameri and scsibug for the initial idea of using the id for PoW
Thanks-to: David A. Harding for the difficulty commitment idea
Signed-off-by: William Casarin <jb55@jb55.com>
2022-05-06 22:04:57 -03:00
fiatjaf
37eb53e3d9
publish NIP-07: window.nostr.
2022-05-06 20:54:45 -03:00
Robert C. Martin
b66b82e66c
change ~mandatory~ to optional, add NIP-10 to README
2022-05-05 11:06:03 -05:00
Robert C. Martin
bd4a81a604
rename NIP-13 to NIP-10
2022-05-04 15:14:49 -05:00
Robert C. Martin
96e4e7eb5c
NIP-13 Conventions for e and p tags in text events
2022-05-04 15:05:45 -05:00
fiatjaf
f25c7e672c
migrate nips from main nostr repo.
2022-05-01 07:48:57 -03:00