Create 121.md

For use with a nostr mesh network https://github.com/lnbits/nostrmesh/tree/main, but prob useful elsewhere
This commit is contained in:
Arc 2023-06-09 12:28:11 +01:00 committed by GitHub
parent 75c05b547c
commit b7535ed096
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

19
121.md Normal file
View File

@ -0,0 +1,19 @@
NIP-121
======
Unicast event `"tags": "r"`
-------------------------------
`draft` `mandatory` `author:benarc`
`route` list of relays as a new tag `"r"`, to help create a unicast route for an events.
```json
{
"tags": [
["r", "<csv of relay IDs>"]
]
}
```
A client receives an event with tag `"r"`, if the client received the event from a relay in the list and it has a connection with the next relay in the list, the client will pass the event to that relay.