Commit Graph

815 Commits

Author SHA1 Message Date
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