Commit Graph

269 Commits

Author SHA1 Message Date
92fbc49274
Add NIP-19 and 40 to README 2022-12-17 19:16:13 +03:00
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
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
bbc931d02d
refine NIP rules. 2022-11-29 11:41:46 -03:00
monlovesmango
0dcf11df80
add nip-26 to readme 2022-11-28 14:31:50 -06:00
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
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
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
6ba2fc3338 Update README.md 2022-10-26 09:54:23 -07:00
DZ
3c0c3ca0f3 Update README.md
add message-type tables
2022-10-26 09:54:23 -07:00
DZ
6d86133118 Update 01.md
fix indentation
2022-10-26 09:54:23 -07:00
Ricardo Arturo Cabral Mejía
147cd0a2ea
Merge pull request #53 from Semisol/patch-1
nip16: small fix
2022-10-17 14:24:06 -04: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