Commit Graph

814 Commits

Author SHA1 Message Date
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
fiatjaf
e939751f04
Update 23.md
Co-authored-by: mplorentz <mplorentz@users.noreply.github.com>
2023-02-06 15:10:50 -03:00
fiatjaf
694f2f056e
Update 23.md
Co-authored-by: mplorentz <mplorentz@users.noreply.github.com>
2023-02-06 15:09:32 -03:00
kdmukai
6a11f4d4cd
[NIP-26] Fix for multiple kinds in delegation conditions (#208) 2023-02-06 12:21:58 -03:00
fiatjaf
5a5ef4a82d
encode kind into nitem 2023-02-06 08:11:11 -03:00
fiatjaf
ea48646a0f
get rid of YAML frontmatter. 2023-02-05 21:18:38 -03:00
fiatjaf
16b50a481f
rename nref to nitem and use the i tag. 2023-02-05 20:23:59 -03:00
Erik Westra
cf053d2a41
Suggested additions to NIP-05 to enhance security
Proposing a couple of changes to the NIP-05 protocol to reduce the chance of fraudulent use of "verified" public keys.  At present, I could create an account on a well-known verifying server under a random name, and then send DMs pretending to be someone else, and there's no easy way for users to tell who the verifying account actually belongs to.

As well as displaying the name of the account on the verifying server, this PR suggests an enhancement to the JSON data being returned so that clients can redirect the user to the user's profile page on the server.  This will make it much easier for users to check that someone who claims to have verified their Nostr account is who they claim to be.
2023-02-06 10:11:26 +13:00
Mike Dilger
870f96b988 spelling and wording 2023-02-05 03:56:07 +13:00
Mike Dilger
2513825523 Rename, recognize read relays 2023-02-05 03:50:26 +13:00
fiatjaf
0acfd0e84b
declare nref on NIP-33. remove need for NIP-01 bridge event. 2023-02-04 07:16:16 -03:00
fiatjaf
7c444e3474
NIP-23: long-form content. 2023-02-03 17:31:56 -03:00
Jeff Jing
025beb332c fix: typo 2023-02-03 10:40:57 -03:00
Mike Dilger
69438fc344 NIP-65 Feed Advertisements 2023-02-03 18:52:56 +13:00
Ben Hayward
38074f6643
NIP-26: Advice on using after operators in conditions query string (#199)
Co-authored-by: Ben Hayward <ben@minds.com>
2023-02-01 09:05:25 -03:00
Luiz Picanço
57d758b07f Fix NIP-50 typo 2023-02-01 07:06:25 -03:00
Zack Wynne
3b1cd96798 NIP-26: fixing typo in conditions query string section 2023-01-27 15:58:44 -03:00
Semisol
524ff9b805
Bech32 encoded relay entities (#196) 2023-01-27 14:49:43 -03:00
Artur Brugeman
f89187a258 Change name to 'search capability' 2023-01-27 12:30:16 -03:00
Artur Brugeman
6708a73bbc Rewrite, keywords renamed to search 2023-01-27 12:30:16 -03:00
Zack Wynne
95fa5a4a5f
NIP-26: adding section documenting valid fields and operators for conditions string (#194) 2023-01-27 08:11:27 -03:00
fiatjaf
744bc8ceab
Merge pull request #175 from brugeman/master 2023-01-27 07:45:05 -03:00
Artur Brugeman
f6cf3b6c3c
Fix: change lud18 to lud16 2023-01-26 15:14:44 +03:00
Ben Franks
8362ff8f79 Update NIP-01 to clarify since and until filters
The since and until filters does not clarify integer format and some relays fail to recognize filters with a float based timestamp.
2023-01-25 14:21:52 -03:00
fiatjaf
45649d7b4d add NIP-21, nostr: url scheme. 2023-01-25 13:08:20 -03:00
Artur Brugeman
d534df39c0
Add hint about client-side filtering 2023-01-25 14:46:28 +03:00
Semisol
d179cd9758 NIP-33: d tag requirements 2023-01-24 15:54:57 -03:00
Semisol
54b6c0090d NIP-33: Add example for more than one value 2023-01-24 15:54:57 -03:00
Artur Brugeman
a5a4f312cc
Add mention of supported_nips by mikedilger 2023-01-24 09:03:59 +03:00
thesimplekid
b58efb08a0
NIP-28 Add missing comma's in tags 2023-01-22 09:51:36 -05:00
fiatjaf
69685588f0
specify lowercase on nip01 event hex fields. 2023-01-21 07:36:44 -03:00
Mike Dilger
8b18e7818e Several NIP examples (3, 11) weren't quoting the field keys (JSON keys must be quoted) 2023-01-18 09:42:32 -03:00
Artur Brugeman
086d224e1d
NIP-50: Keywords Filter 2023-01-17 18:49:10 +03:00
fiatjaf
7349643069
remove NIP-18, it is not really a standard.
closes https://github.com/nostr-protocol/nips/issues/173
2023-01-16 15:58:53 -03:00
fiatjaf
be0a426745
Merge pull request #141 from nostr-protocol/auth 2023-01-16 08:28:02 -03:00
fiatjaf
e5ae318984
add nos2x-fox to NIP-07 implementations. 2023-01-15 20:05:52 -03:00
Vasilios Daskalopoulos
7d79205537 fix erroneous reference to pubkey 2023-01-15 17:53:34 -03:00
Vasilios Daskalopoulos
132100fd16 fix minor typo 2023-01-15 17:53:34 -03:00
fiatjaf
230f63dd5f
nip-07 extensions to also add .id and .pubkey when signing. 2023-01-15 15:37:42 -03:00
monlovesmango
f0842438c1 clarify top level reply behavior 2023-01-15 09:18:15 -03:00
monlovesmango
6f5f9856b9 define 'mention' tag 2023-01-15 09:18:15 -03:00
monlovesmango
5355edb9cb add 'mention' marker
I think that adding a mention marker would eliminate ambiguity for clients supporting both the deprecated and preferred conventions. I also think that this would allow for extensibility in adding new types of event mentions (for example if we want to add context for a note).
2023-01-15 09:18:15 -03:00
benthecarman
0019a206a3 NIP25: allow for emojis to be considered dislikes 2023-01-11 17:47:26 -03:00
Leo Wandersleb
6074116053
Update 42.md
Co-authored-by: Ricardo Arturo Cabral Mejía <me@ricardocabral.io>
2023-01-11 00:05:15 -03:00
kdmukai
e55c86d207
NIP-26: Change example condition to expire at a future date (#157)
also Regenerate example PKs and improve organization/presentation.
2023-01-07 20:12:48 -03:00
fiatjaf
6a70967f0e
add challenge from relay. 2023-01-07 19:53:42 -03:00
Jeff Thibault
741ac01b97 NIP-22: use nip-20; minor updates 2023-01-07 17:53:24 -03:00
VictorieeMan
1c728516df
NIP-05: Fixed some typos
line 9: Added a hyphen
line 53: Fixed the typo by a context appropriate reformulation.
line 67: Removed an "are"
line 79: Added a comma

Great project, looking forward to more nostr :)
2023-01-07 11:11:19 +01:00
Luke Childs
01a3090c6a NIP05 Improve CORS header check command 2023-01-06 12:18:20 -03:00
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