mirror of
https://github.com/nostr-protocol/nips.git
synced 2024-11-14 15:59:07 -05:00
Add NIP number and update README
This commit is contained in:
parent
d546936073
commit
f72a2f69ed
|
@ -1,4 +1,4 @@
|
||||||
# NIP-XX
|
# NIP-100
|
||||||
|
|
||||||
## Peer-to-peer Order events
|
## 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
|
## 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
|
```json
|
||||||
[
|
|
||||||
"EVENT",
|
|
||||||
"RAND",
|
|
||||||
{
|
{
|
||||||
"id": "84fad0d29cb3529d789faeff2033e88fe157a48e071c6a5d1619928289420e31",
|
"id": "84fad0d29cb3529d789faeff2033e88fe157a48e071c6a5d1619928289420e31",
|
||||||
"pubkey": "dbe0b1be7aafd3cfba92d7463edbd4e33b2969f61bd554d37ac56f032e13355a",
|
"pubkey": "dbe0b1be7aafd3cfba92d7463edbd4e33b2969f61bd554d37ac56f032e13355a",
|
||||||
|
@ -49,7 +46,6 @@ Events are [Parameterized Replaceable Events](https://github.com/nostr-protocol/
|
||||||
"content": "",
|
"content": "",
|
||||||
"sig": "7e8fe1eb644f33ff51d8805c02a0e1a6d034e6234eac50ef7a7e0dac68a0414f7910366204fa8217086f90eddaa37ded71e61f736d1838e37c0b73f6a16c4af2"
|
"sig": "7e8fe1eb644f33ff51d8805c02a0e1a6d034e6234eac50ef7a7e0dac68a0414f7910366204fa8217086f90eddaa37ded71e61f736d1838e37c0b73f6a16c4af2"
|
||||||
}
|
}
|
||||||
]
|
|
||||||
```
|
```
|
||||||
|
|
||||||
## Tags
|
## Tags
|
||||||
|
@ -81,9 +77,10 @@ Currently implemented on the following platforms:
|
||||||
|
|
||||||
- [Mostro](https://github.com/MostroP2P/mostro)
|
- [Mostro](https://github.com/MostroP2P/mostro)
|
||||||
- [@lnp2pBot](https://github.com/lnp2pBot/bot)
|
- [@lnp2pBot](https://github.com/lnp2pBot/bot)
|
||||||
|
- [Robosats](https://github.com/RoboSats/robosats/pull/1362)
|
||||||
|
|
||||||
## References
|
## 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)
|
- [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)
|
- [n3xB](https://github.com/nobu-maeda/n3xb)
|
|
@ -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-96: HTTP File Storage Integration](96.md)
|
||||||
- [NIP-98: HTTP Auth](98.md)
|
- [NIP-98: HTTP Auth](98.md)
|
||||||
- [NIP-99: Classified Listings](99.md)
|
- [NIP-99: Classified Listings](99.md)
|
||||||
|
- [NIP-100: Peer-to-peer Order events](100.md)
|
||||||
|
|
||||||
## Event Kinds
|
## Event Kinds
|
||||||
| kind | description | NIP |
|
| 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) |
|
| `34236` | Short-form Portrait Video Event | [71](71.md) |
|
||||||
| `34237` | Video View Event | [71](71.md) |
|
| `34237` | Video View Event | [71](71.md) |
|
||||||
| `34550` | Community Definition | [72](72.md) |
|
| `34550` | Community Definition | [72](72.md) |
|
||||||
|
| `38383` | Peer-to-peer Order events | [100](100.md) |
|
||||||
| `39000-9` | Group metadata events | [29](29.md) |
|
| `39000-9` | Group metadata events | [29](29.md) |
|
||||||
|
|
||||||
[NUD: Custom Feeds]: https://wikifreedia.xyz/cip-01/97c70a44366a6535c1
|
[NUD: Custom Feeds]: https://wikifreedia.xyz/cip-01/97c70a44366a6535c1
|
||||||
|
|
Loading…
Reference in New Issue
Block a user