Add NIP number and update README

This commit is contained in:
Francisco Calderón 2024-11-04 11:27:17 -03:00
parent d546936073
commit f72a2f69ed
No known key found for this signature in database
GPG Key ID: 3852B843679AD6F0
2 changed files with 36 additions and 37 deletions

View File

@ -1,4 +1,4 @@
# NIP-XX
# NIP-100
## Peer-to-peer Order events
@ -12,12 +12,9 @@ This NIP defines a simple standard for peer-to-peer order events, which enables
## The event
Events are [Parameterized Replaceable Events](https://github.com/nostr-protocol/nips/blob/master/01.md#kinds) and use `38383` as event kind, a p2p event look like this:
Events are [addressable events](https://github.com/nostr-protocol/nips/blob/master/01.md#kinds) and use `38383` as event kind, a p2p event look like this:
```json
[
"EVENT",
"RAND",
{
"id": "84fad0d29cb3529d789faeff2033e88fe157a48e071c6a5d1619928289420e31",
"pubkey": "dbe0b1be7aafd3cfba92d7463edbd4e33b2969f61bd554d37ac56f032e13355a",
@ -49,7 +46,6 @@ Events are [Parameterized Replaceable Events](https://github.com/nostr-protocol/
"content": "",
"sig": "7e8fe1eb644f33ff51d8805c02a0e1a6d034e6234eac50ef7a7e0dac68a0414f7910366204fa8217086f90eddaa37ded71e61f736d1838e37c0b73f6a16c4af2"
}
]
```
## Tags
@ -81,9 +77,10 @@ Currently implemented on the following platforms:
- [Mostro](https://github.com/MostroP2P/mostro)
- [@lnp2pBot](https://github.com/lnp2pBot/bot)
- [Robosats](https://github.com/RoboSats/robosats/pull/1362)
## References
- [Mostro messages specification](https://mostro.network/messages/)
- [Mostro protocol specification](https://mostro.network/protocol/)
- [Messages specification for peer 2 peer NIP proposal](https://github.com/nostr-protocol/nips/blob/8250274a22f4882f621510df0054fd6167c10c9e/31001.md)
- [n3xB](https://github.com/nobu-maeda/n3xb)

View File

@ -86,6 +86,7 @@ They exist to document what may be implemented by [Nostr](https://github.com/nos
- [NIP-96: HTTP File Storage Integration](96.md)
- [NIP-98: HTTP Auth](98.md)
- [NIP-99: Classified Listings](99.md)
- [NIP-100: Peer-to-peer Order events](100.md)
## Event Kinds
| kind | description | NIP |
@ -193,6 +194,7 @@ They exist to document what may be implemented by [Nostr](https://github.com/nos
| `34236` | Short-form Portrait Video Event | [71](71.md) |
| `34237` | Video View Event | [71](71.md) |
| `34550` | Community Definition | [72](72.md) |
| `38383` | Peer-to-peer Order events | [100](100.md) |
| `39000-9` | Group metadata events | [29](29.md) |
[NUD: Custom Feeds]: https://wikifreedia.xyz/cip-01/97c70a44366a6535c1